Documentation ¶
Overview ¶
+groupName=tag.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 Tag
- func (in *Tag) DeepCopy() *Tag
- func (in *Tag) DeepCopyInto(out *Tag)
- func (in *Tag) DeepCopyObject() runtime.Object
- func (r *Tag) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Tag) ValidateCreate() error
- func (r *Tag) ValidateDelete() error
- func (r *Tag) ValidateUpdate(old runtime.Object) error
- type TagList
- type TagSpec
- type TagSpecResource
- type TagStatus
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: tag.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Tag ¶
type Tag struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TagSpec `json:"spec,omitempty"` Status TagStatus `json:"status,omitempty"` }
func (*Tag) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tag.
func (*Tag) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Tag) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Tag) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Tag) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type TagList ¶
type TagList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Tag CRD objects Items []Tag `json:"items,omitempty"` }
TagList is a list of Tags
func (*TagList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagList.
func (*TagList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TagList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TagSpec ¶
type TagSpec struct { KubeformOutput *TagSpecResource `json:"kubeformOutput,omitempty" tf:"-"` Resource TagSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` }
func (*TagSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagSpec.
func (*TagSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagSpecResource ¶
type TagSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional DatabasesCount *int64 `json:"databasesCount,omitempty" tf:"databases_count"` // +optional DropletsCount *int64 `json:"dropletsCount,omitempty" tf:"droplets_count"` // +optional ImagesCount *int64 `json:"imagesCount,omitempty" tf:"images_count"` Name *string `json:"name" tf:"name"` // +optional TotalResourceCount *int64 `json:"totalResourceCount,omitempty" tf:"total_resource_count"` // +optional VolumeSnapshotsCount *int64 `json:"volumeSnapshotsCount,omitempty" tf:"volume_snapshots_count"` // +optional VolumesCount *int64 `json:"volumesCount,omitempty" tf:"volumes_count"` }
func (*TagSpecResource) DeepCopy ¶
func (in *TagSpecResource) DeepCopy() *TagSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagSpecResource.
func (*TagSpecResource) DeepCopyInto ¶
func (in *TagSpecResource) DeepCopyInto(out *TagSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagStatus ¶
type TagStatus 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 (*TagStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagStatus.
func (*TagStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.