Documentation ¶
Overview ¶
+groupName=resource.ibm.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 Group
- func (in *Group) DeepCopy() *Group
- func (in *Group) DeepCopyInto(out *Group)
- func (in *Group) DeepCopyObject() runtime.Object
- func (r *Group) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Group) ValidateCreate() error
- func (r *Group) ValidateDelete() error
- func (r *Group) ValidateUpdate(old runtime.Object) error
- type GroupList
- type GroupSpec
- type GroupSpecResource
- type GroupStatus
- type Instance
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (r *Instance) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Instance) ValidateCreate() error
- func (r *Instance) ValidateDelete() error
- func (r *Instance) ValidateUpdate(old runtime.Object) error
- type InstanceList
- type InstanceSpec
- type InstanceSpecPlanHistory
- type InstanceSpecResource
- type InstanceStatus
- type Key
- func (in *Key) DeepCopy() *Key
- func (in *Key) DeepCopyInto(out *Key)
- func (in *Key) DeepCopyObject() runtime.Object
- func (r *Key) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Key) ValidateCreate() error
- func (r *Key) ValidateDelete() error
- func (r *Key) ValidateUpdate(old runtime.Object) error
- type KeyList
- type KeySpec
- type KeySpecResource
- type KeyStatus
- 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: resource.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 Group ¶
type Group struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GroupSpec `json:"spec,omitempty"` Status GroupStatus `json:"status,omitempty"` }
func (*Group) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Group.
func (*Group) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Group) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Group) SetupWebhookWithManager ¶
func (*Group) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Group) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type GroupList ¶
type GroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Group CRD objects Items []Group `json:"items,omitempty"` }
GroupList is a list of Groups
func (*GroupList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupList.
func (*GroupList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GroupSpec ¶
type GroupSpec struct { State *GroupSpecResource `json:"state,omitempty" tf:"-"` Resource GroupSpecResource `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 (*GroupSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSpec.
func (*GroupSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupSpecResource ¶
type GroupSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // The date when the resource group was initially created. // +optional CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"` // The full CRN associated with the resource group // +optional Crn *string `json:"crn,omitempty" tf:"crn"` // Specifies whether its default resource group or not // +optional Default *bool `json:"default,omitempty" tf:"default"` // The name of the resource group Name *string `json:"name" tf:"name"` // The URL to access the payment methods details that associated with the resource group. // +optional PaymentMethodsURL *string `json:"paymentMethodsURL,omitempty" tf:"payment_methods_url"` // An alpha-numeric value identifying the quota ID associated with the resource group. // +optional QuotaID *string `json:"quotaID,omitempty" tf:"quota_id"` // The URL to access the quota details that associated with the resource group. // +optional QuotaURL *string `json:"quotaURL,omitempty" tf:"quota_url"` // An array of the resources that linked to the resource group // +optional ResourceLinkages []string `json:"resourceLinkages,omitempty" tf:"resource_linkages"` // State of the resource group // +optional State *string `json:"state,omitempty" tf:"state"` // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // The URL to access the team details that associated with the resource group. // +optional TeamsURL *string `json:"teamsURL,omitempty" tf:"teams_url"` // The date when the resource group was last updated. // +optional UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"` }
func (*GroupSpecResource) DeepCopy ¶
func (in *GroupSpecResource) DeepCopy() *GroupSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSpecResource.
func (*GroupSpecResource) DeepCopyInto ¶
func (in *GroupSpecResource) DeepCopyInto(out *GroupSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupStatus ¶
type GroupStatus 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 (*GroupStatus) DeepCopy ¶
func (in *GroupStatus) DeepCopy() *GroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupStatus.
func (*GroupStatus) DeepCopyInto ¶
func (in *GroupStatus) DeepCopyInto(out *GroupStatus)
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,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceSpec `json:"spec,omitempty"` Status InstanceStatus `json:"status,omitempty"` }
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) SetupWebhookWithManager ¶
func (*Instance) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Instance) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Instance CRD objects Items []Instance `json:"items,omitempty"` }
InstanceList is a list of Instances
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 InstanceSpec ¶
type InstanceSpec struct { State *InstanceSpecResource `json:"state,omitempty" tf:"-"` Resource InstanceSpecResource `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 (*InstanceSpec) DeepCopy ¶
func (in *InstanceSpec) DeepCopy() *InstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec.
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 InstanceSpecPlanHistory ¶
type InstanceSpecPlanHistory struct { // +optional ResourcePlanID *string `json:"resourcePlanID,omitempty" tf:"resource_plan_id"` // +optional StartDate *string `json:"startDate,omitempty" tf:"start_date"` }
func (*InstanceSpecPlanHistory) DeepCopy ¶
func (in *InstanceSpecPlanHistory) DeepCopy() *InstanceSpecPlanHistory
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecPlanHistory.
func (*InstanceSpecPlanHistory) DeepCopyInto ¶
func (in *InstanceSpecPlanHistory) DeepCopyInto(out *InstanceSpecPlanHistory)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpecResource ¶
type InstanceSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // An alpha-numeric value identifying the account ID. // +optional AccountID *string `json:"accountID,omitempty" tf:"account_id"` // A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call. // +optional AllowCleanup *bool `json:"allowCleanup,omitempty" tf:"allow_cleanup"` // The date when the instance was created. // +optional CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"` // The subject who created the instance. // +optional CreatedBy *string `json:"createdBy,omitempty" tf:"created_by"` // CRN of resource instance // +optional Crn *string `json:"crn,omitempty" tf:"crn"` // Dashboard URL to access resource. // +optional DashboardURL *string `json:"dashboardURL,omitempty" tf:"dashboard_url"` // The date when the instance was deleted. // +optional DeletedAt *string `json:"deletedAt,omitempty" tf:"deleted_at"` // The subject who deleted the instance. // +optional DeletedBy *string `json:"deletedBy,omitempty" tf:"deleted_by"` // The extended metadata as a map associated with the resource instance. // +optional Extensions map[string]string `json:"extensions,omitempty" tf:"extensions"` // Guid of resource instance // +optional Guid *string `json:"guid,omitempty" tf:"guid"` // The status of the last operation requested on the instance // +optional LastOperation map[string]string `json:"lastOperation,omitempty" tf:"last_operation"` // The location where the instance available Location *string `json:"location" tf:"location"` // A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call. // +optional Locked *bool `json:"locked,omitempty" tf:"locked"` // A name for the resource instance Name *string `json:"name" tf:"name"` // Arbitrary parameters to pass. Must be a JSON object // +optional Parameters map[string]string `json:"parameters,omitempty" tf:"parameters"` // The plan type of the service Plan *string `json:"plan" tf:"plan"` // The plan history of the instance. // +optional PlanHistory []InstanceSpecPlanHistory `json:"planHistory,omitempty" tf:"plan_history"` // The relative path to the resource aliases for the instance. // +optional ResourceAliasesURL *string `json:"resourceAliasesURL,omitempty" tf:"resource_aliases_url"` // The relative path to the resource bindings for the instance. // +optional ResourceBindingsURL *string `json:"resourceBindingsURL,omitempty" tf:"resource_bindings_url"` // The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource // +optional ResourceControllerURL *string `json:"resourceControllerURL,omitempty" tf:"resource_controller_url"` // The crn of the resource // +optional ResourceCrn *string `json:"resourceCrn,omitempty" tf:"resource_crn"` // The long ID (full CRN) of the resource group // +optional ResourceGroupCrn *string `json:"resourceGroupCrn,omitempty" tf:"resource_group_crn"` // The resource group id // +optional ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"` // The resource group name in which resource is provisioned // +optional ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name"` // The unique ID of the offering // +optional ResourceID *string `json:"resourceID,omitempty" tf:"resource_id"` // The relative path to the resource keys for the instance. // +optional ResourceKeysURL *string `json:"resourceKeysURL,omitempty" tf:"resource_keys_url"` // The name of the resource // +optional ResourceName *string `json:"resourceName,omitempty" tf:"resource_name"` // The unique ID of the plan associated with the offering // +optional ResourcePlanID *string `json:"resourcePlanID,omitempty" tf:"resource_plan_id"` // The status of the resource // +optional ResourceStatus *string `json:"resourceStatus,omitempty" tf:"resource_status"` // The date when the instance under reclamation was restored. // +optional RestoredAt *string `json:"restoredAt,omitempty" tf:"restored_at"` // The subject who restored the instance back from reclamation. // +optional RestoredBy *string `json:"restoredBy,omitempty" tf:"restored_by"` // The date when the instance was scheduled for reclamation. // +optional ScheduledReclaimAt *string `json:"scheduledReclaimAt,omitempty" tf:"scheduled_reclaim_at"` // The subject who initiated the instance reclamation. // +optional ScheduledReclaimBy *string `json:"scheduledReclaimBy,omitempty" tf:"scheduled_reclaim_by"` // The name of the service offering like cloud-object-storage, kms etc Service *string `json:"service" tf:"service"` // Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. // +optional ServiceEndpoints *string `json:"serviceEndpoints,omitempty" tf:"service_endpoints"` // The current state of the instance. // +optional State *string `json:"state,omitempty" tf:"state"` // Status of resource instance // +optional Status *string `json:"status,omitempty" tf:"status"` // The sub-type of instance, e.g. cfaas . // +optional SubType *string `json:"subType,omitempty" tf:"sub_type"` // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // The full deployment CRN as defined in the global catalog // +optional TargetCrn *string `json:"targetCrn,omitempty" tf:"target_crn"` // The type of the instance, e.g. service_instance. // +optional Type *string `json:"type,omitempty" tf:"type"` // The date when the instance was last updated. // +optional UpdateAt *string `json:"updateAt,omitempty" tf:"update_at"` // The subject who updated the instance. // +optional UpdateBy *string `json:"updateBy,omitempty" tf:"update_by"` }
func (*InstanceSpecResource) DeepCopy ¶
func (in *InstanceSpecResource) DeepCopy() *InstanceSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecResource.
func (*InstanceSpecResource) DeepCopyInto ¶
func (in *InstanceSpecResource) DeepCopyInto(out *InstanceSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus 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 (*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 Key ¶
type Key struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeySpec `json:"spec,omitempty"` Status KeyStatus `json:"status,omitempty"` }
func (*Key) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Key.
func (*Key) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Key) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Key) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Key) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type KeyList ¶
type KeyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Key CRD objects Items []Key `json:"items,omitempty"` }
KeyList is a list of Keys
func (*KeyList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyList.
func (*KeyList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeyList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeySpec ¶
type KeySpec struct { State *KeySpecResource `json:"state,omitempty" tf:"-"` Resource KeySpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*KeySpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeySpec.
func (*KeySpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeySpecResource ¶
type KeySpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // An alpha-numeric value identifying the account ID. // +optional AccountID *string `json:"accountID,omitempty" tf:"account_id"` // The date when the key was created. // +optional CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"` // The subject who created the key. // +optional CreatedBy *string `json:"createdBy,omitempty" tf:"created_by"` // Credentials asociated with the key // +optional Credentials map[string]string `json:"-" sensitive:"true" tf:"credentials"` // crn of resource key // +optional Crn *string `json:"crn,omitempty" tf:"crn"` // The date when the key was deleted. // +optional DeletedAt *string `json:"deletedAt,omitempty" tf:"deleted_at"` // The subject who deleted the key. // +optional DeletedBy *string `json:"deletedBy,omitempty" tf:"deleted_by"` // When you create a new key, a globally unique identifier (GUID) is assigned. // +optional Guid *string `json:"guid,omitempty" tf:"guid"` // Specifies whether the key’s credentials support IAM. // +optional IamCompatible *bool `json:"iamCompatible,omitempty" tf:"iam_compatible"` // The name of the resource key Name *string `json:"name" tf:"name"` // Arbitrary parameters to pass. Must be a JSON object // +optional Parameters map[string]string `json:"parameters,omitempty" tf:"parameters"` // The id of the resource alias for which to create resource key // +optional ResourceAliasID *string `json:"resourceAliasID,omitempty" tf:"resource_alias_id"` // The short ID of the resource group. // +optional ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"` // The id of the resource instance for which to create resource key // +optional ResourceInstanceID *string `json:"resourceInstanceID,omitempty" tf:"resource_instance_id"` // The relative path to the resource. // +optional ResourceInstanceURL *string `json:"resourceInstanceURL,omitempty" tf:"resource_instance_url"` // Name of the user role.Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, Editor and Custom Roles. Role *string `json:"role" tf:"role"` // The CRN of resource instance or alias associated to the key. // +optional SourceCrn *string `json:"sourceCrn,omitempty" tf:"source_crn"` // The state of the key. // +optional State *string `json:"state,omitempty" tf:"state"` // Status of resource key // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // The date when the key was last updated. // +optional UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"` // The subject who updated the key. // +optional UpdatedBy *string `json:"updatedBy,omitempty" tf:"updated_by"` // When you created a new key, a relative URL path is created identifying the location of the key. // +optional Url *string `json:"url,omitempty" tf:"url"` }
func (*KeySpecResource) DeepCopy ¶
func (in *KeySpecResource) DeepCopy() *KeySpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeySpecResource.
func (*KeySpecResource) DeepCopyInto ¶
func (in *KeySpecResource) DeepCopyInto(out *KeySpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyStatus ¶
type KeyStatus 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 (*KeyStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyStatus.
func (*KeyStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { State *TagSpecResource `json:"state,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:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" 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"` // The ID of the account that owns the resources to be tagged (required if tag-type is set to service) // +optional AcccountID *string `json:"acccountID,omitempty" tf:"acccount_id"` // CRN of the resource on which the tags should be attached ResourceID *string `json:"resourceID" tf:"resource_id"` // Resource type on which the tags should be attached // +optional ResourceType *string `json:"resourceType,omitempty" tf:"resource_type"` // Type of the tag. Only allowed values are: user, or service or access (default value : user) // +optional TagType *string `json:"tagType,omitempty" tf:"tag_type"` // List of tags associated with resource instance // +optional Tags []string `json:"tags,omitempty" tf:"tags"` }
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.