Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=ocicore.oracle.com
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type BootVolumeResource
- type DhcpOption
- func (s *DhcpOption) AddDependent(kind string, obj runtime.Object) error
- func (in *DhcpOption) DeepCopy() *DhcpOption
- func (in *DhcpOption) DeepCopyInto(out *DhcpOption)
- func (in *DhcpOption) DeepCopyObject() runtime.Object
- func (s *DhcpOption) GetGroupVersionResource() schema.GroupVersionResource
- func (s *DhcpOption) GetResourceID() string
- func (s *DhcpOption) GetResourcePlural() string
- func (s *DhcpOption) GetResourceState() common.ResourceState
- func (s *DhcpOption) IsDependentRegistered(kind string, obj runtime.Object) (bool, error)
- func (s *DhcpOption) IsResource() bool
- func (s *DhcpOption) RemoveDependent(kind string, obj runtime.Object) error
- func (s *DhcpOption) SetResource(r *ocisdkcore.DhcpOptions) *DhcpOption
- type DhcpOptionList
- type DhcpOptionResource
- type DhcpOptionSpec
- type DhcpOptionStatus
- type Instance
- func (s *Instance) AddDependent(kind string, obj runtime.Object) error
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (s *Instance) GetGroupVersionResource() schema.GroupVersionResource
- func (s *Instance) GetResourceID() string
- func (s *Instance) GetResourceLifecycleState() string
- func (s *Instance) GetResourcePlural() string
- func (s *Instance) GetResourceState() common.ResourceState
- func (s *Instance) IsDependentRegistered(kind string, obj runtime.Object) (bool, error)
- func (s *Instance) IsResource() bool
- func (s *Instance) RemoveDependent(kind string, obj runtime.Object) error
- func (s *Instance) SetResource(r *ocisdkcore.Instance) *Instance
- type InstanceList
- type InstanceResource
- type InstanceSpec
- type InstanceStatus
- type InternetGateway
- func (s *InternetGateway) AddDependent(kind string, obj runtime.Object) error
- func (in *InternetGateway) DeepCopy() *InternetGateway
- func (in *InternetGateway) DeepCopyInto(out *InternetGateway)
- func (in *InternetGateway) DeepCopyObject() runtime.Object
- func (s *InternetGateway) GetGroupVersionResource() schema.GroupVersionResource
- func (s *InternetGateway) GetResourceID() string
- func (s *InternetGateway) GetResourcePlural() string
- func (s *InternetGateway) GetResourceState() common.ResourceState
- func (s *InternetGateway) IsDependentRegistered(kind string, obj runtime.Object) (bool, error)
- func (s *InternetGateway) IsResource() bool
- func (s *InternetGateway) RemoveDependent(kind string, obj runtime.Object) error
- func (s *InternetGateway) SetResource(r *ocisdkcore.InternetGateway) *InternetGateway
- type InternetGatewayList
- type InternetGatewayResource
- type InternetGatewaySpec
- type InternetGatewayStatus
- type PVVolumeAttachment
- type PrimaryVnicResource
- type RouteRule
- type RouteTable
- func (s *RouteTable) AddDependent(kind string, obj runtime.Object) error
- func (in *RouteTable) DeepCopy() *RouteTable
- func (in *RouteTable) DeepCopyInto(out *RouteTable)
- func (in *RouteTable) DeepCopyObject() runtime.Object
- func (s *RouteTable) GetGroupVersionResource() schema.GroupVersionResource
- func (s *RouteTable) GetResourceID() string
- func (s *RouteTable) GetResourcePlural() string
- func (s *RouteTable) GetResourceState() common.ResourceState
- func (s *RouteTable) IsDependentRegistered(kind string, obj runtime.Object) (bool, error)
- func (s *RouteTable) IsResource() bool
- func (s *RouteTable) RemoveDependent(kind string, obj runtime.Object) error
- func (s *RouteTable) SetResource(r *ocisdkcore.RouteTable) *RouteTable
- type RouteTableList
- type RouteTableResource
- type RouteTableSpec
- type RouteTableStatus
- type SCSIVolumeAttachment
- type SecurityRuleSet
- func (s *SecurityRuleSet) AddDependent(kind string, obj runtime.Object) error
- func (in *SecurityRuleSet) DeepCopy() *SecurityRuleSet
- func (in *SecurityRuleSet) DeepCopyInto(out *SecurityRuleSet)
- func (in *SecurityRuleSet) DeepCopyObject() runtime.Object
- func (s *SecurityRuleSet) GetGroupVersionResource() schema.GroupVersionResource
- func (s *SecurityRuleSet) GetResourceID() string
- func (s *SecurityRuleSet) GetResourcePlural() string
- func (s *SecurityRuleSet) GetResourceState() common.ResourceState
- func (s *SecurityRuleSet) IsDependentRegistered(kind string, obj runtime.Object) (bool, error)
- func (s *SecurityRuleSet) IsResource() bool
- func (s *SecurityRuleSet) RemoveDependent(kind string, obj runtime.Object) error
- func (s *SecurityRuleSet) SetResource(r *ocisdkcore.SecurityList) *SecurityRuleSet
- type SecurityRuleSetList
- type SecurityRuleSetResource
- type SecurityRuleSetSpec
- type SecurityRuleSetStatus
- type Subnet
- func (s *Subnet) AddDependent(kind string, obj runtime.Object) error
- func (in *Subnet) DeepCopy() *Subnet
- func (in *Subnet) DeepCopyInto(out *Subnet)
- func (in *Subnet) DeepCopyObject() runtime.Object
- func (s *Subnet) GetGroupVersionResource() schema.GroupVersionResource
- func (s *Subnet) GetResourceID() string
- func (s *Subnet) GetResourceLifecycleState() string
- func (s *Subnet) GetResourcePlural() string
- func (s *Subnet) GetResourceState() common.ResourceState
- func (s *Subnet) IsDependentRegistered(kind string, obj runtime.Object) (bool, error)
- func (s *Subnet) IsResource() bool
- func (s *Subnet) RemoveDependent(kind string, obj runtime.Object) error
- func (s *Subnet) SetResource(r *ocisdkcore.Subnet) *Subnet
- type SubnetList
- type SubnetResource
- type SubnetSpec
- type SubnetStatus
- type Vcn
- func (s *Vcn) AddDependent(kind string, obj runtime.Object) error
- func (in *Vcn) DeepCopy() *Vcn
- func (in *Vcn) DeepCopyInto(out *Vcn)
- func (in *Vcn) DeepCopyObject() runtime.Object
- func (s *Vcn) GetGroupVersionResource() schema.GroupVersionResource
- func (s *Vcn) GetResourceID() string
- func (s *Vcn) GetResourceLifecycleState() string
- func (s *Vcn) GetResourcePlural() string
- func (s *Vcn) GetResourceState() common.ResourceState
- func (s *Vcn) IsDependentRegistered(kind string, obj runtime.Object) (bool, error)
- func (s *Vcn) IsResource() bool
- func (s *Vcn) RemoveDependent(kind string, obj runtime.Object) error
- func (s *Vcn) SetResource(r *ocisdkcore.Vcn) *Vcn
- type VcnList
- type VcnResource
- type VcnSpec
- type VcnStatus
- type Volume
- func (s *Volume) AddDependent(kind string, obj runtime.Object) error
- func (in *Volume) DeepCopy() *Volume
- func (in *Volume) DeepCopyInto(out *Volume)
- func (in *Volume) DeepCopyObject() runtime.Object
- func (s *Volume) GetGroupVersionResource() schema.GroupVersionResource
- func (s *Volume) GetResourceID() string
- func (s *Volume) GetResourceLifecycleState() string
- func (s *Volume) GetResourcePlural() string
- func (s *Volume) GetResourceState() common.ResourceState
- func (s *Volume) IsDependentRegistered(kind string, obj runtime.Object) (bool, error)
- func (s *Volume) IsResource() bool
- func (s *Volume) RemoveDependent(kind string, obj runtime.Object) error
- func (s *Volume) SetAttachment(atype string, r *ocisdkcore.VolumeAttachment) *Volume
- func (s *Volume) SetResource(r *ocisdkcore.Volume) *Volume
- type VolumeAttachment
- type VolumeBackup
- func (s *VolumeBackup) AddDependent(kind string, obj runtime.Object) error
- func (in *VolumeBackup) DeepCopy() *VolumeBackup
- func (in *VolumeBackup) DeepCopyInto(out *VolumeBackup)
- func (in *VolumeBackup) DeepCopyObject() runtime.Object
- func (s *VolumeBackup) GetGroupVersionResource() schema.GroupVersionResource
- func (s *VolumeBackup) GetResourceID() string
- func (s *VolumeBackup) GetResourceLifecycleState() string
- func (s *VolumeBackup) GetResourcePlural() string
- func (s *VolumeBackup) GetResourceState() common.ResourceState
- func (s *VolumeBackup) IsDependentRegistered(kind string, obj runtime.Object) (bool, error)
- func (s *VolumeBackup) IsResource() bool
- func (s *VolumeBackup) RemoveDependent(kind string, obj runtime.Object) error
- func (s *VolumeBackup) SetResource(r *ocisdkcore.VolumeBackup) *VolumeBackup
- type VolumeBackupList
- type VolumeBackupResource
- type VolumeBackupSpec
- type VolumeBackupStatus
- type VolumeList
- type VolumeResource
- type VolumeSpec
- type VolumeStatus
Constants ¶
const ( DhcpOptionKind = "DhcpOption" DhcpOptionResourcePlural = "dhcpoptions" DhcpOptionControllerName = "dhcpoptions" )
DhcpOption names
const ( InstanceKind = "Instance" InstanceResourcePlural = "instances" InstanceControllerName = "instances" )
Instance names
const ( InternetGatewayKind = "InternetGateway" InternetGatewayResourcePlural = "internetgatewaies" InternetGatewayControllerName = "internetgatewaies" )
InternetGateway names
const ( RouteTableKind = "RouteTable" RouteTableResourcePlural = "routetables" RouteTableControllerName = "routetables" )
RouteTable names
const ( SecurityRuleSetKind = "SecurityRuleSet" SecurityRuleSetResourcePlural = "securityrulesets" SecurityRuleSetControllerName = "securityrulesets" )
SecurityRuleSet names NOTE: The name SecurityRuleSet is different from the OCI resource name SecurityList because k8s does not support CRD names that end with "List"
const ( SubnetKind = "Subnet" SubnetResourcePlural = "subnets" SubnetControllerName = "subnets" )
Subnet names
const ( VirtualNetworkKind = "Vcn" VirtualNetworkResourcePlural = "vcns" VirtualNetworkControllerName = "vcns" )
Vcn names
const ( VolumeKind = "Volume" VolumeResourcePlural = "volumes" VolumeControllerName = "volumes" )
Volume names
const ( VolumeBackupKind = "VolumeBackup" VolumeBackupResourcePlural = "volumebackups" VolumeBackupControllerName = "volumebackups" )
VolumeBackup names
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
Register scheme and api resources
var DhcpOptionValidation = apiextv1beta1.CustomResourceValidation{ OpenAPIV3Schema: &apiextv1beta1.JSONSchemaProps{ Properties: map[string]apiextv1beta1.JSONSchemaProps{ "metadata": common.MetaDataValidation, "spec": { Required: []string{"compartmentRef", "vcnRef"}, Properties: map[string]apiextv1beta1.JSONSchemaProps{ "compartmentRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "vcnRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "displayName": { Type: common.ValidationTypeString, Pattern: common.HostnameValidationRegex, }, "options": { Type: common.ValidationTypeArray, }, }, }, }, }, }
DhcpOptionValidation describes the dhcp options validation schema
var InstanceValidation = apiextv1beta1.CustomResourceValidation{ OpenAPIV3Schema: &apiextv1beta1.JSONSchemaProps{ Properties: map[string]apiextv1beta1.JSONSchemaProps{ "metadata": common.MetaDataValidation, "spec": { Required: []string{"compartmentRef", "subnetRef", "image", "shape"}, Properties: map[string]apiextv1beta1.JSONSchemaProps{ "compartmentRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "subnetRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "availabilityDomain": { Type: common.ValidationTypeString, Pattern: common.AvailabilityDomainValidationRegex, }, "displayName": { Type: common.ValidationTypeString, Pattern: common.HostnameValidationRegex, }, "hostnameLabel": { Type: common.ValidationTypeString, Pattern: common.HostnameValidationRegex, }, "image": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "ipxeScript": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "shape": { Type: common.ValidationTypeString, Pattern: "^BM\\.|^VM\\.", }, }, }, }, }, }
InstanceValidation describes the instance validation schema
var InternetGatewayValidation = apiextv1beta1.CustomResourceValidation{ OpenAPIV3Schema: &apiextv1beta1.JSONSchemaProps{ Properties: map[string]apiextv1beta1.JSONSchemaProps{ "metadata": common.MetaDataValidation, "spec": { Required: []string{"compartmentRef", "vcnRef", "isEnabled"}, Properties: map[string]apiextv1beta1.JSONSchemaProps{ "compartmentRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "vcnRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "displayName": { Type: common.ValidationTypeString, Pattern: common.HostnameValidationRegex, }, "isEnabled": { Type: common.ValidationTypeBoolean, }, }, }, }, }, }
InternetGatewayValidation describes the internet gateway validation schema
var RouteTableValidation = apiextv1beta1.CustomResourceValidation{ OpenAPIV3Schema: &apiextv1beta1.JSONSchemaProps{ Properties: map[string]apiextv1beta1.JSONSchemaProps{ "metadata": common.MetaDataValidation, "spec": { Required: []string{"compartmentRef", "vcnRef", "routeRules"}, Properties: map[string]apiextv1beta1.JSONSchemaProps{ "compartmentRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "vcnRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "displayName": { Type: common.ValidationTypeString, Pattern: common.HostnameValidationRegex, }, "routeRules": { Type: common.ValidationTypeArray, }, }, }, }, }, }
RouteTableValidation describes the route table validation schema
var SchemeGroupVersion = schema.GroupVersion{Group: group.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is the group version used to register these objects.
var SecurityRuleSetValidation = apiextv1beta1.CustomResourceValidation{ OpenAPIV3Schema: &apiextv1beta1.JSONSchemaProps{ Properties: map[string]apiextv1beta1.JSONSchemaProps{ "metadata": common.MetaDataValidation, "spec": { Required: []string{"compartmentRef", "vcnRef", "egressSecurityRules", "ingressSecurityRules"}, Properties: map[string]apiextv1beta1.JSONSchemaProps{ "compartmentRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "vcnRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "displayName": { Type: common.ValidationTypeString, Pattern: common.HostnameValidationRegex, }, "egressSecurityRules": { Type: common.ValidationTypeArray, }, "ingressSecurityRules": { Type: common.ValidationTypeArray, }}, }, }, }, }
SecurityRuleSetValidation describes the security rule set validation schema
var SubnetValidation = apiextv1beta1.CustomResourceValidation{ OpenAPIV3Schema: &apiextv1beta1.JSONSchemaProps{ Properties: map[string]apiextv1beta1.JSONSchemaProps{ "metadata": common.MetaDataValidation, "spec": { Required: []string{"compartmentRef", "routetableRef", "securityrulesetRefs", "vcnRef", "dnsLabel", "cidrBlock"}, Properties: map[string]apiextv1beta1.JSONSchemaProps{ "compartmentRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "routetableRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "securityrulesetRefs": { Type: common.ValidationTypeArray, }, "vcnRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "availabilityDomain": { Type: common.ValidationTypeString, Pattern: common.AvailabilityDomainValidationRegex, }, "cidrBlock": { Type: common.ValidationTypeString, Pattern: common.CidrValidationRegex, }, "displayName": { Type: common.ValidationTypeString, Pattern: common.HostnameValidationRegex, }, "dnsLabel": { Type: common.ValidationTypeString, Pattern: common.HostnameValidationRegex, }, }, }, }, }, }
SubnetValidation describes the subnet validation schema
var VcnValidation = apiextv1beta1.CustomResourceValidation{ OpenAPIV3Schema: &apiextv1beta1.JSONSchemaProps{ Properties: map[string]apiextv1beta1.JSONSchemaProps{ "metadata": common.MetaDataValidation, "spec": { Required: []string{"compartmentRef", "cidrBlock", "dnsLabel"}, Properties: map[string]apiextv1beta1.JSONSchemaProps{ "compartmentRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "cidrBlock": { Type: common.ValidationTypeString, Pattern: common.CidrValidationRegex, }, "displayName": { Type: common.ValidationTypeString, Pattern: common.HostnameValidationRegex, }, "dnsLabel": { Type: common.ValidationTypeString, Pattern: common.HostnameValidationRegex, }, "vcnDomainName": { Type: common.ValidationTypeString, }, }, }, }, }, }
VcnValidation describes the vcn validation schema
var VolumeBackupValidation = apiextv1beta1.CustomResourceValidation{ OpenAPIV3Schema: &apiextv1beta1.JSONSchemaProps{ Properties: map[string]apiextv1beta1.JSONSchemaProps{ "metadata": common.MetaDataValidation, "spec": { Required: []string{"volumeRef", "type"}, Properties: map[string]apiextv1beta1.JSONSchemaProps{ "displayName": { Type: common.ValidationTypeString, Pattern: common.HostnameValidationRegex, }, "type": { Type: common.ValidationTypeString, Pattern: "^FULL$|^INCREMENTAL$", }, "volumeRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, }, }, }, }, }
VolumeBackupValidation describes the volume backup validation schema
var VolumeValidation = apiextv1beta1.CustomResourceValidation{ OpenAPIV3Schema: &apiextv1beta1.JSONSchemaProps{ Properties: map[string]apiextv1beta1.JSONSchemaProps{ "metadata": common.MetaDataValidation, "spec": { Required: []string{"compartmentRef", "instanceRef", "availabilityDomain", "sizeInGBs"}, Properties: map[string]apiextv1beta1.JSONSchemaProps{ "compartmentRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "instanceRef": { Type: common.ValidationTypeString, Pattern: common.AnyStringValidationRegex, }, "attachmentType": { Type: common.ValidationTypeString, Pattern: "iscsi|paravirtualized", }, "availabilityDomain": { Type: common.ValidationTypeString, Pattern: common.AvailabilityDomainValidationRegex, }, "displayName": { Type: common.ValidationTypeString, Pattern: common.HostnameValidationRegex, }, "sizeInGBs": { Type: common.ValidationTypeInteger, Minimum: &minVolumeSizeInGBs, Maximum: &maxVolumeSizeInGBs, }, }, }, }, }, }
VolumeValidation describes the volume validation schema
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group-qualified GroupResource.
Types ¶
type BootVolumeResource ¶
type BootVolumeResource struct {
ocisdkcore.BootVolume
}
BootVolumeResource describes the boot volume associated with the instance from oci
func (*BootVolumeResource) DeepCopy ¶
func (in *BootVolumeResource) DeepCopy() (out *BootVolumeResource)
DeepCopy the boot volume oci resource of the instance
func (*BootVolumeResource) DeepCopyInto ¶
func (in *BootVolumeResource) DeepCopyInto(out *BootVolumeResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DhcpOption ¶
type DhcpOption struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec DhcpOptionSpec `json:"spec"` Status DhcpOptionStatus `json:"status,omitempty"` }
DhcpOption describes a dhcp options
func (*DhcpOption) AddDependent ¶
func (s *DhcpOption) AddDependent(kind string, obj runtime.Object) error
AddDependent adds a dhcp options dependent
func (*DhcpOption) DeepCopy ¶
func (in *DhcpOption) DeepCopy() *DhcpOption
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpOption.
func (*DhcpOption) DeepCopyInto ¶
func (in *DhcpOption) DeepCopyInto(out *DhcpOption)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DhcpOption) DeepCopyObject ¶
func (in *DhcpOption) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DhcpOption) GetGroupVersionResource ¶
func (s *DhcpOption) GetGroupVersionResource() schema.GroupVersionResource
GetGroupVersionResource returns group version of the dhcp options type
func (*DhcpOption) GetResourceID ¶
func (s *DhcpOption) GetResourceID() string
GetResourceID returns oci id of the dhcp options
func (*DhcpOption) GetResourcePlural ¶
func (s *DhcpOption) GetResourcePlural() string
GetResourcePlural returns plural name of the dhcp options type
func (*DhcpOption) GetResourceState ¶
func (s *DhcpOption) GetResourceState() common.ResourceState
GetResourceState returns the current state of the resource
func (*DhcpOption) IsDependentRegistered ¶
IsDependentRegistered returns true if the dhcp options dependent is registered
func (*DhcpOption) IsResource ¶
func (s *DhcpOption) IsResource() bool
IsResource returns true if there is an oci id and state is available, otherwise false
func (*DhcpOption) RemoveDependent ¶
func (s *DhcpOption) RemoveDependent(kind string, obj runtime.Object) error
RemoveDependent removes a dhcp options dependent
func (*DhcpOption) SetResource ¶
func (s *DhcpOption) SetResource(r *ocisdkcore.DhcpOptions) *DhcpOption
SetResource sets the resource in the status of the dhcp options
type DhcpOptionList ¶
type DhcpOptionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []DhcpOption `json:"items"` }
DhcpOptionList is a list of DhcpOption items
func (*DhcpOptionList) DeepCopy ¶
func (in *DhcpOptionList) DeepCopy() *DhcpOptionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpOptionList.
func (*DhcpOptionList) DeepCopyInto ¶
func (in *DhcpOptionList) DeepCopyInto(out *DhcpOptionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DhcpOptionList) DeepCopyObject ¶
func (in *DhcpOptionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DhcpOptionResource ¶
type DhcpOptionResource struct {
ocisdkcore.DhcpOptions
}
DhcpOptionResource describes a dhcp options resource from oci
func (*DhcpOptionResource) DeepCopy ¶
func (in *DhcpOptionResource) DeepCopy() (out *DhcpOptionResource)
DeepCopy the dhcp options oci resource
func (*DhcpOptionResource) DeepCopyInto ¶
func (in *DhcpOptionResource) DeepCopyInto(out *DhcpOptionResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DhcpOptionSpec ¶
type DhcpOptionSpec struct { CompartmentRef string `json:"compartmentRef"` VcnRef string `json:"vcnRef"` DisplayName string `json:"displayName,omitempty"` Options []ocisdkcore.DhcpOption `json:"options"` common.Dependency }
DhcpOptionSpec describes a dhcp options spec
func (*DhcpOptionSpec) DeepCopy ¶
func (in *DhcpOptionSpec) DeepCopy() (out *DhcpOptionSpec)
DeepCopy the dhcp options spec
func (*DhcpOptionSpec) DeepCopyInto ¶
func (in *DhcpOptionSpec) DeepCopyInto(out *DhcpOptionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DhcpOptionStatus ¶
type DhcpOptionStatus struct { common.ResourceStatus Resource *DhcpOptionResource `json:"resource,omitempty"` }
DhcpOptionStatus describes a dhcp options status
func (*DhcpOptionStatus) DeepCopy ¶
func (in *DhcpOptionStatus) DeepCopy() *DhcpOptionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpOptionStatus.
func (*DhcpOptionStatus) DeepCopyInto ¶
func (in *DhcpOptionStatus) DeepCopyInto(out *DhcpOptionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status,omitempty"` }
Instance describes an instance
func (*Instance) AddDependent ¶
AddDependent adds an instance dependent
func (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instance) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Instance) GetGroupVersionResource ¶
func (s *Instance) GetGroupVersionResource() schema.GroupVersionResource
GetGroupVersionResource returns the group version of the instance type
func (*Instance) GetResourceID ¶
GetResourceID returns the oci id of the instance
func (*Instance) GetResourceLifecycleState ¶
GetResourceLifecycleState returns the current state of the instance
func (*Instance) GetResourcePlural ¶
GetResourcePlural returns the plural name of instance type
func (*Instance) GetResourceState ¶
func (s *Instance) GetResourceState() common.ResourceState
GetResourceState returns the current state of the iresource
func (*Instance) IsDependentRegistered ¶
IsDependentRegistered returns true if the instance dependent is registered
func (*Instance) IsResource ¶
IsResource returns true if there is an oci id and it's in a running state, otherwise false
func (*Instance) RemoveDependent ¶
RemoveDependent removes an instance dependent
func (*Instance) SetResource ¶
func (s *Instance) SetResource(r *ocisdkcore.Instance) *Instance
SetResource sets the resource in status of the instance
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Instance `json:"items"` }
InstanceList is a list of Instance items
func (*InstanceList) DeepCopy ¶
func (in *InstanceList) DeepCopy() *InstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList.
func (*InstanceList) DeepCopyInto ¶
func (in *InstanceList) DeepCopyInto(out *InstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceList) DeepCopyObject ¶
func (in *InstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InstanceResource ¶
type InstanceResource struct {
ocisdkcore.Instance
}
InstanceResource describes an instance resource from oci
func (*InstanceResource) DeepCopy ¶
func (in *InstanceResource) DeepCopy() (out *InstanceResource)
DeepCopy the instance oci resource
func (*InstanceResource) DeepCopyInto ¶
func (in *InstanceResource) DeepCopyInto(out *InstanceResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpec ¶
type InstanceSpec struct { CompartmentRef string `json:"compartmentRef"` SubnetRef string `json:"subnetRef"` AvailabilityDomain string `json:"availabilityDomain"` DisplayName string `json:"displayName,omitempty"` HostnameLabel string `json:"hostnameLabel,omitempty"` Image string `json:"image"` IpxeScript string `json:"ipxeScript,omitempty"` Shape string `json:"shape"` Metadata map[string]string `json:"metadata,omitempty"` ExtendedMetadata map[string]interface{} `json:"extendedMetadata,omitempty"` common.Dependency }
InstanceSpec describes an instance spec
func (*InstanceSpec) DeepCopy ¶
func (in *InstanceSpec) DeepCopy() *InstanceSpec
DeepCopy the instance spec
func (*InstanceSpec) DeepCopyInto ¶
func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus struct { common.ResourceStatus Resource *InstanceResource `json:"resource,omitempty"` PrimaryVnic *PrimaryVnicResource `json:"primaryVnic,omitempty"` BootVolume *BootVolumeResource `json:"bootVolume,omitempty"` }
InstanceStatus describes an instance status
func (*InstanceStatus) DeepCopy ¶
func (in *InstanceStatus) DeepCopy() *InstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus.
func (*InstanceStatus) DeepCopyInto ¶
func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternetGateway ¶
type InternetGateway struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec InternetGatewaySpec `json:"spec"` Status InternetGatewayStatus `json:"status,omitempty"` }
InternetGateway describes an internet gateway
func (*InternetGateway) AddDependent ¶
func (s *InternetGateway) AddDependent(kind string, obj runtime.Object) error
AddDependent adds an internet gateway dependent
func (*InternetGateway) DeepCopy ¶
func (in *InternetGateway) DeepCopy() *InternetGateway
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGateway.
func (*InternetGateway) DeepCopyInto ¶
func (in *InternetGateway) DeepCopyInto(out *InternetGateway)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InternetGateway) DeepCopyObject ¶
func (in *InternetGateway) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InternetGateway) GetGroupVersionResource ¶
func (s *InternetGateway) GetGroupVersionResource() schema.GroupVersionResource
GetGroupVersionResource returns the group version of the internet gateway type
func (*InternetGateway) GetResourceID ¶
func (s *InternetGateway) GetResourceID() string
GetResourceID returns the oci id of the internet gateway
func (*InternetGateway) GetResourcePlural ¶
func (s *InternetGateway) GetResourcePlural() string
GetResourcePlural returns the plural name of internet gateway type
func (*InternetGateway) GetResourceState ¶
func (s *InternetGateway) GetResourceState() common.ResourceState
GetResourceState returns the current state of the iresource
func (*InternetGateway) IsDependentRegistered ¶
IsDependentRegistered returns true if the internet gateway dependent is registered
func (*InternetGateway) IsResource ¶
func (s *InternetGateway) IsResource() bool
IsResource returns true if there is an oci id, otherwise false
func (*InternetGateway) RemoveDependent ¶
func (s *InternetGateway) RemoveDependent(kind string, obj runtime.Object) error
RemoveDependent removes an internet gateway dependent
func (*InternetGateway) SetResource ¶
func (s *InternetGateway) SetResource(r *ocisdkcore.InternetGateway) *InternetGateway
SetResource sets the resource in status of the internet gateway
type InternetGatewayList ¶
type InternetGatewayList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []InternetGateway `json:"items"` }
InternetGatewayList is a list of InternetGateway items
func (*InternetGatewayList) DeepCopy ¶
func (in *InternetGatewayList) DeepCopy() *InternetGatewayList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayList.
func (*InternetGatewayList) DeepCopyInto ¶
func (in *InternetGatewayList) DeepCopyInto(out *InternetGatewayList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InternetGatewayList) DeepCopyObject ¶
func (in *InternetGatewayList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InternetGatewayResource ¶
type InternetGatewayResource struct {
ocisdkcore.InternetGateway
}
InternetGatewayResource describes an internet gateway resource from oci
func (*InternetGatewayResource) DeepCopy ¶
func (in *InternetGatewayResource) DeepCopy() (out *InternetGatewayResource)
DeepCopy the internet gateway oci resource
func (*InternetGatewayResource) DeepCopyInto ¶
func (in *InternetGatewayResource) DeepCopyInto(out *InternetGatewayResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternetGatewaySpec ¶
type InternetGatewaySpec struct { CompartmentRef string `json:"compartmentRef"` VcnRef string `json:"vcnRef"` DisplayName string `json:"displayName,omitempty"` IsEnabled bool `json:"isEnabled"` common.Dependency }
InternetGatewaySpec describes an internet gateway spec
func (*InternetGatewaySpec) DeepCopy ¶
func (in *InternetGatewaySpec) DeepCopy() *InternetGatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewaySpec.
func (*InternetGatewaySpec) DeepCopyInto ¶
func (in *InternetGatewaySpec) DeepCopyInto(out *InternetGatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternetGatewayStatus ¶
type InternetGatewayStatus struct { common.ResourceStatus Resource *InternetGatewayResource `json:"resource,omitempty"` }
InternetGatewayStatus describes an internet gateway status
func (*InternetGatewayStatus) DeepCopy ¶
func (in *InternetGatewayStatus) DeepCopy() *InternetGatewayStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayStatus.
func (*InternetGatewayStatus) DeepCopyInto ¶
func (in *InternetGatewayStatus) DeepCopyInto(out *InternetGatewayStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PVVolumeAttachment ¶
type PVVolumeAttachment struct {
VolumeAttachment ocisdkcore.ParavirtualizedVolumeAttachment
}
PVVolumeAttachment describes a paravirtualized volume attachment
func (*PVVolumeAttachment) DeepCopy ¶
func (in *PVVolumeAttachment) DeepCopy() *PVVolumeAttachment
DeepCopy the paravirtualized volume attachment
func (*PVVolumeAttachment) DeepCopyInto ¶
func (in *PVVolumeAttachment) DeepCopyInto(out *PVVolumeAttachment)
DeepCopyInto the paravirtualized volume attachment
type PrimaryVnicResource ¶
type PrimaryVnicResource struct {
ocisdkcore.Vnic
}
PrimaryVnicResource describes the primary vnic associated with the instance from oci
func (*PrimaryVnicResource) DeepCopy ¶
func (in *PrimaryVnicResource) DeepCopy() (out *PrimaryVnicResource)
DeepCopy the primary vnic oci resource of the instance
func (*PrimaryVnicResource) DeepCopyInto ¶
func (in *PrimaryVnicResource) DeepCopyInto(out *PrimaryVnicResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteRule ¶
type RouteRule struct { CidrBlock string `json:"cidrBlock"` NetworkEntityID string `json:"networkEntityId"` }
RouteRule describes a route rule in the route table
func (*RouteRule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteRule.
func (*RouteRule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteTable ¶
type RouteTable struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec RouteTableSpec `json:"spec"` Status RouteTableStatus `json:"status,omitempty"` }
RouteTable describes a route table
func (*RouteTable) AddDependent ¶
func (s *RouteTable) AddDependent(kind string, obj runtime.Object) error
AddDependent adds a route table dependent
func (*RouteTable) DeepCopy ¶
func (in *RouteTable) DeepCopy() *RouteTable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTable.
func (*RouteTable) DeepCopyInto ¶
func (in *RouteTable) DeepCopyInto(out *RouteTable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RouteTable) DeepCopyObject ¶
func (in *RouteTable) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RouteTable) GetGroupVersionResource ¶
func (s *RouteTable) GetGroupVersionResource() schema.GroupVersionResource
GetGroupVersionResource returns the group version of the route table type
func (*RouteTable) GetResourceID ¶
func (s *RouteTable) GetResourceID() string
GetResourceID returns the oci id of the route table
func (*RouteTable) GetResourcePlural ¶
func (s *RouteTable) GetResourcePlural() string
GetResourcePlural returns the plural name of the route table type
func (*RouteTable) GetResourceState ¶
func (s *RouteTable) GetResourceState() common.ResourceState
GetResourceState returns the current state of the iresource
func (*RouteTable) IsDependentRegistered ¶
IsDependentRegistered returns true if the route table dependent is registered
func (*RouteTable) IsResource ¶
func (s *RouteTable) IsResource() bool
IsResource returns true if there is an oci id, otherwise false
func (*RouteTable) RemoveDependent ¶
func (s *RouteTable) RemoveDependent(kind string, obj runtime.Object) error
RemoveDependent removes a route table dependent
func (*RouteTable) SetResource ¶
func (s *RouteTable) SetResource(r *ocisdkcore.RouteTable) *RouteTable
SetResource sets the resource in the status of the route table
type RouteTableList ¶
type RouteTableList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []RouteTable `json:"items"` }
RouteTableList is a list of RouteTable items
func (*RouteTableList) DeepCopy ¶
func (in *RouteTableList) DeepCopy() *RouteTableList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTableList.
func (*RouteTableList) DeepCopyInto ¶
func (in *RouteTableList) DeepCopyInto(out *RouteTableList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RouteTableList) DeepCopyObject ¶
func (in *RouteTableList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteTableResource ¶
type RouteTableResource struct {
ocisdkcore.RouteTable
}
RouteTableResource describes a route table resource from oci
func (*RouteTableResource) DeepCopy ¶
func (in *RouteTableResource) DeepCopy() (out *RouteTableResource)
DeepCopy the route table oci resource
func (*RouteTableResource) DeepCopyInto ¶
func (in *RouteTableResource) DeepCopyInto(out *RouteTableResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteTableSpec ¶
type RouteTableSpec struct { CompartmentRef string `json:"compartmentRef"` VcnRef string `json:"vcnRef"` DisplayName string `json:"displayName,omitempty"` RouteRules []RouteRule `json:"routeRules"` common.Dependency }
RouteTableSpec describes a route table spec
func (*RouteTableSpec) DeepCopy ¶
func (in *RouteTableSpec) DeepCopy() *RouteTableSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTableSpec.
func (*RouteTableSpec) DeepCopyInto ¶
func (in *RouteTableSpec) DeepCopyInto(out *RouteTableSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteTableStatus ¶
type RouteTableStatus struct { common.ResourceStatus Resource *RouteTableResource `json:"resource,omitempty"` }
RouteTableStatus describes a route table status
func (*RouteTableStatus) DeepCopy ¶
func (in *RouteTableStatus) DeepCopy() *RouteTableStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTableStatus.
func (*RouteTableStatus) DeepCopyInto ¶
func (in *RouteTableStatus) DeepCopyInto(out *RouteTableStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SCSIVolumeAttachment ¶
type SCSIVolumeAttachment struct {
VolumeAttachment ocisdkcore.IScsiVolumeAttachment
}
SCSIVolumeAttachment describes an iscsi volume attachment
func (*SCSIVolumeAttachment) DeepCopy ¶
func (in *SCSIVolumeAttachment) DeepCopy() *SCSIVolumeAttachment
DeepCopy the iscsi volume attachment
func (*SCSIVolumeAttachment) DeepCopyInto ¶
func (in *SCSIVolumeAttachment) DeepCopyInto(out *SCSIVolumeAttachment)
DeepCopyInto the iscsi volume attachment
type SecurityRuleSet ¶
type SecurityRuleSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec SecurityRuleSetSpec `json:"spec"` Status SecurityRuleSetStatus `json:"status,omitempty"` }
SecurityRuleSet describes a security rule set
func (*SecurityRuleSet) AddDependent ¶
func (s *SecurityRuleSet) AddDependent(kind string, obj runtime.Object) error
AddDependent adds a security rule set dependent
func (*SecurityRuleSet) DeepCopy ¶
func (in *SecurityRuleSet) DeepCopy() *SecurityRuleSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityRuleSet.
func (*SecurityRuleSet) DeepCopyInto ¶
func (in *SecurityRuleSet) DeepCopyInto(out *SecurityRuleSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecurityRuleSet) DeepCopyObject ¶
func (in *SecurityRuleSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecurityRuleSet) GetGroupVersionResource ¶
func (s *SecurityRuleSet) GetGroupVersionResource() schema.GroupVersionResource
GetGroupVersionResource returns the group version name of the security rule set type
func (*SecurityRuleSet) GetResourceID ¶
func (s *SecurityRuleSet) GetResourceID() string
GetResourceID returns the oci id of the security rule set
func (*SecurityRuleSet) GetResourcePlural ¶
func (s *SecurityRuleSet) GetResourcePlural() string
GetResourcePlural returns the plural name of the security rule set type
func (*SecurityRuleSet) GetResourceState ¶
func (s *SecurityRuleSet) GetResourceState() common.ResourceState
GetResourceState returns the current state of the iresource
func (*SecurityRuleSet) IsDependentRegistered ¶
IsDependentRegistered returns true if the security rule set dependent is registered
func (*SecurityRuleSet) IsResource ¶
func (s *SecurityRuleSet) IsResource() bool
IsResource returns true if there is an oci id, oterwise false
func (*SecurityRuleSet) RemoveDependent ¶
func (s *SecurityRuleSet) RemoveDependent(kind string, obj runtime.Object) error
RemoveDependent removes a security rule set dependent
func (*SecurityRuleSet) SetResource ¶
func (s *SecurityRuleSet) SetResource(r *ocisdkcore.SecurityList) *SecurityRuleSet
SetResource sets the resource in status of the security rule set
type SecurityRuleSetList ¶
type SecurityRuleSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []SecurityRuleSet `json:"items"` }
SecurityRuleSetList is a list of SecurityRuleSet items
func (*SecurityRuleSetList) DeepCopy ¶
func (in *SecurityRuleSetList) DeepCopy() *SecurityRuleSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityRuleSetList.
func (*SecurityRuleSetList) DeepCopyInto ¶
func (in *SecurityRuleSetList) DeepCopyInto(out *SecurityRuleSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecurityRuleSetList) DeepCopyObject ¶
func (in *SecurityRuleSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecurityRuleSetResource ¶
type SecurityRuleSetResource struct {
ocisdkcore.SecurityList
}
SecurityRuleSetResource describes a security rule set resource from oci
func (*SecurityRuleSetResource) DeepCopy ¶
func (in *SecurityRuleSetResource) DeepCopy() (out *SecurityRuleSetResource)
DeepCopy the security rule set oci resource
func (*SecurityRuleSetResource) DeepCopyInto ¶
func (in *SecurityRuleSetResource) DeepCopyInto(out *SecurityRuleSetResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityRuleSetSpec ¶
type SecurityRuleSetSpec struct { CompartmentRef string `json:"compartmentRef"` VcnRef string `json:"vcnRef"` DisplayName string `json:"displayName,omitempty"` EgressSecurityRules []ocisdkcore.EgressSecurityRule `json:"egressSecurityRules"` IngressSecurityRules []ocisdkcore.IngressSecurityRule `json:"ingressSecurityRules"` common.Dependency }
SecurityRuleSetSpec describes a security rule set spec
func (*SecurityRuleSetSpec) DeepCopy ¶
func (in *SecurityRuleSetSpec) DeepCopy() (out *SecurityRuleSetSpec)
DeepCopy the security rule set spec
func (*SecurityRuleSetSpec) DeepCopyInto ¶
func (in *SecurityRuleSetSpec) DeepCopyInto(out *SecurityRuleSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityRuleSetStatus ¶
type SecurityRuleSetStatus struct { common.ResourceStatus Resource *SecurityRuleSetResource `json:"resource,omitempty"` }
SecurityRuleSetStatus describes a security rule set status
func (*SecurityRuleSetStatus) DeepCopy ¶
func (in *SecurityRuleSetStatus) DeepCopy() *SecurityRuleSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityRuleSetStatus.
func (*SecurityRuleSetStatus) DeepCopyInto ¶
func (in *SecurityRuleSetStatus) DeepCopyInto(out *SecurityRuleSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subnet ¶
type Subnet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec SubnetSpec `json:"spec"` Status SubnetStatus `json:"status,omitempty"` }
Subnet describes a subnet
func (*Subnet) AddDependent ¶
AddDependent adds a subnet dependent
func (*Subnet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.
func (*Subnet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Subnet) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Subnet) GetGroupVersionResource ¶
func (s *Subnet) GetGroupVersionResource() schema.GroupVersionResource
GetGroupVersionResource returns the group version of the subnet type
func (*Subnet) GetResourceID ¶
GetResourceID returns the oci id of the subnet
func (*Subnet) GetResourceLifecycleState ¶
GetResourceLifecycleState returns the state of the subnet
func (*Subnet) GetResourcePlural ¶
GetResourcePlural returns the plural name of the subnet type
func (*Subnet) GetResourceState ¶
func (s *Subnet) GetResourceState() common.ResourceState
GetResourceState returns the current state of the iresource
func (*Subnet) IsDependentRegistered ¶
IsDependentRegistered returns true if the subnet dependent is registered
func (*Subnet) IsResource ¶
IsResource returns true if there is an oci id, otherwise false
func (*Subnet) RemoveDependent ¶
RemoveDependent removes a subnet dependent
func (*Subnet) SetResource ¶
func (s *Subnet) SetResource(r *ocisdkcore.Subnet) *Subnet
SetResource sets the resource in status of the subnet
type SubnetList ¶
type SubnetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Subnet `json:"items"` }
SubnetList is a list of Subnet items
func (*SubnetList) DeepCopy ¶
func (in *SubnetList) DeepCopy() *SubnetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetList.
func (*SubnetList) DeepCopyInto ¶
func (in *SubnetList) DeepCopyInto(out *SubnetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubnetList) DeepCopyObject ¶
func (in *SubnetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubnetResource ¶
type SubnetResource struct {
ocisdkcore.Subnet
}
SubnetResource describes a subnet resource from oci
func (*SubnetResource) DeepCopy ¶
func (in *SubnetResource) DeepCopy() (out *SubnetResource)
DeepCopy the subnet oci resource
func (*SubnetResource) DeepCopyInto ¶
func (in *SubnetResource) DeepCopyInto(out *SubnetResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetSpec ¶
type SubnetSpec struct { CompartmentRef string `json:"compartmentRef"` VcnRef string `json:"vcnRef"` AvailabilityDomain string `json:"availabilityDomain"` CidrBlock string `json:"cidrBlock"` DisplayName string `json:"displayName,omitempty"` DNSLabel string `json:"dnsLabel,omitempty"` RouteTableRef string `json:"routetableRef,omitempty"` SecurityRuleSetRefs []string `json:"securityrulesetRefs,omitempty"` common.Dependency }
SubnetSpec describes a subnet spec
func (*SubnetSpec) DeepCopy ¶
func (in *SubnetSpec) DeepCopy() *SubnetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetSpec.
func (*SubnetSpec) DeepCopyInto ¶
func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetStatus ¶
type SubnetStatus struct { common.ResourceStatus Resource *SubnetResource `json:"resource,omitempty"` }
SubnetStatus describes a subnet status
func (*SubnetStatus) DeepCopy ¶
func (in *SubnetStatus) DeepCopy() *SubnetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetStatus.
func (*SubnetStatus) DeepCopyInto ¶
func (in *SubnetStatus) DeepCopyInto(out *SubnetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Vcn ¶
type Vcn struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec VcnSpec `json:"spec"` Status VcnStatus `json:"status,omitempty"` }
Vcn describes a vcn
func (*Vcn) AddDependent ¶
AddDependent adds a vcn dependent
func (*Vcn) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vcn.
func (*Vcn) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Vcn) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Vcn) GetGroupVersionResource ¶
func (s *Vcn) GetGroupVersionResource() schema.GroupVersionResource
GetGroupVersionResource returns the group version of the vcn type
func (*Vcn) GetResourceID ¶
GetResourceID returns the oci id of the vcn
func (*Vcn) GetResourceLifecycleState ¶
GetResourceLifecycleState returns the state of the vcn
func (*Vcn) GetResourcePlural ¶
GetResourcePlural returns the plural name of the vcn type
func (*Vcn) GetResourceState ¶
func (s *Vcn) GetResourceState() common.ResourceState
GetResourceState returns the current state of the iresource
func (*Vcn) IsDependentRegistered ¶
IsDependentRegistered returns true if the vcn dependent is registered
func (*Vcn) IsResource ¶
IsResource returns true if there is an oci id and status is available, otherwise false
func (*Vcn) RemoveDependent ¶
RemoveDependent remvoes a vcn dependent
func (*Vcn) SetResource ¶
func (s *Vcn) SetResource(r *ocisdkcore.Vcn) *Vcn
SetResource sets the resource in vcn status
type VcnList ¶
type VcnList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Vcn `json:"items"` }
VcnList is a list of Vcn items
func (*VcnList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VcnList.
func (*VcnList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VcnList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VcnResource ¶
type VcnResource struct {
ocisdkcore.Vcn
}
VcnResource describes a vcn resource from oci
func (*VcnResource) DeepCopy ¶
func (in *VcnResource) DeepCopy() (out *VcnResource)
DeepCopy the vcn oci resource
func (*VcnResource) DeepCopyInto ¶
func (in *VcnResource) DeepCopyInto(out *VcnResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VcnSpec ¶
type VcnSpec struct { CompartmentRef string `json:"compartmentRef"` CidrBlock string `json:"cidrBlock"` DisplayName string `json:"displayName,omitempty"` DNSLabel string `json:"dnsLabel"` VcnDomainName string `json:"vcnDomainName"` common.Dependency }
VcnSpec describes a vcn spec
func (*VcnSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VcnSpec.
func (*VcnSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VcnStatus ¶
type VcnStatus struct { common.ResourceStatus Resource *VcnResource `json:"resource,omitempty"` }
VcnStatus describes a vcn status
func (*VcnStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VcnStatus.
func (*VcnStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Volume ¶
type Volume struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec VolumeSpec `json:"spec"` Status VolumeStatus `json:"status,omitempty"` }
Volume describes a volume
func (*Volume) AddDependent ¶
AddDependent adds a volume dependent
func (*Volume) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.
func (*Volume) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Volume) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Volume) GetGroupVersionResource ¶
func (s *Volume) GetGroupVersionResource() schema.GroupVersionResource
GetGroupVersionResource returns group version of the volume type
func (*Volume) GetResourceID ¶
GetResourceID returns oci id of the volume
func (*Volume) GetResourceLifecycleState ¶
GetResourceLifecycleState returns the volume state
func (*Volume) GetResourcePlural ¶
GetResourcePlural returns plural name of the volume type
func (*Volume) GetResourceState ¶
func (s *Volume) GetResourceState() common.ResourceState
GetResourceState returns the current state of the iresource
func (*Volume) IsDependentRegistered ¶
IsDependentRegistered returns true if the volume dependent is registered
func (*Volume) IsResource ¶
IsResource returns true if there is an oci id and state is available, otherwise false
func (*Volume) RemoveDependent ¶
RemoveDependent removes a volume dependent
func (*Volume) SetAttachment ¶
func (s *Volume) SetAttachment(atype string, r *ocisdkcore.VolumeAttachment) *Volume
SetAttachment sets the volume attachment
func (*Volume) SetResource ¶
func (s *Volume) SetResource(r *ocisdkcore.Volume) *Volume
SetResource sets the resource in the status of the volume
type VolumeAttachment ¶
type VolumeAttachment struct { AttachmentType string ocisdkcore.VolumeAttachment }
VolumeAttachment describes a volume attachment
func (*VolumeAttachment) DeepCopy ¶
func (in *VolumeAttachment) DeepCopy() (out *VolumeAttachment)
DeepCopy the volume attachment
func (*VolumeAttachment) DeepCopyInto ¶
func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeAttachment) UnmarshalJSON ¶
func (m *VolumeAttachment) UnmarshalJSON(data []byte) error
UnmarshalJSON is used to process the volume attachment type directly from json NOTE: there is an issue with processing objects as interfaces
type VolumeBackup ¶
type VolumeBackup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec VolumeBackupSpec `json:"spec"` Status VolumeBackupStatus `json:"status,omitempty"` }
VolumeBackup describes a volume backup
func (*VolumeBackup) AddDependent ¶
func (s *VolumeBackup) AddDependent(kind string, obj runtime.Object) error
AddDependent adds a volume backup dependent
func (*VolumeBackup) DeepCopy ¶
func (in *VolumeBackup) DeepCopy() *VolumeBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeBackup.
func (*VolumeBackup) DeepCopyInto ¶
func (in *VolumeBackup) DeepCopyInto(out *VolumeBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeBackup) DeepCopyObject ¶
func (in *VolumeBackup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VolumeBackup) GetGroupVersionResource ¶
func (s *VolumeBackup) GetGroupVersionResource() schema.GroupVersionResource
GetGroupVersionResource returns the group version of the volume backup type
func (*VolumeBackup) GetResourceID ¶
func (s *VolumeBackup) GetResourceID() string
GetResourceID returns the oci id of the volume backup
func (*VolumeBackup) GetResourceLifecycleState ¶
func (s *VolumeBackup) GetResourceLifecycleState() string
GetResourceLifecycleState returns the volume backup state
func (*VolumeBackup) GetResourcePlural ¶
func (s *VolumeBackup) GetResourcePlural() string
GetResourcePlural returns the plural name of the volume backup type
func (*VolumeBackup) GetResourceState ¶
func (s *VolumeBackup) GetResourceState() common.ResourceState
GetResourceState returns the current state of the iresource
func (*VolumeBackup) IsDependentRegistered ¶
IsDependentRegistered returns true if the volume backup dependent is registered
func (*VolumeBackup) IsResource ¶
func (s *VolumeBackup) IsResource() bool
IsResource returns true if there is an oci id, otherwise false
func (*VolumeBackup) RemoveDependent ¶
func (s *VolumeBackup) RemoveDependent(kind string, obj runtime.Object) error
RemoveDependent removes a volume backup dependent
func (*VolumeBackup) SetResource ¶
func (s *VolumeBackup) SetResource(r *ocisdkcore.VolumeBackup) *VolumeBackup
SetResource sets the resource in the status of the volume backup
type VolumeBackupList ¶
type VolumeBackupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []VolumeBackup `json:"items"` }
VolumeBackupList is a list of VolumeBackup items
func (*VolumeBackupList) DeepCopy ¶
func (in *VolumeBackupList) DeepCopy() *VolumeBackupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeBackupList.
func (*VolumeBackupList) DeepCopyInto ¶
func (in *VolumeBackupList) DeepCopyInto(out *VolumeBackupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeBackupList) DeepCopyObject ¶
func (in *VolumeBackupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VolumeBackupResource ¶
type VolumeBackupResource struct {
ocisdkcore.VolumeBackup
}
VolumeBackupResource describes a volume backup resource from oci
func (*VolumeBackupResource) DeepCopy ¶
func (in *VolumeBackupResource) DeepCopy() (out *VolumeBackupResource)
DeepCopy the volume backup oci resource
func (*VolumeBackupResource) DeepCopyInto ¶
func (in *VolumeBackupResource) DeepCopyInto(out *VolumeBackupResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeBackupSpec ¶
type VolumeBackupSpec struct { VolumeRef string `json:"volumeRef,omitempty"` DisplayName string `json:"displayName,omitempty"` VolumeBackupType string `json:"type"` common.Dependency }
VolumeBackupSpec describes a volume backup spec
func (*VolumeBackupSpec) DeepCopy ¶
func (in *VolumeBackupSpec) DeepCopy() *VolumeBackupSpec
DeepCopy the volume backup spec
func (*VolumeBackupSpec) DeepCopyInto ¶
func (in *VolumeBackupSpec) DeepCopyInto(out *VolumeBackupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeBackupStatus ¶
type VolumeBackupStatus struct { common.ResourceStatus Resource *VolumeBackupResource `json:"resource,omitempty"` }
VolumeBackupStatus describes a volume backup status
func (*VolumeBackupStatus) DeepCopy ¶
func (in *VolumeBackupStatus) DeepCopy() *VolumeBackupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeBackupStatus.
func (*VolumeBackupStatus) DeepCopyInto ¶
func (in *VolumeBackupStatus) DeepCopyInto(out *VolumeBackupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeList ¶
type VolumeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Volume `json:"items"` }
VolumeList is a list of Volume items
func (*VolumeList) DeepCopy ¶
func (in *VolumeList) DeepCopy() *VolumeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeList.
func (*VolumeList) DeepCopyInto ¶
func (in *VolumeList) DeepCopyInto(out *VolumeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeList) DeepCopyObject ¶
func (in *VolumeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VolumeResource ¶
type VolumeResource struct {
ocisdkcore.Volume
}
VolumeResource describes a volume resource from oci
func (*VolumeResource) DeepCopy ¶
func (in *VolumeResource) DeepCopy() (out *VolumeResource)
DeepCopy the volume oci resource
func (*VolumeResource) DeepCopyInto ¶
func (in *VolumeResource) DeepCopyInto(out *VolumeResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSpec ¶
type VolumeSpec struct { CompartmentRef string `json:"compartmentRef"` InstanceRef string `json:"instanceRef"` DisplayName string `json:"displayName,omitempty"` AvailabilityDomain string `json:"availabilityDomain"` SizeInGBs int64 `json:"sizeInGBs"` AttachmentType string `json:"attachmentType,omitempty"` common.Dependency }
VolumeSpec describes a volume spec
func (*VolumeSpec) DeepCopyInto ¶
func (in *VolumeSpec) DeepCopyInto(out *VolumeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeStatus ¶
type VolumeStatus struct { common.ResourceStatus Resource *VolumeResource `json:"resource,omitempty"` AttachmentState ocisdkcore.VolumeAttachmentLifecycleStateEnum `json:"attachmentState,omitempty"` Attachment *VolumeAttachment `json:"attachment,omitempty"` }
VolumeStatus describes a volume status
func (*VolumeStatus) DeepCopy ¶
func (in *VolumeStatus) DeepCopy() *VolumeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeStatus.
func (*VolumeStatus) DeepCopyInto ¶
func (in *VolumeStatus) DeepCopyInto(out *VolumeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.