Documentation ¶
Overview ¶
+groupName=vpc.digitalocean.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Vpc
- func (in *Vpc) DeepCopy() *Vpc
- func (in *Vpc) DeepCopyInto(out *Vpc)
- func (in *Vpc) DeepCopyObject() runtime.Object
- func (r *Vpc) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Vpc) ValidateCreate() error
- func (r *Vpc) ValidateDelete() error
- func (r *Vpc) ValidateUpdate(old runtime.Object) error
- type VpcList
- type VpcSpec
- type VpcSpecResource
- type VpcStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: vpc.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Vpc ¶
type Vpc struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VpcSpec `json:"spec,omitempty"` Status VpcStatus `json:"status,omitempty"` }
func (*Vpc) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vpc.
func (*Vpc) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Vpc) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Vpc) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Vpc) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type VpcList ¶
type VpcList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Vpc CRD objects Items []Vpc `json:"items,omitempty"` }
VpcList is a list of Vpcs
func (*VpcList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcList.
func (*VpcList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VpcSpec ¶
type VpcSpec struct { State *VpcSpecResource `json:"state,omitempty" tf:"-"` Resource VpcSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*VpcSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcSpec.
type VpcSpecResource ¶
type VpcSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // The date and time of when the VPC was created // +optional CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"` // Whether or not the VPC is the default one for the region // +optional Default *bool `json:"default,omitempty" tf:"default"` // A free-form description for the VPC // +optional Description *string `json:"description,omitempty" tf:"description"` // The range of IP addresses for the VPC in CIDR notation // +optional IpRange *string `json:"ipRange,omitempty" tf:"ip_range"` // The name of the VPC Name *string `json:"name" tf:"name"` // DigitalOcean region slug for the VPC's location Region *string `json:"region" tf:"region"` // The uniform resource name (URN) for the VPC // +optional Urn *string `json:"urn,omitempty" tf:"urn"` }
func (*VpcSpecResource) DeepCopy ¶
func (in *VpcSpecResource) DeepCopy() *VpcSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcSpecResource.
func (*VpcSpecResource) DeepCopyInto ¶
func (in *VpcSpecResource) DeepCopyInto(out *VpcSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VpcStatus ¶
type VpcStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*VpcStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcStatus.