Documentation ¶
Overview ¶
+groupName=hpcs.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 Hpcs
- func (in *Hpcs) DeepCopy() *Hpcs
- func (in *Hpcs) DeepCopyInto(out *Hpcs)
- func (in *Hpcs) DeepCopyObject() runtime.Object
- func (r *Hpcs) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Hpcs) ValidateCreate() error
- func (r *Hpcs) ValidateDelete() error
- func (r *Hpcs) ValidateUpdate(old runtime.Object) error
- type HpcsList
- type HpcsSpec
- type HpcsSpecAdmins
- type HpcsSpecHsmInfo
- type HpcsSpecHsmInfoAdmins
- type HpcsSpecResource
- type HpcsStatus
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: hpcs.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 Hpcs ¶
type Hpcs struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HpcsSpec `json:"spec,omitempty"` Status HpcsStatus `json:"status,omitempty"` }
func (*Hpcs) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hpcs.
func (*Hpcs) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Hpcs) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Hpcs) SetupWebhookWithManager ¶
func (*Hpcs) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Hpcs) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type HpcsList ¶
type HpcsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Hpcs CRD objects Items []Hpcs `json:"items,omitempty"` }
HpcsList is a list of Hpcss
func (*HpcsList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HpcsList.
func (*HpcsList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HpcsList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HpcsSpec ¶
type HpcsSpec struct { State *HpcsSpecResource `json:"state,omitempty" tf:"-"` Resource HpcsSpecResource `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 (*HpcsSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HpcsSpec.
func (*HpcsSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HpcsSpecAdmins ¶
type HpcsSpecAdmins struct { // The administrator signature key Key *string `json:"key" tf:"key"` // Admin Name Name *string `json:"name" tf:"name"` // Credential giving access to the administrator signature key Token *string `json:"-" sensitive:"true" tf:"token"` }
func (*HpcsSpecAdmins) DeepCopy ¶
func (in *HpcsSpecAdmins) DeepCopy() *HpcsSpecAdmins
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HpcsSpecAdmins.
func (*HpcsSpecAdmins) DeepCopyInto ¶
func (in *HpcsSpecAdmins) DeepCopyInto(out *HpcsSpecAdmins)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HpcsSpecHsmInfo ¶
type HpcsSpecHsmInfo struct { // Crypto Unit Administrators // +optional Admins []HpcsSpecHsmInfoAdmins `json:"admins,omitempty" tf:"admins"` // +optional CurrentMkStatus *string `json:"currentMkStatus,omitempty" tf:"current_mk_status"` // +optional CurrentMkvp *string `json:"currentMkvp,omitempty" tf:"current_mkvp"` // +optional HsmID *string `json:"hsmID,omitempty" tf:"hsm_id"` // +optional HsmLocation *string `json:"hsmLocation,omitempty" tf:"hsm_location"` // +optional HsmType *string `json:"hsmType,omitempty" tf:"hsm_type"` // +optional NewMkStatus *string `json:"newMkStatus,omitempty" tf:"new_mk_status"` // +optional NewMkvp *string `json:"newMkvp,omitempty" tf:"new_mkvp"` // Revocation Threshold Value // +optional RevocationThreshold *int64 `json:"revocationThreshold,omitempty" tf:"revocation_threshold"` // Signature Threshold Value // +optional SignatureThreshold *int64 `json:"signatureThreshold,omitempty" tf:"signature_threshold"` }
func (*HpcsSpecHsmInfo) DeepCopy ¶
func (in *HpcsSpecHsmInfo) DeepCopy() *HpcsSpecHsmInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HpcsSpecHsmInfo.
func (*HpcsSpecHsmInfo) DeepCopyInto ¶
func (in *HpcsSpecHsmInfo) DeepCopyInto(out *HpcsSpecHsmInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HpcsSpecHsmInfoAdmins ¶
type HpcsSpecHsmInfoAdmins struct { // Admin Name // +optional Name *string `json:"name,omitempty" tf:"name"` // +optional Ski *string `json:"ski,omitempty" tf:"ski"` }
func (*HpcsSpecHsmInfoAdmins) DeepCopy ¶
func (in *HpcsSpecHsmInfoAdmins) DeepCopy() *HpcsSpecHsmInfoAdmins
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HpcsSpecHsmInfoAdmins.
func (*HpcsSpecHsmInfoAdmins) DeepCopyInto ¶
func (in *HpcsSpecHsmInfoAdmins) DeepCopyInto(out *HpcsSpecHsmInfoAdmins)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HpcsSpecResource ¶
type HpcsSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // Crypto Unit Administrators Admins []HpcsSpecAdmins `json:"admins" tf:"admins"` // 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 HPCS 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 HPCS instance. // +optional Extensions map[string]string `json:"extensions,omitempty" tf:"extensions"` // The number of failover crypto units for your service instance // +optional FailoverUnits *int64 `json:"failoverUnits,omitempty" tf:"failover_units"` // Guid of HPCS instance // +optional Guid *string `json:"guid,omitempty" tf:"guid"` // HSM Configuration // +optional HsmInfo []HpcsSpecHsmInfo `json:"hsmInfo,omitempty" tf:"hsm_info"` // The location where the HPCS instance available Location *string `json:"location" tf:"location"` // A name for the HPCS instance Name *string `json:"name" tf:"name"` // The plan type of the HPCS Instance Plan *string `json:"plan" tf:"plan"` // 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 resource group id // +optional ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"` // The relative path to the resource keys for the instance. // +optional ResourceKeysURL *string `json:"resourceKeysURL,omitempty" tf:"resource_keys_url"` // 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"` // Revocation Threshold Value RevocationThreshold *int64 `json:"revocationThreshold" tf:"revocation_threshold"` // 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 `hs-crypto` // +optional Service *string `json:"service,omitempty" tf:"service"` // Types of the service endpoints. Possible values are `public-and-private`, `private-only`. // +optional ServiceEndpoints *string `json:"serviceEndpoints,omitempty" tf:"service_endpoints"` // URL of signing service // +optional SignatureServerURL *string `json:"signatureServerURL,omitempty" tf:"signature_server_url"` // Signature Threshold Value SignatureThreshold *int64 `json:"signatureThreshold" tf:"signature_threshold"` // The current state of the instance. // +optional State *string `json:"state,omitempty" tf:"state"` // Status of HPCS instance // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // The number of operational crypto units for your service instance Units *int64 `json:"units" tf:"units"` // 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 (*HpcsSpecResource) DeepCopy ¶
func (in *HpcsSpecResource) DeepCopy() *HpcsSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HpcsSpecResource.
func (*HpcsSpecResource) DeepCopyInto ¶
func (in *HpcsSpecResource) DeepCopyInto(out *HpcsSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HpcsStatus ¶
type HpcsStatus 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 (*HpcsStatus) DeepCopy ¶
func (in *HpcsStatus) DeepCopy() *HpcsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HpcsStatus.
func (*HpcsStatus) DeepCopyInto ¶
func (in *HpcsStatus) DeepCopyInto(out *HpcsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.