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
- func CreateOrUpdateInternetGateway(c clientset.Interface, network *cloudv1alpha1.Network, ...) (*v1alpha1.InternetGateway, bool, error)
- func CreateOrUpdateRouteTable(c clientset.Interface, network *cloudv1alpha1.Network, ...) (*v1alpha1.RouteTable, bool, error)
- func CreateOrUpdateVcn(c clientset.Interface, network *cloudv1alpha1.Network, ...) (*v1alpha1.Vcn, bool, error)
- func DeleteInternetGateway(c clientset.Interface, network *cloudv1alpha1.Network) (*v1alpha1.InternetGateway, error)
- func DeleteRouteTable(c clientset.Interface, network *cloudv1alpha1.Network) (*v1alpha1.RouteTable, error)
- func DeleteVcn(c clientset.Interface, network *cloudv1alpha1.Network) (*v1alpha1.Vcn, error)
- func NewNetworkAdapter(clientSet versioned.Interface, kubeclient kubernetes.Interface) cloudcommon.CloudTypeAdapter
- type NetworkAdapter
- func (a *NetworkAdapter) CallbackForResource(resource schema.GroupVersionResource) cache.ResourceEventHandlerFuncs
- func (a *NetworkAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *NetworkAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *NetworkAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *NetworkAdapter) Kind() string
- func (a *NetworkAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *NetworkAdapter) Reconcile(obj runtime.Object) (runtime.Object, error)
- func (a *NetworkAdapter) Resource() string
- func (a *NetworkAdapter) SetLister(lister cache.GenericLister)
- func (a *NetworkAdapter) SetQueue(q workqueue.RateLimitingInterface)
- func (a *NetworkAdapter) Subscriptions() []schema.GroupVersionResource
- func (a *NetworkAdapter) Update(obj runtime.Object) (runtime.Object, error)
Constants ¶
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 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 (a *NetworkAdapter) CallbackForResource(resource schema.GroupVersionResource) cache.ResourceEventHandlerFuncs
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) Resource ¶
func (a *NetworkAdapter) Resource() string
func (*NetworkAdapter) SetLister ¶
func (a *NetworkAdapter) SetLister(lister cache.GenericLister)
func (*NetworkAdapter) SetQueue ¶
func (a *NetworkAdapter) SetQueue(q workqueue.RateLimitingInterface)
func (*NetworkAdapter) Subscriptions ¶
func (a *NetworkAdapter) Subscriptions() []schema.GroupVersionResource