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.
Index ¶
- Constants
- func NewBackendAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ...) resourcescommon.ResourceTypeAdapter
- func NewBackendSetAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ...) resourcescommon.ResourceTypeAdapter
- func NewCertificateAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ...) resourcescommon.ResourceTypeAdapter
- func NewListenerAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ...) resourcescommon.ResourceTypeAdapter
- func NewLoadBalancerAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ...) resourcescommon.ResourceTypeAdapter
- type BackendAdapter
- func (a *BackendAdapter) Copy(obj runtime.Object) runtime.Object
- func (a *BackendAdapter) Create(obj runtime.Object) (runtime.Object, error)
- func (a *BackendAdapter) CreateObject(obj runtime.Object) (runtime.Object, error)
- func (a *BackendAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *BackendAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
- func (a *BackendAdapter) Dependents(obj runtime.Object) map[string][]string
- func (a *BackendAdapter) DependsOn(obj runtime.Object) map[string]ocicommon.DependsOn
- func (a *BackendAdapter) DependsOnRefs(obj runtime.Object) ([]runtime.Object, error)
- func (a *BackendAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *BackendAdapter) Get(obj runtime.Object) (runtime.Object, error)
- func (a *BackendAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *BackendAdapter) Id(obj runtime.Object) string
- func (a *BackendAdapter) IsExpectedType(obj interface{}) bool
- func (a *BackendAdapter) IsResourceCompliant(obj runtime.Object) bool
- func (a *BackendAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
- func (a *BackendAdapter) Kind() string
- func (a *BackendAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *BackendAdapter) ObjectType() runtime.Object
- func (a *BackendAdapter) Resource() string
- func (a *BackendAdapter) Update(obj runtime.Object) (runtime.Object, error)
- func (a *BackendAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
- func (a *BackendAdapter) UpdateObject(obj runtime.Object) (runtime.Object, error)
- type BackendSetAdapter
- func (a *BackendSetAdapter) Copy(obj runtime.Object) runtime.Object
- func (a *BackendSetAdapter) Create(obj runtime.Object) (runtime.Object, error)
- func (a *BackendSetAdapter) CreateObject(obj runtime.Object) (runtime.Object, error)
- func (a *BackendSetAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *BackendSetAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
- func (a *BackendSetAdapter) Dependents(obj runtime.Object) map[string][]string
- func (a *BackendSetAdapter) DependsOn(obj runtime.Object) map[string]ocicommon.DependsOn
- func (a *BackendSetAdapter) DependsOnRefs(obj runtime.Object) ([]runtime.Object, error)
- func (a *BackendSetAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *BackendSetAdapter) Get(obj runtime.Object) (runtime.Object, error)
- func (a *BackendSetAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *BackendSetAdapter) Id(obj runtime.Object) string
- func (a *BackendSetAdapter) IsExpectedType(obj interface{}) bool
- func (a *BackendSetAdapter) IsResourceCompliant(obj runtime.Object) bool
- func (a *BackendSetAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
- func (a *BackendSetAdapter) Kind() string
- func (a *BackendSetAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *BackendSetAdapter) ObjectType() runtime.Object
- func (a *BackendSetAdapter) Resource() string
- func (a *BackendSetAdapter) Update(obj runtime.Object) (runtime.Object, error)
- func (a *BackendSetAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
- func (a *BackendSetAdapter) UpdateObject(obj runtime.Object) (runtime.Object, error)
- type CertificateAdapter
- func (a *CertificateAdapter) Copy(obj runtime.Object) runtime.Object
- func (a *CertificateAdapter) Create(obj runtime.Object) (runtime.Object, error)
- func (a *CertificateAdapter) CreateObject(obj runtime.Object) (runtime.Object, error)
- func (a *CertificateAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *CertificateAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
- func (a *CertificateAdapter) Dependents(obj runtime.Object) map[string][]string
- func (a *CertificateAdapter) DependsOn(obj runtime.Object) map[string]ocicommon.DependsOn
- func (a *CertificateAdapter) DependsOnRefs(obj runtime.Object) ([]runtime.Object, error)
- func (a *CertificateAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *CertificateAdapter) Get(obj runtime.Object) (runtime.Object, error)
- func (a *CertificateAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *CertificateAdapter) Id(obj runtime.Object) string
- func (a *CertificateAdapter) IsExpectedType(obj interface{}) bool
- func (a *CertificateAdapter) IsResourceCompliant(obj runtime.Object) bool
- func (a *CertificateAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
- func (a *CertificateAdapter) Kind() string
- func (a *CertificateAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *CertificateAdapter) ObjectType() runtime.Object
- func (a *CertificateAdapter) Resource() string
- func (a *CertificateAdapter) Update(obj runtime.Object) (runtime.Object, error)
- func (a *CertificateAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
- func (a *CertificateAdapter) UpdateObject(obj runtime.Object) (runtime.Object, error)
- type ListenerAdapter
- func (a *ListenerAdapter) Copy(obj runtime.Object) runtime.Object
- func (a *ListenerAdapter) Create(obj runtime.Object) (runtime.Object, error)
- func (a *ListenerAdapter) CreateObject(obj runtime.Object) (runtime.Object, error)
- func (a *ListenerAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *ListenerAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
- func (a *ListenerAdapter) Dependents(obj runtime.Object) map[string][]string
- func (a *ListenerAdapter) DependsOn(obj runtime.Object) map[string]ocicommon.DependsOn
- func (a *ListenerAdapter) DependsOnRefs(obj runtime.Object) ([]runtime.Object, error)
- func (a *ListenerAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *ListenerAdapter) Get(obj runtime.Object) (runtime.Object, error)
- func (a *ListenerAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *ListenerAdapter) Id(obj runtime.Object) string
- func (a *ListenerAdapter) IsExpectedType(obj interface{}) bool
- func (a *ListenerAdapter) IsResourceCompliant(obj runtime.Object) bool
- func (a *ListenerAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
- func (a *ListenerAdapter) Kind() string
- func (a *ListenerAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *ListenerAdapter) ObjectType() runtime.Object
- func (a *ListenerAdapter) Resource() string
- func (a *ListenerAdapter) Update(obj runtime.Object) (runtime.Object, error)
- func (a *ListenerAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
- func (a *ListenerAdapter) UpdateObject(obj runtime.Object) (runtime.Object, error)
- type LoadBalancerAdapter
- func (a *LoadBalancerAdapter) Copy(obj runtime.Object) runtime.Object
- func (a *LoadBalancerAdapter) Create(obj runtime.Object) (runtime.Object, error)
- func (a *LoadBalancerAdapter) CreateObject(obj runtime.Object) (runtime.Object, error)
- func (a *LoadBalancerAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *LoadBalancerAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
- func (a *LoadBalancerAdapter) Dependents(obj runtime.Object) map[string][]string
- func (a *LoadBalancerAdapter) DependsOn(obj runtime.Object) map[string]ocicommon.DependsOn
- func (a *LoadBalancerAdapter) DependsOnRefs(obj runtime.Object) ([]runtime.Object, error)
- func (a *LoadBalancerAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *LoadBalancerAdapter) Get(obj runtime.Object) (runtime.Object, error)
- func (a *LoadBalancerAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *LoadBalancerAdapter) Id(obj runtime.Object) string
- func (a *LoadBalancerAdapter) IsExpectedType(obj interface{}) bool
- func (a *LoadBalancerAdapter) IsResourceCompliant(obj runtime.Object) bool
- func (a *LoadBalancerAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
- func (a *LoadBalancerAdapter) Kind() string
- func (a *LoadBalancerAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *LoadBalancerAdapter) ObjectType() runtime.Object
- func (a *LoadBalancerAdapter) Resource() string
- func (a *LoadBalancerAdapter) Update(obj runtime.Object) (runtime.Object, error)
- func (a *LoadBalancerAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
- func (a *LoadBalancerAdapter) UpdateObject(obj runtime.Object) (runtime.Object, error)
Constants ¶
const (
OciDomain = "lb"
)
OciDomain is unique domain string for all resources in lb package
Variables ¶
This section is empty.
Functions ¶
func NewBackendAdapter ¶
func NewBackendAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ociconfig ocisdkcommon.ConfigurationProvider, adapterSpecificArgs map[string]interface{}) resourcescommon.ResourceTypeAdapter
NewBackendAdapter creates a new adapter for backend resource
func NewBackendSetAdapter ¶
func NewBackendSetAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ociconfig ocisdkcommon.ConfigurationProvider, adapterSpecificArgs map[string]interface{}) resourcescommon.ResourceTypeAdapter
NewBackendSetAdapter creates a new adapter for backend set resource
func NewCertificateAdapter ¶
func NewCertificateAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ociconfig ocisdkcommon.ConfigurationProvider, adapterSpecificArgs map[string]interface{}) resourcescommon.ResourceTypeAdapter
NewCertificateAdapter creates a new adapter for certificate resource
func NewListenerAdapter ¶
func NewListenerAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ociconfig ocisdkcommon.ConfigurationProvider, adapterSpecificArgs map[string]interface{}) resourcescommon.ResourceTypeAdapter
NewListenerAdapter creates a new adapter for listener resource
func NewLoadBalancerAdapter ¶
func NewLoadBalancerAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ociconfig ocisdkcommon.ConfigurationProvider, adapterSpecificArgs map[string]interface{}) resourcescommon.ResourceTypeAdapter
NewLoadBalancerAdapter creates a new adapter for load balancer resource
Types ¶
type BackendAdapter ¶
type BackendAdapter struct {
// contains filtered or unexported fields
}
BackendAdapter implements the adapter interface for backend resource
func (*BackendAdapter) Copy ¶
func (a *BackendAdapter) Copy(obj runtime.Object) runtime.Object
Copy returns a copy of a backend object
func (*BackendAdapter) CreateObject ¶
CreateObject creates the backend object
func (*BackendAdapter) DeleteObject ¶
func (a *BackendAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
DeleteObject deletes the backend object
func (*BackendAdapter) Dependents ¶
func (a *BackendAdapter) Dependents(obj runtime.Object) map[string][]string
Dependents returns a map of backend dependents (objects that depend on the backend)
func (*BackendAdapter) DependsOn ¶
DependsOn returns a map of backend dependencies (objects that the backend depends on)
func (*BackendAdapter) DependsOnRefs ¶
DependsOnRefs returns the objects that the backend depends on
func (*BackendAdapter) Equivalent ¶
func (a *BackendAdapter) Equivalent(obj1, obj2 runtime.Object) bool
Equivalent checks if two backend objects are the same
func (*BackendAdapter) GroupVersionWithResource ¶
func (a *BackendAdapter) GroupVersionWithResource() schema.GroupVersionResource
GroupVersionWithResource returns the group version schema with the resource type
func (*BackendAdapter) Id ¶
func (a *BackendAdapter) Id(obj runtime.Object) string
Id returns the unique resource id via the object type method (i.e the oci id)
func (*BackendAdapter) IsExpectedType ¶
func (a *BackendAdapter) IsExpectedType(obj interface{}) bool
IsExpectedType ensures the resource type matches the adapter type
func (*BackendAdapter) IsResourceCompliant ¶
func (a *BackendAdapter) IsResourceCompliant(obj runtime.Object) bool
IsResourceCompliant checks if resource config is complient with CRD spec
func (*BackendAdapter) IsResourceStatusChanged ¶
func (a *BackendAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
IsResourceStatusChanged checks if two vcn objects are the same
func (*BackendAdapter) Kind ¶
func (a *BackendAdapter) Kind() string
Kind returns the resource kind string
func (*BackendAdapter) ObjectMeta ¶
func (a *BackendAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
ObjectMeta returns the object meta struct from the backend object
func (*BackendAdapter) ObjectType ¶
func (a *BackendAdapter) ObjectType() runtime.Object
ObjectType returns the backend type for this adapter
func (*BackendAdapter) Resource ¶
func (a *BackendAdapter) Resource() string
Resource returns the plural name of the resource type
func (*BackendAdapter) UpdateForResource ¶
func (a *BackendAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
UpdateForResource calls a common UpdateForResource method to update the backend resource in the backend object
func (*BackendAdapter) UpdateObject ¶
UpdateObject updates the backend object
type BackendSetAdapter ¶
type BackendSetAdapter struct {
// contains filtered or unexported fields
}
BackendSetAdapter implements the adapter interface for backend set resource
func (*BackendSetAdapter) Copy ¶
func (a *BackendSetAdapter) Copy(obj runtime.Object) runtime.Object
Copy returns a copy of a backend set object
func (*BackendSetAdapter) CreateObject ¶
CreateObject creates the backend set object
func (*BackendSetAdapter) DeleteObject ¶
func (a *BackendSetAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
DeleteObject deletes the backend set object
func (*BackendSetAdapter) Dependents ¶
func (a *BackendSetAdapter) Dependents(obj runtime.Object) map[string][]string
Dependents returns a map of backend set dependents (objects that depend on the backend set)
func (*BackendSetAdapter) DependsOn ¶
DependsOn returns a map of backend set dependencies (objects that the backend set depends on)
func (*BackendSetAdapter) DependsOnRefs ¶
DependsOnRefs returns the objects that the backend set depends on
func (*BackendSetAdapter) Equivalent ¶
func (a *BackendSetAdapter) Equivalent(obj1, obj2 runtime.Object) bool
Equivalent checks if two backend set objects are the same
func (*BackendSetAdapter) GroupVersionWithResource ¶
func (a *BackendSetAdapter) GroupVersionWithResource() schema.GroupVersionResource
GroupVersionWithResource returns the group version schema with the resource type
func (*BackendSetAdapter) Id ¶
func (a *BackendSetAdapter) Id(obj runtime.Object) string
Id returns the unique resource id via the object type method (i.e the oci id)
func (*BackendSetAdapter) IsExpectedType ¶
func (a *BackendSetAdapter) IsExpectedType(obj interface{}) bool
IsExpectedType ensures the resource type matches the adapter type
func (*BackendSetAdapter) IsResourceCompliant ¶
func (a *BackendSetAdapter) IsResourceCompliant(obj runtime.Object) bool
IsResourceCompliant checks if resource config is complient with CRD spec
func (*BackendSetAdapter) IsResourceStatusChanged ¶
func (a *BackendSetAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
IsResourceStatusChanged checks if two objects are the same
func (*BackendSetAdapter) Kind ¶
func (a *BackendSetAdapter) Kind() string
Kind returns the resource kind string
func (*BackendSetAdapter) ObjectMeta ¶
func (a *BackendSetAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
ObjectMeta returns the object meta struct from the backend set object
func (*BackendSetAdapter) ObjectType ¶
func (a *BackendSetAdapter) ObjectType() runtime.Object
ObjectType returns the backend set type for this adapter
func (*BackendSetAdapter) Resource ¶
func (a *BackendSetAdapter) Resource() string
Resource returns the plural name of the resource type
func (*BackendSetAdapter) UpdateForResource ¶
func (a *BackendSetAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
UpdateForResource calls a common UpdateForResource method to update the backend set resource in the backend set object
func (*BackendSetAdapter) UpdateObject ¶
UpdateObject updates the backend set object
type CertificateAdapter ¶
type CertificateAdapter struct {
// contains filtered or unexported fields
}
CertificateAdapter implements the adapter interface for certificate resource
func (*CertificateAdapter) Copy ¶
func (a *CertificateAdapter) Copy(obj runtime.Object) runtime.Object
Copy returns a copy of a certificate object
func (*CertificateAdapter) CreateObject ¶
CreateObject creates the certificate object
func (*CertificateAdapter) DeleteObject ¶
func (a *CertificateAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
DeleteObject deletes the certificate object
func (*CertificateAdapter) Dependents ¶
func (a *CertificateAdapter) Dependents(obj runtime.Object) map[string][]string
Dependents returns a map of certificate dependents (objects that depend on the certificate)
func (*CertificateAdapter) DependsOn ¶
DependsOn returns a map of certificate dependencies (objects that the certificate depends on)
func (*CertificateAdapter) DependsOnRefs ¶
DependsOnRefs returns the objects that the certificate depends on
func (*CertificateAdapter) Equivalent ¶
func (a *CertificateAdapter) Equivalent(obj1, obj2 runtime.Object) bool
Equivalent checks if two certificate objects are the same
func (*CertificateAdapter) GroupVersionWithResource ¶
func (a *CertificateAdapter) GroupVersionWithResource() schema.GroupVersionResource
GroupVersionWithResource returns the group version schema with the resource type
func (*CertificateAdapter) Id ¶
func (a *CertificateAdapter) Id(obj runtime.Object) string
Id returns the unique resource id via the object type method (i.e the oci id)
func (*CertificateAdapter) IsExpectedType ¶
func (a *CertificateAdapter) IsExpectedType(obj interface{}) bool
IsExpectedType ensures the resource type matches the adapter type
func (*CertificateAdapter) IsResourceCompliant ¶
func (a *CertificateAdapter) IsResourceCompliant(obj runtime.Object) bool
IsResourceCompliant checks if resource config is complient with CRD spec
func (*CertificateAdapter) IsResourceStatusChanged ¶
func (a *CertificateAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
IsResourceStatusChanged checks if two objects are the same
func (*CertificateAdapter) Kind ¶
func (a *CertificateAdapter) Kind() string
Kind returns the resource kind string
func (*CertificateAdapter) ObjectMeta ¶
func (a *CertificateAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
ObjectMeta returns the object meta struct from the certificate object
func (*CertificateAdapter) ObjectType ¶
func (a *CertificateAdapter) ObjectType() runtime.Object
ObjectType returns the certificate type for this adapter
func (*CertificateAdapter) Resource ¶
func (a *CertificateAdapter) Resource() string
Resource returns the plural name of the resource type
func (*CertificateAdapter) UpdateForResource ¶
func (a *CertificateAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
UpdateForResource calls a common UpdateForResource method to update the certificate resource in the certificate object
func (*CertificateAdapter) UpdateObject ¶
UpdateObject updates the certificate object
type ListenerAdapter ¶
type ListenerAdapter struct {
// contains filtered or unexported fields
}
ListenerAdapter implements the adapter interface for listener resource
func (*ListenerAdapter) Copy ¶
func (a *ListenerAdapter) Copy(obj runtime.Object) runtime.Object
Copy returns a copy of a listener object
func (*ListenerAdapter) CreateObject ¶
CreateObject creates the listener object
func (*ListenerAdapter) DeleteObject ¶
func (a *ListenerAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
DeleteObject deletes the listener object
func (*ListenerAdapter) Dependents ¶
func (a *ListenerAdapter) Dependents(obj runtime.Object) map[string][]string
Dependents returns a map of listener dependents (objects that depend on the listener)
func (*ListenerAdapter) DependsOn ¶
DependsOn returns a map of listener dependencies (objects that the listener depends on)
func (*ListenerAdapter) DependsOnRefs ¶
DependsOnRefs returns the objects that the listener depends on
func (*ListenerAdapter) Equivalent ¶
func (a *ListenerAdapter) Equivalent(obj1, obj2 runtime.Object) bool
Equivalent checks if two listener objects are the same
func (*ListenerAdapter) GroupVersionWithResource ¶
func (a *ListenerAdapter) GroupVersionWithResource() schema.GroupVersionResource
GroupVersionWithResource returns the group version schema with the resource type
func (*ListenerAdapter) Id ¶
func (a *ListenerAdapter) Id(obj runtime.Object) string
Id returns the unique resource id via the object type method (i.e the oci id)
func (*ListenerAdapter) IsExpectedType ¶
func (a *ListenerAdapter) IsExpectedType(obj interface{}) bool
IsExpectedType ensures the resource type matches the adapter type
func (*ListenerAdapter) IsResourceCompliant ¶
func (a *ListenerAdapter) IsResourceCompliant(obj runtime.Object) bool
IsResourceCompliant checks if resource config is complient with CRD spec
func (*ListenerAdapter) IsResourceStatusChanged ¶
func (a *ListenerAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
IsResourceStatusChanged checks if two vcn objects are the same
func (*ListenerAdapter) Kind ¶
func (a *ListenerAdapter) Kind() string
Kind returns the resource kind string
func (*ListenerAdapter) ObjectMeta ¶
func (a *ListenerAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
ObjectMeta returns the object meta struct from the listener object
func (*ListenerAdapter) ObjectType ¶
func (a *ListenerAdapter) ObjectType() runtime.Object
ObjectType returns the listener type for this adapter
func (*ListenerAdapter) Resource ¶
func (a *ListenerAdapter) Resource() string
Resource returns the plural name of the resource type
func (*ListenerAdapter) UpdateForResource ¶
func (a *ListenerAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
UpdateForResource calls a common UpdateForResource method to update the listener resource in the listener object
func (*ListenerAdapter) UpdateObject ¶
UpdateObject updates the listener object
type LoadBalancerAdapter ¶
type LoadBalancerAdapter struct {
// contains filtered or unexported fields
}
LoadBalancerAdapter implements the adapter interface for load balancer resource
func (*LoadBalancerAdapter) Copy ¶
func (a *LoadBalancerAdapter) Copy(obj runtime.Object) runtime.Object
Copy returns a copy of a load balancer object
func (*LoadBalancerAdapter) CreateObject ¶
CreateObject creates the load balancer object
func (*LoadBalancerAdapter) DeleteObject ¶
func (a *LoadBalancerAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
DeleteObject deletes the load balancer object
func (*LoadBalancerAdapter) Dependents ¶
func (a *LoadBalancerAdapter) Dependents(obj runtime.Object) map[string][]string
Dependents returns a map of load balancer dependents (objects that depend on the load balancer)
func (*LoadBalancerAdapter) DependsOn ¶
DependsOn returns a map of load balancer dependencies (objects that the load balancer depends on)
func (*LoadBalancerAdapter) DependsOnRefs ¶
DependsOnRefs returns the objects that the load balancer depends on
func (*LoadBalancerAdapter) Equivalent ¶
func (a *LoadBalancerAdapter) Equivalent(obj1, obj2 runtime.Object) bool
Equivalent checks if two load balancer objects are the same
func (*LoadBalancerAdapter) GroupVersionWithResource ¶
func (a *LoadBalancerAdapter) GroupVersionWithResource() schema.GroupVersionResource
GroupVersionWithResource returns the group version schema with the resource type
func (*LoadBalancerAdapter) Id ¶
func (a *LoadBalancerAdapter) Id(obj runtime.Object) string
Id returns the unique resource id via the object type method (i.e the oci id)
func (*LoadBalancerAdapter) IsExpectedType ¶
func (a *LoadBalancerAdapter) IsExpectedType(obj interface{}) bool
IsExpectedType ensures the resource type matches the adapter type
func (*LoadBalancerAdapter) IsResourceCompliant ¶
func (a *LoadBalancerAdapter) IsResourceCompliant(obj runtime.Object) bool
IsResourceCompliant checks if resource config is complient with CRD spec
func (*LoadBalancerAdapter) IsResourceStatusChanged ¶
func (a *LoadBalancerAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
IsResourceStatusChanged checks if two vcn objects are the same
func (*LoadBalancerAdapter) Kind ¶
func (a *LoadBalancerAdapter) Kind() string
Kind returns the resource kind string
func (*LoadBalancerAdapter) ObjectMeta ¶
func (a *LoadBalancerAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
ObjectMeta returns the object meta struct from the load balancer object
func (*LoadBalancerAdapter) ObjectType ¶
func (a *LoadBalancerAdapter) ObjectType() runtime.Object
ObjectType returns the load balancer type for this adapter
func (*LoadBalancerAdapter) Resource ¶
func (a *LoadBalancerAdapter) Resource() string
Resource returns the plural name of the resource type
func (*LoadBalancerAdapter) UpdateForResource ¶
func (a *LoadBalancerAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
UpdateForResource calls a common UpdateForResource method to update the load balancer resource in the load balancer object
func (*LoadBalancerAdapter) UpdateObject ¶
UpdateObject updates the load balancer object