network

package
v0.0.0-...-b3f0fa4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Copyright 2018 Oracle and/or its affiliates. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2018 Oracle and/or its affiliates. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2018 Oracle and/or its affiliates. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const (
	CloudDomain = "network"
)

Variables

This section is empty.

Functions

func CreateOrUpdateInternetGateway

func CreateOrUpdateInternetGateway(c clientset.Interface, network *cloudv1alpha1.Network, controllerRef *metav1.OwnerReference) (*v1alpha1.InternetGateway, bool, error)

CreateOrUpdateInternetGateway reconciles the internet gateway resource

func CreateOrUpdateRouteTable

func CreateOrUpdateRouteTable(c clientset.Interface, network *cloudv1alpha1.Network, controllerRef *metav1.OwnerReference) (*v1alpha1.RouteTable, bool, error)

CreateOrUpdateRouteTable reconciles the route table resource

func CreateOrUpdateVcn

func CreateOrUpdateVcn(c clientset.Interface, network *cloudv1alpha1.Network, controllerRef *metav1.OwnerReference) (*v1alpha1.Vcn, bool, error)

CreateOrUpdateVcn reconciles the virtual network resource

func DeleteInternetGateway

func DeleteInternetGateway(c clientset.Interface, network *cloudv1alpha1.Network) (*v1alpha1.InternetGateway, error)

DeleteInternetGateway deletes the internet gateway resource

func DeleteRouteTable

func DeleteRouteTable(c clientset.Interface, network *cloudv1alpha1.Network) (*v1alpha1.RouteTable, error)

DeleteRouteTable deletes the route table resource

func DeleteVcn

func DeleteVcn(c clientset.Interface, network *cloudv1alpha1.Network) (*v1alpha1.Vcn, error)

DeleteVcn deletes the virtual network resource

func NewNetworkAdapter

func NewNetworkAdapter(clientSet versioned.Interface, kubeclient kubernetes.Interface) cloudcommon.CloudTypeAdapter

Types

type NetworkAdapter

type NetworkAdapter struct {
	// contains filtered or unexported fields
}

func (*NetworkAdapter) CallbackForResource

func (*NetworkAdapter) Delete

func (a *NetworkAdapter) Delete(obj runtime.Object) (runtime.Object, error)

func (*NetworkAdapter) Equivalent

func (a *NetworkAdapter) Equivalent(obj1, obj2 runtime.Object) bool

func (*NetworkAdapter) GroupVersionWithResource

func (a *NetworkAdapter) GroupVersionWithResource() schema.GroupVersionResource

func (*NetworkAdapter) Kind

func (a *NetworkAdapter) Kind() string

func (*NetworkAdapter) ObjectMeta

func (a *NetworkAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta

func (*NetworkAdapter) Reconcile

func (a *NetworkAdapter) Reconcile(obj runtime.Object) (runtime.Object, error)

func (*NetworkAdapter) Resource

func (a *NetworkAdapter) Resource() string

func (*NetworkAdapter) SetLister

func (a *NetworkAdapter) SetLister(lister cache.GenericLister)

func (*NetworkAdapter) SetQueue

func (*NetworkAdapter) Subscriptions

func (a *NetworkAdapter) Subscriptions() []schema.GroupVersionResource

func (*NetworkAdapter) Update

func (a *NetworkAdapter) Update(obj runtime.Object) (runtime.Object, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL