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 NewDhcpOptionAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ...) resourcescommon.ResourceTypeAdapter
- func NewInstanceAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ...) resourcescommon.ResourceTypeAdapter
- func NewInternetGatewayAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ...) resourcescommon.ResourceTypeAdapter
- func NewRouteTableAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ...) resourcescommon.ResourceTypeAdapter
- func NewSecurityRuleSetAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ...) resourcescommon.ResourceTypeAdapter
- func NewSubnetAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ...) resourcescommon.ResourceTypeAdapter
- func NewVcnAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ...) resourcescommon.ResourceTypeAdapter
- func NewVcnAdapterBasic(clientset versioned.Interface, vcnClient resourcescommon.VcnClientInterface) resourcescommon.ResourceTypeAdapter
- func NewVolumeAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ...) resourcescommon.ResourceTypeAdapter
- func NewVolumeBackupAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ...) resourcescommon.ResourceTypeAdapter
- type DhcpOptionAdapter
- func (a *DhcpOptionAdapter) Copy(obj runtime.Object) runtime.Object
- func (a *DhcpOptionAdapter) Create(obj runtime.Object) (runtime.Object, error)
- func (a *DhcpOptionAdapter) CreateObject(obj runtime.Object) (runtime.Object, error)
- func (a *DhcpOptionAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *DhcpOptionAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
- func (a *DhcpOptionAdapter) Dependents(obj runtime.Object) map[string][]string
- func (a *DhcpOptionAdapter) DependsOn(obj runtime.Object) map[string]ocicommon.DependsOn
- func (a *DhcpOptionAdapter) DependsOnRefs(obj runtime.Object) ([]runtime.Object, error)
- func (a *DhcpOptionAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *DhcpOptionAdapter) Get(obj runtime.Object) (runtime.Object, error)
- func (a *DhcpOptionAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *DhcpOptionAdapter) Id(obj runtime.Object) string
- func (a *DhcpOptionAdapter) IsExpectedType(obj interface{}) bool
- func (a *DhcpOptionAdapter) IsResourceCompliant(obj runtime.Object) bool
- func (a *DhcpOptionAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
- func (a *DhcpOptionAdapter) Kind() string
- func (a *DhcpOptionAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *DhcpOptionAdapter) ObjectType() runtime.Object
- func (a *DhcpOptionAdapter) Resource() string
- func (a *DhcpOptionAdapter) Update(obj runtime.Object) (runtime.Object, error)
- func (a *DhcpOptionAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
- func (a *DhcpOptionAdapter) UpdateObject(obj runtime.Object) (runtime.Object, error)
- type InstanceAdapter
- func (a *InstanceAdapter) BootVolume(obj runtime.Object) (resource *ocicorev1alpha1.BootVolumeResource, err error)
- func (a *InstanceAdapter) Copy(obj runtime.Object) runtime.Object
- func (a *InstanceAdapter) Create(obj runtime.Object) (runtime.Object, error)
- func (a *InstanceAdapter) CreateObject(obj runtime.Object) (runtime.Object, error)
- func (a *InstanceAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *InstanceAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
- func (a *InstanceAdapter) Dependents(obj runtime.Object) map[string][]string
- func (a *InstanceAdapter) DependsOn(obj runtime.Object) map[string]ocicommon.DependsOn
- func (a *InstanceAdapter) DependsOnRefs(obj runtime.Object) ([]runtime.Object, error)
- func (a *InstanceAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *InstanceAdapter) Get(obj runtime.Object) (runtime.Object, error)
- func (a *InstanceAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *InstanceAdapter) Id(obj runtime.Object) string
- func (a *InstanceAdapter) IsExpectedType(obj interface{}) bool
- func (a *InstanceAdapter) IsResourceCompliant(obj runtime.Object) bool
- func (a *InstanceAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
- func (a *InstanceAdapter) Kind() string
- func (a *InstanceAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *InstanceAdapter) ObjectType() runtime.Object
- func (a *InstanceAdapter) PrimaryVnic(obj runtime.Object) (*ocicorev1alpha1.PrimaryVnicResource, error)
- func (a *InstanceAdapter) Resource() string
- func (a *InstanceAdapter) Update(obj runtime.Object) (runtime.Object, error)
- func (a *InstanceAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
- func (a *InstanceAdapter) UpdateObject(obj runtime.Object) (runtime.Object, error)
- type InternetGatewayAdapter
- func (a *InternetGatewayAdapter) Copy(obj runtime.Object) runtime.Object
- func (a *InternetGatewayAdapter) Create(obj runtime.Object) (runtime.Object, error)
- func (a *InternetGatewayAdapter) CreateObject(obj runtime.Object) (runtime.Object, error)
- func (a *InternetGatewayAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *InternetGatewayAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
- func (a *InternetGatewayAdapter) Dependents(obj runtime.Object) map[string][]string
- func (a *InternetGatewayAdapter) DependsOn(obj runtime.Object) map[string]ocicommon.DependsOn
- func (a *InternetGatewayAdapter) DependsOnRefs(obj runtime.Object) ([]runtime.Object, error)
- func (a *InternetGatewayAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *InternetGatewayAdapter) Get(obj runtime.Object) (runtime.Object, error)
- func (a *InternetGatewayAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *InternetGatewayAdapter) Id(obj runtime.Object) string
- func (a *InternetGatewayAdapter) IsExpectedType(obj interface{}) bool
- func (a *InternetGatewayAdapter) IsResourceCompliant(obj runtime.Object) bool
- func (a *InternetGatewayAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
- func (a *InternetGatewayAdapter) Kind() string
- func (a *InternetGatewayAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *InternetGatewayAdapter) ObjectType() runtime.Object
- func (a *InternetGatewayAdapter) Resource() string
- func (a *InternetGatewayAdapter) Update(obj runtime.Object) (runtime.Object, error)
- func (a *InternetGatewayAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
- func (a *InternetGatewayAdapter) UpdateObject(obj runtime.Object) (runtime.Object, error)
- type RouteTableAdapter
- func (a *RouteTableAdapter) Copy(obj runtime.Object) runtime.Object
- func (a *RouteTableAdapter) Create(obj runtime.Object) (runtime.Object, error)
- func (a *RouteTableAdapter) CreateObject(obj runtime.Object) (runtime.Object, error)
- func (a *RouteTableAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *RouteTableAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
- func (a *RouteTableAdapter) Dependents(obj runtime.Object) map[string][]string
- func (a *RouteTableAdapter) DependsOn(obj runtime.Object) map[string]ocicommon.DependsOn
- func (a *RouteTableAdapter) DependsOnRefs(obj runtime.Object) ([]runtime.Object, error)
- func (a *RouteTableAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *RouteTableAdapter) Get(obj runtime.Object) (runtime.Object, error)
- func (a *RouteTableAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *RouteTableAdapter) Id(obj runtime.Object) string
- func (a *RouteTableAdapter) IsExpectedType(obj interface{}) bool
- func (a *RouteTableAdapter) IsResourceCompliant(obj runtime.Object) bool
- func (a *RouteTableAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
- func (a *RouteTableAdapter) Kind() string
- func (a *RouteTableAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *RouteTableAdapter) ObjectType() runtime.Object
- func (a *RouteTableAdapter) Resource() string
- func (a *RouteTableAdapter) Update(obj runtime.Object) (runtime.Object, error)
- func (a *RouteTableAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
- func (a *RouteTableAdapter) UpdateObject(obj runtime.Object) (runtime.Object, error)
- type SecurityRuleSetAdapter
- func (a *SecurityRuleSetAdapter) Copy(obj runtime.Object) runtime.Object
- func (a *SecurityRuleSetAdapter) Create(obj runtime.Object) (runtime.Object, error)
- func (a *SecurityRuleSetAdapter) CreateObject(obj runtime.Object) (runtime.Object, error)
- func (a *SecurityRuleSetAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *SecurityRuleSetAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
- func (a *SecurityRuleSetAdapter) Dependents(obj runtime.Object) map[string][]string
- func (a *SecurityRuleSetAdapter) DependsOn(obj runtime.Object) map[string]ocicommon.DependsOn
- func (a *SecurityRuleSetAdapter) DependsOnRefs(obj runtime.Object) ([]runtime.Object, error)
- func (a *SecurityRuleSetAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *SecurityRuleSetAdapter) Get(obj runtime.Object) (runtime.Object, error)
- func (a *SecurityRuleSetAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *SecurityRuleSetAdapter) Id(obj runtime.Object) string
- func (a *SecurityRuleSetAdapter) IsExpectedType(obj interface{}) bool
- func (a *SecurityRuleSetAdapter) IsResourceCompliant(obj runtime.Object) bool
- func (a *SecurityRuleSetAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
- func (a *SecurityRuleSetAdapter) Kind() string
- func (a *SecurityRuleSetAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *SecurityRuleSetAdapter) ObjectType() runtime.Object
- func (a *SecurityRuleSetAdapter) Resource() string
- func (a *SecurityRuleSetAdapter) Update(obj runtime.Object) (runtime.Object, error)
- func (a *SecurityRuleSetAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
- func (a *SecurityRuleSetAdapter) UpdateObject(obj runtime.Object) (runtime.Object, error)
- type SubnetAdapter
- func (a *SubnetAdapter) Copy(obj runtime.Object) runtime.Object
- func (a *SubnetAdapter) Create(obj runtime.Object) (runtime.Object, error)
- func (a *SubnetAdapter) CreateObject(obj runtime.Object) (runtime.Object, error)
- func (a *SubnetAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *SubnetAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
- func (a *SubnetAdapter) Dependents(obj runtime.Object) map[string][]string
- func (a *SubnetAdapter) DependsOn(obj runtime.Object) map[string]ocicommon.DependsOn
- func (a *SubnetAdapter) DependsOnRefs(obj runtime.Object) ([]runtime.Object, error)
- func (a *SubnetAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *SubnetAdapter) Get(obj runtime.Object) (runtime.Object, error)
- func (a *SubnetAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *SubnetAdapter) Id(obj runtime.Object) string
- func (a *SubnetAdapter) IsExpectedType(obj interface{}) bool
- func (a *SubnetAdapter) IsResourceCompliant(obj runtime.Object) bool
- func (a *SubnetAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
- func (a *SubnetAdapter) Kind() string
- func (a *SubnetAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *SubnetAdapter) ObjectType() runtime.Object
- func (a *SubnetAdapter) Resource() string
- func (a *SubnetAdapter) Update(obj runtime.Object) (runtime.Object, error)
- func (a *SubnetAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
- func (a *SubnetAdapter) UpdateObject(obj runtime.Object) (runtime.Object, error)
- type VcnAdapter
- func (a *VcnAdapter) Copy(obj runtime.Object) runtime.Object
- func (a *VcnAdapter) Create(obj runtime.Object) (runtime.Object, error)
- func (a *VcnAdapter) CreateObject(obj runtime.Object) (runtime.Object, error)
- func (a *VcnAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *VcnAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
- func (a *VcnAdapter) Dependents(obj runtime.Object) map[string][]string
- func (a *VcnAdapter) DependsOn(obj runtime.Object) map[string]ocicommon.DependsOn
- func (a *VcnAdapter) DependsOnRefs(obj runtime.Object) ([]runtime.Object, error)
- func (a *VcnAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *VcnAdapter) Get(obj runtime.Object) (runtime.Object, error)
- func (a *VcnAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *VcnAdapter) Id(obj runtime.Object) string
- func (a *VcnAdapter) IsExpectedType(obj interface{}) bool
- func (a *VcnAdapter) IsResourceCompliant(obj runtime.Object) bool
- func (a *VcnAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
- func (a *VcnAdapter) Kind() string
- func (a *VcnAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *VcnAdapter) ObjectType() runtime.Object
- func (a *VcnAdapter) Resource() string
- func (a *VcnAdapter) Update(obj runtime.Object) (runtime.Object, error)
- func (a *VcnAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
- func (a *VcnAdapter) UpdateObject(obj runtime.Object) (runtime.Object, error)
- type VolumeAdapter
- func (a *VolumeAdapter) Copy(obj runtime.Object) runtime.Object
- func (a *VolumeAdapter) Create(obj runtime.Object) (runtime.Object, error)
- func (a *VolumeAdapter) CreateObject(obj runtime.Object) (runtime.Object, error)
- func (a *VolumeAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *VolumeAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
- func (a *VolumeAdapter) Dependents(obj runtime.Object) map[string][]string
- func (a *VolumeAdapter) DependsOn(obj runtime.Object) map[string]ocicommon.DependsOn
- func (a *VolumeAdapter) DependsOnRefs(obj runtime.Object) ([]runtime.Object, error)
- func (a *VolumeAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *VolumeAdapter) Get(obj runtime.Object) (runtime.Object, error)
- func (a *VolumeAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *VolumeAdapter) Id(obj runtime.Object) string
- func (a *VolumeAdapter) IsExpectedType(obj interface{}) bool
- func (a *VolumeAdapter) IsResourceCompliant(obj runtime.Object) bool
- func (a *VolumeAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
- func (a *VolumeAdapter) Kind() string
- func (a *VolumeAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *VolumeAdapter) ObjectType() runtime.Object
- func (a *VolumeAdapter) Resource() string
- func (a *VolumeAdapter) Update(obj runtime.Object) (runtime.Object, error)
- func (a *VolumeAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
- func (a *VolumeAdapter) UpdateObject(obj runtime.Object) (runtime.Object, error)
- type VolumeBackupAdapter
- func (a *VolumeBackupAdapter) Copy(obj runtime.Object) runtime.Object
- func (a *VolumeBackupAdapter) Create(obj runtime.Object) (runtime.Object, error)
- func (a *VolumeBackupAdapter) CreateObject(obj runtime.Object) (runtime.Object, error)
- func (a *VolumeBackupAdapter) Delete(obj runtime.Object) (runtime.Object, error)
- func (a *VolumeBackupAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
- func (a *VolumeBackupAdapter) Dependents(obj runtime.Object) map[string][]string
- func (a *VolumeBackupAdapter) DependsOn(obj runtime.Object) map[string]ocicommon.DependsOn
- func (a *VolumeBackupAdapter) DependsOnRefs(obj runtime.Object) ([]runtime.Object, error)
- func (a *VolumeBackupAdapter) Equivalent(obj1, obj2 runtime.Object) bool
- func (a *VolumeBackupAdapter) Get(obj runtime.Object) (runtime.Object, error)
- func (a *VolumeBackupAdapter) GroupVersionWithResource() schema.GroupVersionResource
- func (a *VolumeBackupAdapter) Id(obj runtime.Object) string
- func (a *VolumeBackupAdapter) IsExpectedType(obj interface{}) bool
- func (a *VolumeBackupAdapter) IsResourceCompliant(obj runtime.Object) bool
- func (a *VolumeBackupAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
- func (a *VolumeBackupAdapter) Kind() string
- func (a *VolumeBackupAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
- func (a *VolumeBackupAdapter) ObjectType() runtime.Object
- func (a *VolumeBackupAdapter) Resource() string
- func (a *VolumeBackupAdapter) Update(obj runtime.Object) (runtime.Object, error)
- func (a *VolumeBackupAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
- func (a *VolumeBackupAdapter) UpdateObject(obj runtime.Object) (runtime.Object, error)
Constants ¶
const (
OciDomain = "core"
)
OciDomain is unique domain string for all resources in core package
Variables ¶
This section is empty.
Functions ¶
func NewDhcpOptionAdapter ¶
func NewDhcpOptionAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ociconfig ocisdkcommon.ConfigurationProvider, adapterSpecificArgs map[string]interface{}) resourcescommon.ResourceTypeAdapter
NewDhcpOptionAdapter creates a new adapter for dhcp options resource
func NewInstanceAdapter ¶
func NewInstanceAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ociconfig ocisdkcommon.ConfigurationProvider, adapterSpecificArgs map[string]interface{}) resourcescommon.ResourceTypeAdapter
NewInstanceAdapter creates a new adapter for instance resource
func NewInternetGatewayAdapter ¶
func NewInternetGatewayAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ociconfig ocisdkcommon.ConfigurationProvider, adapterSpecificArgs map[string]interface{}) resourcescommon.ResourceTypeAdapter
NewInternetGatewayAdapter creates a new adapter for internet gateway resource
func NewRouteTableAdapter ¶
func NewRouteTableAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ociconfig ocisdkcommon.ConfigurationProvider, adapterSpecificArgs map[string]interface{}) resourcescommon.ResourceTypeAdapter
NewRouteTableAdapter creates a new adapter for route table resource
func NewSecurityRuleSetAdapter ¶
func NewSecurityRuleSetAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ociconfig ocisdkcommon.ConfigurationProvider, adapterSpecificArgs map[string]interface{}) resourcescommon.ResourceTypeAdapter
NewSecurityRuleSetAdapter creates a new adapter for security rule set resource
func NewSubnetAdapter ¶
func NewSubnetAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ociconfig ocisdkcommon.ConfigurationProvider, adapterSpecificArgs map[string]interface{}) resourcescommon.ResourceTypeAdapter
NewSubnetAdapter creates a new adapter for subnet resource
func NewVcnAdapter ¶
func NewVcnAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ociconfig ocisdkcommon.ConfigurationProvider, adapterSpecificArgs map[string]interface{}) resourcescommon.ResourceTypeAdapter
NewVcnAdapter creates a new adapter for vcn resource
func NewVcnAdapterBasic ¶
func NewVcnAdapterBasic(clientset versioned.Interface, vcnClient resourcescommon.VcnClientInterface) resourcescommon.ResourceTypeAdapter
func NewVolumeAdapter ¶
func NewVolumeAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ociconfig ocisdkcommon.ConfigurationProvider, adapterSpecificArgs map[string]interface{}) resourcescommon.ResourceTypeAdapter
NewVolumeAdapter creates a new adapter for volume resource
func NewVolumeBackupAdapter ¶
func NewVolumeBackupAdapter(clientset versioned.Interface, kubeclient kubernetes.Interface, ociconfig ocisdkcommon.ConfigurationProvider, adapterSpecificArgs map[string]interface{}) resourcescommon.ResourceTypeAdapter
NewVolumeBackupAdapter creates a new adapter for volume backup resource
Types ¶
type DhcpOptionAdapter ¶
type DhcpOptionAdapter struct {
// contains filtered or unexported fields
}
DhcpOptionAdapter implements the adapter interface for dhcp options resource
func (*DhcpOptionAdapter) Copy ¶
func (a *DhcpOptionAdapter) Copy(obj runtime.Object) runtime.Object
Copy returns a copy of a dhcp options object
func (*DhcpOptionAdapter) CreateObject ¶
CreateObject creates the dhcp options object
func (*DhcpOptionAdapter) DeleteObject ¶
func (a *DhcpOptionAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
DeleteObject deletes the dhcp options object
func (*DhcpOptionAdapter) Dependents ¶
func (a *DhcpOptionAdapter) Dependents(obj runtime.Object) map[string][]string
Dependents returns a map of dhcp options dependents (objects that depend on the dhcp options)
func (*DhcpOptionAdapter) DependsOn ¶
DependsOn returns a map of dhcp options dependencies (objects that the dhcp options depends on)
func (*DhcpOptionAdapter) DependsOnRefs ¶
DependsOnRefs returns the objects that the dhcp options depends on
func (*DhcpOptionAdapter) Equivalent ¶
func (a *DhcpOptionAdapter) Equivalent(obj1, obj2 runtime.Object) bool
Equivalent checks if two dhcp options objects are the same
func (*DhcpOptionAdapter) GroupVersionWithResource ¶
func (a *DhcpOptionAdapter) GroupVersionWithResource() schema.GroupVersionResource
GroupVersionWithResource returns the group version schema with the resource type
func (*DhcpOptionAdapter) Id ¶
func (a *DhcpOptionAdapter) Id(obj runtime.Object) string
Id returns the unique resource id via the object type method (i.e the oci id)
func (*DhcpOptionAdapter) IsExpectedType ¶
func (a *DhcpOptionAdapter) IsExpectedType(obj interface{}) bool
IsExpectedType ensures the resource type matches the adapter type
func (*DhcpOptionAdapter) IsResourceCompliant ¶
func (a *DhcpOptionAdapter) IsResourceCompliant(obj runtime.Object) bool
IsResourceCompliant checks if resource config is complient with CRD spec
func (*DhcpOptionAdapter) IsResourceStatusChanged ¶
func (a *DhcpOptionAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
IsResourceStatusChanged checks if two objects are the same
func (*DhcpOptionAdapter) Kind ¶
func (a *DhcpOptionAdapter) Kind() string
Kind returns the resource kind string
func (*DhcpOptionAdapter) ObjectMeta ¶
func (a *DhcpOptionAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
ObjectMeta returns the object meta struct from the dhcp options object
func (*DhcpOptionAdapter) ObjectType ¶
func (a *DhcpOptionAdapter) ObjectType() runtime.Object
ObjectType returns the dhcp options type for this adapter
func (*DhcpOptionAdapter) Resource ¶
func (a *DhcpOptionAdapter) Resource() string
Resource returns the plural name of the resource type
func (*DhcpOptionAdapter) UpdateForResource ¶
func (a *DhcpOptionAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
UpdateForResource calls a common UpdateForResource method to update the dhcp options resource in the dhcp options object
func (*DhcpOptionAdapter) UpdateObject ¶
UpdateObject updates the dhcp options object
type InstanceAdapter ¶
type InstanceAdapter struct {
// contains filtered or unexported fields
}
InstanceAdapter implements the adapter interface for instance resource
func (*InstanceAdapter) BootVolume ¶
func (a *InstanceAdapter) BootVolume(obj runtime.Object) (resource *ocicorev1alpha1.BootVolumeResource, err error)
BootVolume returns the boot volume resource of the instance
func (*InstanceAdapter) Copy ¶
func (a *InstanceAdapter) Copy(obj runtime.Object) runtime.Object
Copy returns a copy of a instance object
func (*InstanceAdapter) CreateObject ¶
CreateObject creates the instance object
func (*InstanceAdapter) DeleteObject ¶
func (a *InstanceAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
DeleteObject deletes the instance object
func (*InstanceAdapter) Dependents ¶
func (a *InstanceAdapter) Dependents(obj runtime.Object) map[string][]string
Dependents returns a map of instance dependents (objects that depend on the instance)
func (*InstanceAdapter) DependsOn ¶
DependsOn returns a map of instance dependencies (objects that the instance depends on)
func (*InstanceAdapter) DependsOnRefs ¶
DependsOnRefs returns the objects that the instance depends on
func (*InstanceAdapter) Equivalent ¶
func (a *InstanceAdapter) Equivalent(obj1, obj2 runtime.Object) bool
Equivalent checks if two instance objects are the same
func (*InstanceAdapter) GroupVersionWithResource ¶
func (a *InstanceAdapter) GroupVersionWithResource() schema.GroupVersionResource
GroupVersionWithResource returns the group version schema with the resource type
func (*InstanceAdapter) Id ¶
func (a *InstanceAdapter) Id(obj runtime.Object) string
Id returns the unique resource id via the object type method (i.e the oci id)
func (*InstanceAdapter) IsExpectedType ¶
func (a *InstanceAdapter) IsExpectedType(obj interface{}) bool
IsExpectedType ensures the resource type matches the adapter type
func (*InstanceAdapter) IsResourceCompliant ¶
func (a *InstanceAdapter) IsResourceCompliant(obj runtime.Object) bool
IsResourceCompliant checks if resource config is complient with CRD spec
func (*InstanceAdapter) IsResourceStatusChanged ¶
func (a *InstanceAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
IsResourceStatusChanged checks if two vcn objects are the same
func (*InstanceAdapter) Kind ¶
func (a *InstanceAdapter) Kind() string
Kind returns the resource kind string
func (*InstanceAdapter) ObjectMeta ¶
func (a *InstanceAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
ObjectMeta returns the object meta struct from the instance object
func (*InstanceAdapter) ObjectType ¶
func (a *InstanceAdapter) ObjectType() runtime.Object
ObjectType returns the instance type for this adapter
func (*InstanceAdapter) PrimaryVnic ¶
func (a *InstanceAdapter) PrimaryVnic(obj runtime.Object) (*ocicorev1alpha1.PrimaryVnicResource, error)
PrimaryVnic returns the primary vnic resource of the instance
func (*InstanceAdapter) Resource ¶
func (a *InstanceAdapter) Resource() string
Resource returns the plural name of the resource type
func (*InstanceAdapter) UpdateForResource ¶
func (a *InstanceAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
UpdateForResource calls a common UpdateForResource method to update the instance resource in the instance object
func (*InstanceAdapter) UpdateObject ¶
UpdateObject updates the instance object
type InternetGatewayAdapter ¶
type InternetGatewayAdapter struct {
// contains filtered or unexported fields
}
InternetGatewayAdapter implements the adapter interface for internet gateway resource
func (*InternetGatewayAdapter) Copy ¶
func (a *InternetGatewayAdapter) Copy(obj runtime.Object) runtime.Object
Copy returns a copy of a internet gateway object
func (*InternetGatewayAdapter) CreateObject ¶
CreateObject creates the internet gateway object
func (*InternetGatewayAdapter) DeleteObject ¶
func (a *InternetGatewayAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
DeleteObject deletes the internet gateway object
func (*InternetGatewayAdapter) Dependents ¶
func (a *InternetGatewayAdapter) Dependents(obj runtime.Object) map[string][]string
Dependents returns a map of internet gateway dependents (objects that depend on the internet gateway)
func (*InternetGatewayAdapter) DependsOn ¶
DependsOn returns a map of internet gateway dependencies (objects that the internet gateway depends on)
func (*InternetGatewayAdapter) DependsOnRefs ¶
DependsOnRefs returns the objects that the internet gateway depends on
func (*InternetGatewayAdapter) Equivalent ¶
func (a *InternetGatewayAdapter) Equivalent(obj1, obj2 runtime.Object) bool
Equivalent checks if two internet gateway objects are the same
func (*InternetGatewayAdapter) GroupVersionWithResource ¶
func (a *InternetGatewayAdapter) GroupVersionWithResource() schema.GroupVersionResource
GroupVersionWithResource returns the group version schema with the resource type
func (*InternetGatewayAdapter) Id ¶
func (a *InternetGatewayAdapter) Id(obj runtime.Object) string
Id returns the unique resource id via the object type method (i.e the oci id)
func (*InternetGatewayAdapter) IsExpectedType ¶
func (a *InternetGatewayAdapter) IsExpectedType(obj interface{}) bool
IsExpectedType ensures the resource type matches the adapter type
func (*InternetGatewayAdapter) IsResourceCompliant ¶
func (a *InternetGatewayAdapter) IsResourceCompliant(obj runtime.Object) bool
IsResourceCompliant checks if resource config is complient with CRD spec
func (*InternetGatewayAdapter) IsResourceStatusChanged ¶
func (a *InternetGatewayAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
IsResourceStatusChanged checks if two vcn objects are the same
func (*InternetGatewayAdapter) Kind ¶
func (a *InternetGatewayAdapter) Kind() string
Kind returns the resource kind string
func (*InternetGatewayAdapter) ObjectMeta ¶
func (a *InternetGatewayAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
ObjectMeta returns the object meta struct from the internet gateway object
func (*InternetGatewayAdapter) ObjectType ¶
func (a *InternetGatewayAdapter) ObjectType() runtime.Object
ObjectType returns the internet gateway type for this adapter
func (*InternetGatewayAdapter) Resource ¶
func (a *InternetGatewayAdapter) Resource() string
Resource returns the plural name of the resource type
func (*InternetGatewayAdapter) UpdateForResource ¶
func (a *InternetGatewayAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
UpdateForResource calls a common UpdateForResource method to update the internet gateway resource in the internet gateway object
func (*InternetGatewayAdapter) UpdateObject ¶
UpdateObject updates the internet gateway object
type RouteTableAdapter ¶
type RouteTableAdapter struct {
// contains filtered or unexported fields
}
RouteTableAdapter implements the adapter interface for route table resource
func (*RouteTableAdapter) Copy ¶
func (a *RouteTableAdapter) Copy(obj runtime.Object) runtime.Object
Copy returns a copy of a route table object
func (*RouteTableAdapter) CreateObject ¶
CreateObject creates the route table object
func (*RouteTableAdapter) DeleteObject ¶
func (a *RouteTableAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
DeleteObject deletes the route table object
func (*RouteTableAdapter) Dependents ¶
func (a *RouteTableAdapter) Dependents(obj runtime.Object) map[string][]string
Dependents returns a map of route table dependents (objects that depend on the route table)
func (*RouteTableAdapter) DependsOn ¶
DependsOn returns a map of route table dependencies (objects that the route table depends on)
func (*RouteTableAdapter) DependsOnRefs ¶
DependsOnRefs returns the objects that the route table depends on
func (*RouteTableAdapter) Equivalent ¶
func (a *RouteTableAdapter) Equivalent(obj1, obj2 runtime.Object) bool
Equivalent checks if two route table objects are the same
func (*RouteTableAdapter) GroupVersionWithResource ¶
func (a *RouteTableAdapter) GroupVersionWithResource() schema.GroupVersionResource
GroupVersionWithResource returns the group version schema with the resource type
func (*RouteTableAdapter) Id ¶
func (a *RouteTableAdapter) Id(obj runtime.Object) string
Id returns the unique resource id via the object type method (i.e the oci id)
func (*RouteTableAdapter) IsExpectedType ¶
func (a *RouteTableAdapter) IsExpectedType(obj interface{}) bool
IsExpectedType ensures the resource type matches the adapter type
func (*RouteTableAdapter) IsResourceCompliant ¶
func (a *RouteTableAdapter) IsResourceCompliant(obj runtime.Object) bool
IsResourceCompliant checks if resource config is complient with CRD spec
func (*RouteTableAdapter) IsResourceStatusChanged ¶
func (a *RouteTableAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
IsResourceStatusChanged checks if two vcn objects are the same
func (*RouteTableAdapter) Kind ¶
func (a *RouteTableAdapter) Kind() string
Kind returns the resource kind string
func (*RouteTableAdapter) ObjectMeta ¶
func (a *RouteTableAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
ObjectMeta returns the object meta struct from the route table object
func (*RouteTableAdapter) ObjectType ¶
func (a *RouteTableAdapter) ObjectType() runtime.Object
ObjectType returns the route table type for this adapter
func (*RouteTableAdapter) Resource ¶
func (a *RouteTableAdapter) Resource() string
Resource returns the plural name of the resource type
func (*RouteTableAdapter) UpdateForResource ¶
func (a *RouteTableAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
UpdateForResource calls a common UpdateForResource method to update the route table resource in the route table object
func (*RouteTableAdapter) UpdateObject ¶
UpdateObject updates the route table object
type SecurityRuleSetAdapter ¶
type SecurityRuleSetAdapter struct {
// contains filtered or unexported fields
}
SecurityRuleSetAdapter implements the adapter interface for security rule set resource
func (*SecurityRuleSetAdapter) Copy ¶
func (a *SecurityRuleSetAdapter) Copy(obj runtime.Object) runtime.Object
Copy returns a copy of a security rule set object
func (*SecurityRuleSetAdapter) CreateObject ¶
CreateObject creates the security rule set object
func (*SecurityRuleSetAdapter) DeleteObject ¶
func (a *SecurityRuleSetAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
DeleteObject deletes the security rule set object
func (*SecurityRuleSetAdapter) Dependents ¶
func (a *SecurityRuleSetAdapter) Dependents(obj runtime.Object) map[string][]string
Dependents returns a map of security rule set dependents (objects that depend on the security rule set)
func (*SecurityRuleSetAdapter) DependsOn ¶
DependsOn returns a map of security rule set dependencies (objects that the security rule set depends on)
func (*SecurityRuleSetAdapter) DependsOnRefs ¶
DependsOnRefs returns the objects that the security rule set depends on
func (*SecurityRuleSetAdapter) Equivalent ¶
func (a *SecurityRuleSetAdapter) Equivalent(obj1, obj2 runtime.Object) bool
Equivalent checks if two security rule set objects are the same
func (*SecurityRuleSetAdapter) GroupVersionWithResource ¶
func (a *SecurityRuleSetAdapter) GroupVersionWithResource() schema.GroupVersionResource
GroupVersionWithResource returns the group version schema with the resource type
func (*SecurityRuleSetAdapter) Id ¶
func (a *SecurityRuleSetAdapter) Id(obj runtime.Object) string
Id returns the unique resource id via the object type method (i.e the oci id)
func (*SecurityRuleSetAdapter) IsExpectedType ¶
func (a *SecurityRuleSetAdapter) IsExpectedType(obj interface{}) bool
IsExpectedType ensures the resource type matches the adapter type
func (*SecurityRuleSetAdapter) IsResourceCompliant ¶
func (a *SecurityRuleSetAdapter) IsResourceCompliant(obj runtime.Object) bool
IsResourceCompliant checks if resource config is complient with CRD spec
func (*SecurityRuleSetAdapter) IsResourceStatusChanged ¶
func (a *SecurityRuleSetAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
IsResourceStatusChanged checks if two vcn objects are the same
func (*SecurityRuleSetAdapter) Kind ¶
func (a *SecurityRuleSetAdapter) Kind() string
Kind returns the resource kind string
func (*SecurityRuleSetAdapter) ObjectMeta ¶
func (a *SecurityRuleSetAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
ObjectMeta returns the object meta struct from the security rule set object
func (*SecurityRuleSetAdapter) ObjectType ¶
func (a *SecurityRuleSetAdapter) ObjectType() runtime.Object
ObjectType returns the security rule set type for this adapter
func (*SecurityRuleSetAdapter) Resource ¶
func (a *SecurityRuleSetAdapter) Resource() string
Resource returns the plural name of the resource type
func (*SecurityRuleSetAdapter) UpdateForResource ¶
func (a *SecurityRuleSetAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
UpdateForResource calls a common UpdateForResource method to update the security rule set resource in the security rule set object
func (*SecurityRuleSetAdapter) UpdateObject ¶
UpdateObject updates the security rule set object
type SubnetAdapter ¶
type SubnetAdapter struct {
// contains filtered or unexported fields
}
SubnetAdapter implements the adapter interface for volume resource
func (*SubnetAdapter) Copy ¶
func (a *SubnetAdapter) Copy(obj runtime.Object) runtime.Object
Copy returns a copy of a subnet object
func (*SubnetAdapter) CreateObject ¶
CreateObject creates the subnet object
func (*SubnetAdapter) DeleteObject ¶
func (a *SubnetAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
DeleteObject deletes the subnet object
func (*SubnetAdapter) Dependents ¶
func (a *SubnetAdapter) Dependents(obj runtime.Object) map[string][]string
Dependents returns a map of subnet dependents (objects that depend on the subnet)
func (*SubnetAdapter) DependsOn ¶
DependsOn returns a map of subnet dependencies (objects that the subnet depends on)
func (*SubnetAdapter) DependsOnRefs ¶
DependsOnRefs returns the objects that the subnet depends on
func (*SubnetAdapter) Equivalent ¶
func (a *SubnetAdapter) Equivalent(obj1, obj2 runtime.Object) bool
Equivalent checks if two subnet objects are the same
func (*SubnetAdapter) GroupVersionWithResource ¶
func (a *SubnetAdapter) GroupVersionWithResource() schema.GroupVersionResource
GroupVersionWithResource returns the group version schema with the resource type
func (*SubnetAdapter) Id ¶
func (a *SubnetAdapter) Id(obj runtime.Object) string
Id returns the unique resource id via the object type method (i.e the oci id)
func (*SubnetAdapter) IsExpectedType ¶
func (a *SubnetAdapter) IsExpectedType(obj interface{}) bool
IsExpectedType ensures the resource type matches the adapter type
func (*SubnetAdapter) IsResourceCompliant ¶
func (a *SubnetAdapter) IsResourceCompliant(obj runtime.Object) bool
IsResourceCompliant checks if resource config is complient with CRD spec
func (*SubnetAdapter) IsResourceStatusChanged ¶
func (a *SubnetAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
IsResourceStatusChanged checks if two vcn objects are the same
func (*SubnetAdapter) Kind ¶
func (a *SubnetAdapter) Kind() string
Kind returns the resource kind string
func (*SubnetAdapter) ObjectMeta ¶
func (a *SubnetAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
ObjectMeta returns the object meta struct from the subnet object
func (*SubnetAdapter) ObjectType ¶
func (a *SubnetAdapter) ObjectType() runtime.Object
ObjectType returns the subnet type for this adapter
func (*SubnetAdapter) Resource ¶
func (a *SubnetAdapter) Resource() string
Resource returns the plural name of the resource type
func (*SubnetAdapter) UpdateForResource ¶
func (a *SubnetAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
UpdateForResource calls a common UpdateForResource method to update the subnet resource in the subnet object
func (*SubnetAdapter) UpdateObject ¶
UpdateObject updates the subnet object
type VcnAdapter ¶
type VcnAdapter struct {
// contains filtered or unexported fields
}
VcnAdapter implements the adapter interface for vcn resource
func (*VcnAdapter) Copy ¶
func (a *VcnAdapter) Copy(obj runtime.Object) runtime.Object
Copy returns a copy of a vcn object
func (*VcnAdapter) CreateObject ¶
CreateObject creates the vcn object
func (*VcnAdapter) DeleteObject ¶
func (a *VcnAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
DeleteObject deletes the vcn object
func (*VcnAdapter) Dependents ¶
func (a *VcnAdapter) Dependents(obj runtime.Object) map[string][]string
Dependents returns a map of vcn dependents (objects that depend on the vcn)
func (*VcnAdapter) DependsOn ¶
DependsOn returns a map of vcn dependencies (objects that the vcn depends on)
func (*VcnAdapter) DependsOnRefs ¶
DependsOnRefs returns the objects that the vcn depends on
func (*VcnAdapter) Equivalent ¶
func (a *VcnAdapter) Equivalent(obj1, obj2 runtime.Object) bool
Equivalent checks if two vcn objects are the same
func (*VcnAdapter) GroupVersionWithResource ¶
func (a *VcnAdapter) GroupVersionWithResource() schema.GroupVersionResource
GroupVersionWithResource returns the group version schema with the resource type
func (*VcnAdapter) Id ¶
func (a *VcnAdapter) Id(obj runtime.Object) string
Id returns the unique resource id via the object type method (i.e the oci id)
func (*VcnAdapter) IsExpectedType ¶
func (a *VcnAdapter) IsExpectedType(obj interface{}) bool
IsExpectedType ensures the resource type matches the adapter type
func (*VcnAdapter) IsResourceCompliant ¶
func (a *VcnAdapter) IsResourceCompliant(obj runtime.Object) bool
IsResourceCompliant
func (*VcnAdapter) IsResourceStatusChanged ¶
func (a *VcnAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
IsResourceStatusChanged checks if two vcn objects are the same
func (*VcnAdapter) ObjectMeta ¶
func (a *VcnAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
ObjectMeta returns the object meta struct from the vcn object
func (*VcnAdapter) ObjectType ¶
func (a *VcnAdapter) ObjectType() runtime.Object
ObjectType returns the vcn type for this adapter
func (*VcnAdapter) Resource ¶
func (a *VcnAdapter) Resource() string
Resource returns the plural name of the resource type
func (*VcnAdapter) UpdateForResource ¶
func (a *VcnAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
UpdateForResource calls a common UpdateForResource method to update the vcn resource in the vcn object
func (*VcnAdapter) UpdateObject ¶
UpdateObject updates the vcn object
type VolumeAdapter ¶
type VolumeAdapter struct {
// contains filtered or unexported fields
}
VolumeAdapter implements the adapter interface for volume resource
func (*VolumeAdapter) Copy ¶
func (a *VolumeAdapter) Copy(obj runtime.Object) runtime.Object
Copy returns a copy of a volume object
func (*VolumeAdapter) CreateObject ¶
CreateObject creates the volume object
func (*VolumeAdapter) DeleteObject ¶
func (a *VolumeAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
DeleteObject deletes the volume object
func (*VolumeAdapter) Dependents ¶
func (a *VolumeAdapter) Dependents(obj runtime.Object) map[string][]string
Dependents returns a map of volume dependents (objects that depend on the volume)
func (*VolumeAdapter) DependsOn ¶
DependsOn returns a map of volume dependencies (objects that the volume depends on)
func (*VolumeAdapter) DependsOnRefs ¶
DependsOnRefs returns the objects that the volume depends on
func (*VolumeAdapter) Equivalent ¶
func (a *VolumeAdapter) Equivalent(obj1, obj2 runtime.Object) bool
Equivalent checks if two volume objects are the same
func (*VolumeAdapter) GroupVersionWithResource ¶
func (a *VolumeAdapter) GroupVersionWithResource() schema.GroupVersionResource
GroupVersionWithResource returns the group version schema with the resource type
func (*VolumeAdapter) Id ¶
func (a *VolumeAdapter) Id(obj runtime.Object) string
Id returns the unique resource id via the object type method (i.e the oci id)
func (*VolumeAdapter) IsExpectedType ¶
func (a *VolumeAdapter) IsExpectedType(obj interface{}) bool
IsExpectedType ensures the resource type matches the adapter type
func (*VolumeAdapter) IsResourceCompliant ¶
func (a *VolumeAdapter) IsResourceCompliant(obj runtime.Object) bool
IsResourceCompliant checks if resource config is complient with CRD spec
func (*VolumeAdapter) IsResourceStatusChanged ¶
func (a *VolumeAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
IsResourceStatusChanged checks if two vcn objects are the same
func (*VolumeAdapter) Kind ¶
func (a *VolumeAdapter) Kind() string
Kind returns the resource kind string
func (*VolumeAdapter) ObjectMeta ¶
func (a *VolumeAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
ObjectMeta returns the object meta struct from the volume object
func (*VolumeAdapter) ObjectType ¶
func (a *VolumeAdapter) ObjectType() runtime.Object
ObjectType returns the volume type for this adapter
func (*VolumeAdapter) Resource ¶
func (a *VolumeAdapter) Resource() string
Resource returns the plural name of the resource type
func (*VolumeAdapter) UpdateForResource ¶
func (a *VolumeAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
UpdateForResource calls a common UpdateForResource method to update the volume resource in the volume object
func (*VolumeAdapter) UpdateObject ¶
UpdateObject updates the volume object
type VolumeBackupAdapter ¶
type VolumeBackupAdapter struct {
// contains filtered or unexported fields
}
VolumeBackupAdapter implements the adapter interface for volume backup resource
func (*VolumeBackupAdapter) Copy ¶
func (a *VolumeBackupAdapter) Copy(obj runtime.Object) runtime.Object
Copy returns a copy of a volume backup object
func (*VolumeBackupAdapter) CreateObject ¶
CreateObject creates the volume backup object
func (*VolumeBackupAdapter) DeleteObject ¶
func (a *VolumeBackupAdapter) DeleteObject(obj runtime.Object, options *metav1.DeleteOptions) error
DeleteObject deletes the volume backup object
func (*VolumeBackupAdapter) Dependents ¶
func (a *VolumeBackupAdapter) Dependents(obj runtime.Object) map[string][]string
Dependents returns a map of volume backup dependents (objects that depend on the volume backup)
func (*VolumeBackupAdapter) DependsOn ¶
DependsOn returns a map of volume backup dependencies (objects that the volume backup depends on)
func (*VolumeBackupAdapter) DependsOnRefs ¶
DependsOnRefs returns the objects that the volume backup depends on
func (*VolumeBackupAdapter) Equivalent ¶
func (a *VolumeBackupAdapter) Equivalent(obj1, obj2 runtime.Object) bool
Equivalent checks if two volume backup objects are the same
func (*VolumeBackupAdapter) GroupVersionWithResource ¶
func (a *VolumeBackupAdapter) GroupVersionWithResource() schema.GroupVersionResource
GroupVersionWithResource returns the group version schema with the resource type
func (*VolumeBackupAdapter) Id ¶
func (a *VolumeBackupAdapter) Id(obj runtime.Object) string
Id returns the unique resource id via the object type method (i.e the oci id)
func (*VolumeBackupAdapter) IsExpectedType ¶
func (a *VolumeBackupAdapter) IsExpectedType(obj interface{}) bool
IsExpectedType ensures the resource type matches the adapter type
func (*VolumeBackupAdapter) IsResourceCompliant ¶
func (a *VolumeBackupAdapter) IsResourceCompliant(obj runtime.Object) bool
IsResourceCompliant checks if resource config is complient with CRD spec
func (*VolumeBackupAdapter) IsResourceStatusChanged ¶
func (a *VolumeBackupAdapter) IsResourceStatusChanged(obj1, obj2 runtime.Object) bool
IsResourceStatusChanged checks if two vcn objects are the same
func (*VolumeBackupAdapter) Kind ¶
func (a *VolumeBackupAdapter) Kind() string
Kind returns the resource kind string
func (*VolumeBackupAdapter) ObjectMeta ¶
func (a *VolumeBackupAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta
ObjectMeta returns the object meta struct from the volume backup object
func (*VolumeBackupAdapter) ObjectType ¶
func (a *VolumeBackupAdapter) ObjectType() runtime.Object
ObjectType returns the volume backup type for this adapter
func (*VolumeBackupAdapter) Resource ¶
func (a *VolumeBackupAdapter) Resource() string
Resource returns the plural name of the resource type
func (*VolumeBackupAdapter) UpdateForResource ¶
func (a *VolumeBackupAdapter) UpdateForResource(resource schema.GroupVersionResource, obj runtime.Object) (runtime.Object, error)
UpdateForResource calls a common UpdateForResource method to update the volume backup resource in the volume backup object
func (*VolumeBackupAdapter) UpdateObject ¶
UpdateObject updates the volume backup object