v1alpha1

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=blockchain.oci.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: blockchain.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

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 BlockchainPlatform

type BlockchainPlatform struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BlockchainPlatformSpec   `json:"spec,omitempty"`
	Status            BlockchainPlatformStatus `json:"status,omitempty"`
}

func (*BlockchainPlatform) DeepCopy

func (in *BlockchainPlatform) DeepCopy() *BlockchainPlatform

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockchainPlatform.

func (*BlockchainPlatform) DeepCopyInto

func (in *BlockchainPlatform) DeepCopyInto(out *BlockchainPlatform)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BlockchainPlatform) DeepCopyObject

func (in *BlockchainPlatform) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BlockchainPlatform) SetupWebhookWithManager

func (r *BlockchainPlatform) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*BlockchainPlatform) ValidateCreate

func (r *BlockchainPlatform) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*BlockchainPlatform) ValidateDelete

func (r *BlockchainPlatform) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*BlockchainPlatform) ValidateUpdate

func (r *BlockchainPlatform) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type BlockchainPlatformList

type BlockchainPlatformList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of BlockchainPlatform CRD objects
	Items []BlockchainPlatform `json:"items,omitempty"`
}

BlockchainPlatformList is a list of BlockchainPlatforms

func (*BlockchainPlatformList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockchainPlatformList.

func (*BlockchainPlatformList) DeepCopyInto

func (in *BlockchainPlatformList) DeepCopyInto(out *BlockchainPlatformList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BlockchainPlatformList) DeepCopyObject

func (in *BlockchainPlatformList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BlockchainPlatformSpec

type BlockchainPlatformSpec struct {
	State *BlockchainPlatformSpecResource `json:"state,omitempty" tf:"-"`

	Resource BlockchainPlatformSpecResource `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 (*BlockchainPlatformSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockchainPlatformSpec.

func (*BlockchainPlatformSpec) DeepCopyInto

func (in *BlockchainPlatformSpec) DeepCopyInto(out *BlockchainPlatformSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BlockchainPlatformSpecComponentDetails

type BlockchainPlatformSpecComponentDetails struct {
	// +optional
	Osns []BlockchainPlatformSpecComponentDetailsOsns `json:"osns,omitempty" tf:"osns"`
	// +optional
	Peers []BlockchainPlatformSpecComponentDetailsPeers `json:"peers,omitempty" tf:"peers"`
}

func (*BlockchainPlatformSpecComponentDetails) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockchainPlatformSpecComponentDetails.

func (*BlockchainPlatformSpecComponentDetails) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BlockchainPlatformSpecComponentDetailsCodec

type BlockchainPlatformSpecComponentDetailsCodec struct {
}

+k8s:deepcopy-gen=false

func (BlockchainPlatformSpecComponentDetailsCodec) Decode

func (BlockchainPlatformSpecComponentDetailsCodec) Encode

func (BlockchainPlatformSpecComponentDetailsCodec) IsEmpty

type BlockchainPlatformSpecComponentDetailsOsns

type BlockchainPlatformSpecComponentDetailsOsns struct {
	// +optional
	Ad *string `json:"ad,omitempty" tf:"ad"`
	// +optional
	OcpuAllocationParam *BlockchainPlatformSpecComponentDetailsOsnsOcpuAllocationParam `json:"ocpuAllocationParam,omitempty" tf:"ocpu_allocation_param"`
	// +optional
	OsnKey *string `json:"osnKey,omitempty" tf:"osn_key"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
}

func (*BlockchainPlatformSpecComponentDetailsOsns) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockchainPlatformSpecComponentDetailsOsns.

func (*BlockchainPlatformSpecComponentDetailsOsns) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BlockchainPlatformSpecComponentDetailsOsnsOcpuAllocationParam

type BlockchainPlatformSpecComponentDetailsOsnsOcpuAllocationParam struct {
	// +optional
	OcpuAllocationNumber *float64 `json:"ocpuAllocationNumber,omitempty" tf:"ocpu_allocation_number"`
}

func (*BlockchainPlatformSpecComponentDetailsOsnsOcpuAllocationParam) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockchainPlatformSpecComponentDetailsOsnsOcpuAllocationParam.

func (*BlockchainPlatformSpecComponentDetailsOsnsOcpuAllocationParam) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BlockchainPlatformSpecComponentDetailsOsnsOcpuAllocationParamCodec

type BlockchainPlatformSpecComponentDetailsOsnsOcpuAllocationParamCodec struct {
}

+k8s:deepcopy-gen=false

func (BlockchainPlatformSpecComponentDetailsOsnsOcpuAllocationParamCodec) Decode

func (BlockchainPlatformSpecComponentDetailsOsnsOcpuAllocationParamCodec) Encode

func (BlockchainPlatformSpecComponentDetailsOsnsOcpuAllocationParamCodec) IsEmpty

type BlockchainPlatformSpecComponentDetailsPeers

type BlockchainPlatformSpecComponentDetailsPeers struct {
	// +optional
	Ad *string `json:"ad,omitempty" tf:"ad"`
	// +optional
	Alias *string `json:"alias,omitempty" tf:"alias"`
	// +optional
	Host *string `json:"host,omitempty" tf:"host"`
	// +optional
	OcpuAllocationParam *BlockchainPlatformSpecComponentDetailsPeersOcpuAllocationParam `json:"ocpuAllocationParam,omitempty" tf:"ocpu_allocation_param"`
	// +optional
	PeerKey *string `json:"peerKey,omitempty" tf:"peer_key"`
	// +optional
	Role *string `json:"role,omitempty" tf:"role"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
}

func (*BlockchainPlatformSpecComponentDetailsPeers) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockchainPlatformSpecComponentDetailsPeers.

func (*BlockchainPlatformSpecComponentDetailsPeers) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BlockchainPlatformSpecComponentDetailsPeersOcpuAllocationParam

type BlockchainPlatformSpecComponentDetailsPeersOcpuAllocationParam struct {
	// +optional
	OcpuAllocationNumber *float64 `json:"ocpuAllocationNumber,omitempty" tf:"ocpu_allocation_number"`
}

func (*BlockchainPlatformSpecComponentDetailsPeersOcpuAllocationParam) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockchainPlatformSpecComponentDetailsPeersOcpuAllocationParam.

func (*BlockchainPlatformSpecComponentDetailsPeersOcpuAllocationParam) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BlockchainPlatformSpecComponentDetailsPeersOcpuAllocationParamCodec

type BlockchainPlatformSpecComponentDetailsPeersOcpuAllocationParamCodec struct {
}

+k8s:deepcopy-gen=false

func (BlockchainPlatformSpecComponentDetailsPeersOcpuAllocationParamCodec) Decode

func (BlockchainPlatformSpecComponentDetailsPeersOcpuAllocationParamCodec) Encode

func (BlockchainPlatformSpecComponentDetailsPeersOcpuAllocationParamCodec) IsEmpty

type BlockchainPlatformSpecHostOcpuUtilizationInfo

type BlockchainPlatformSpecHostOcpuUtilizationInfo struct {
	// +optional
	Host *string `json:"host,omitempty" tf:"host"`
	// +optional
	OcpuCapacityNumber *float64 `json:"ocpuCapacityNumber,omitempty" tf:"ocpu_capacity_number"`
	// +optional
	OcpuUtilizationNumber *float64 `json:"ocpuUtilizationNumber,omitempty" tf:"ocpu_utilization_number"`
}

func (*BlockchainPlatformSpecHostOcpuUtilizationInfo) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockchainPlatformSpecHostOcpuUtilizationInfo.

func (*BlockchainPlatformSpecHostOcpuUtilizationInfo) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BlockchainPlatformSpecReplicas

type BlockchainPlatformSpecReplicas struct {
	// +optional
	CaCount *int64 `json:"caCount,omitempty" tf:"ca_count"`
	// +optional
	ConsoleCount *int64 `json:"consoleCount,omitempty" tf:"console_count"`
	// +optional
	ProxyCount *int64 `json:"proxyCount,omitempty" tf:"proxy_count"`
}

func (*BlockchainPlatformSpecReplicas) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockchainPlatformSpecReplicas.

func (*BlockchainPlatformSpecReplicas) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BlockchainPlatformSpecReplicasCodec

type BlockchainPlatformSpecReplicasCodec struct {
}

+k8s:deepcopy-gen=false

func (BlockchainPlatformSpecReplicasCodec) Decode

func (BlockchainPlatformSpecReplicasCodec) Encode

func (BlockchainPlatformSpecReplicasCodec) IsEmpty

type BlockchainPlatformSpecResource

type BlockchainPlatformSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	CaCertArchiveText *string `json:"caCertArchiveText,omitempty" tf:"ca_cert_archive_text"`
	CompartmentID     *string `json:"compartmentID" tf:"compartment_id"`
	// +optional
	ComponentDetails *BlockchainPlatformSpecComponentDetails `json:"componentDetails,omitempty" tf:"component_details"`
	ComputeShape     *string                                 `json:"computeShape" tf:"compute_shape"`
	// +optional
	DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	DisplayName *string `json:"displayName" tf:"display_name"`
	// +optional
	FederatedUserID *string `json:"federatedUserID,omitempty" tf:"federated_user_id"`
	// +optional
	FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"`
	// +optional
	HostOcpuUtilizationInfo []BlockchainPlatformSpecHostOcpuUtilizationInfo `json:"hostOcpuUtilizationInfo,omitempty" tf:"host_ocpu_utilization_info"`
	IdcsAccessToken         *string                                         `json:"-" sensitive:"true" tf:"idcs_access_token"`
	// +optional
	IsByol *bool `json:"isByol,omitempty" tf:"is_byol"`
	// +optional
	IsMultiAd *bool `json:"isMultiAd,omitempty" tf:"is_multi_ad"`
	// +optional
	LifecycleDetails *string `json:"lifecycleDetails,omitempty" tf:"lifecycle_details"`
	// +optional
	LoadBalancerShape *string `json:"loadBalancerShape,omitempty" tf:"load_balancer_shape"`
	PlatformRole      *string `json:"platformRole" tf:"platform_role"`
	// +optional
	PlatformShapeType *string `json:"platformShapeType,omitempty" tf:"platform_shape_type"`
	// +optional
	PlatformVersion *string `json:"platformVersion,omitempty" tf:"platform_version"`
	// +optional
	Replicas *BlockchainPlatformSpecReplicas `json:"replicas,omitempty" tf:"replicas"`
	// +optional
	ServiceEndpoint *string `json:"serviceEndpoint,omitempty" tf:"service_endpoint"`
	// +optional
	ServiceVersion *string `json:"serviceVersion,omitempty" tf:"service_version"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	StorageSizeInTbs *float64 `json:"storageSizeInTbs,omitempty" tf:"storage_size_in_tbs"`
	// +optional
	StorageUsedInTbs *float64 `json:"storageUsedInTbs,omitempty" tf:"storage_used_in_tbs"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"`
	// +optional
	TotalOcpuCapacity *int64 `json:"totalOcpuCapacity,omitempty" tf:"total_ocpu_capacity"`
}

func (*BlockchainPlatformSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockchainPlatformSpecResource.

func (*BlockchainPlatformSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BlockchainPlatformStatus

type BlockchainPlatformStatus 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 (*BlockchainPlatformStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockchainPlatformStatus.

func (*BlockchainPlatformStatus) DeepCopyInto

func (in *BlockchainPlatformStatus) DeepCopyInto(out *BlockchainPlatformStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Osn

type Osn struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OsnSpec   `json:"spec,omitempty"`
	Status            OsnStatus `json:"status,omitempty"`
}

func (*Osn) DeepCopy

func (in *Osn) DeepCopy() *Osn

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Osn.

func (*Osn) DeepCopyInto

func (in *Osn) DeepCopyInto(out *Osn)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Osn) DeepCopyObject

func (in *Osn) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Osn) SetupWebhookWithManager

func (r *Osn) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Osn) ValidateCreate

func (r *Osn) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Osn) ValidateDelete

func (r *Osn) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Osn) ValidateUpdate

func (r *Osn) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type OsnList

type OsnList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Osn CRD objects
	Items []Osn `json:"items,omitempty"`
}

OsnList is a list of Osns

func (*OsnList) DeepCopy

func (in *OsnList) DeepCopy() *OsnList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsnList.

func (*OsnList) DeepCopyInto

func (in *OsnList) DeepCopyInto(out *OsnList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OsnList) DeepCopyObject

func (in *OsnList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OsnSpec

type OsnSpec struct {
	State *OsnSpecResource `json:"state,omitempty" tf:"-"`

	Resource OsnSpecResource `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 (*OsnSpec) DeepCopy

func (in *OsnSpec) DeepCopy() *OsnSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsnSpec.

func (*OsnSpec) DeepCopyInto

func (in *OsnSpec) DeepCopyInto(out *OsnSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OsnSpecOcpuAllocationParam

type OsnSpecOcpuAllocationParam struct {
	OcpuAllocationNumber *float64 `json:"ocpuAllocationNumber" tf:"ocpu_allocation_number"`
}

func (*OsnSpecOcpuAllocationParam) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsnSpecOcpuAllocationParam.

func (*OsnSpecOcpuAllocationParam) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OsnSpecOcpuAllocationParamCodec

type OsnSpecOcpuAllocationParamCodec struct {
}

+k8s:deepcopy-gen=false

func (OsnSpecOcpuAllocationParamCodec) Decode

func (OsnSpecOcpuAllocationParamCodec) Encode

func (OsnSpecOcpuAllocationParamCodec) IsEmpty

type OsnSpecResource

type OsnSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	Ad                   *string `json:"ad" tf:"ad"`
	BlockchainPlatformID *string `json:"blockchainPlatformID" tf:"blockchain_platform_id"`
	// +optional
	OcpuAllocationParam *OsnSpecOcpuAllocationParam `json:"ocpuAllocationParam,omitempty" tf:"ocpu_allocation_param"`
	// +optional
	OsnKey *string `json:"osnKey,omitempty" tf:"osn_key"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
}

func (*OsnSpecResource) DeepCopy

func (in *OsnSpecResource) DeepCopy() *OsnSpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsnSpecResource.

func (*OsnSpecResource) DeepCopyInto

func (in *OsnSpecResource) DeepCopyInto(out *OsnSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OsnStatus

type OsnStatus 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 (*OsnStatus) DeepCopy

func (in *OsnStatus) DeepCopy() *OsnStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsnStatus.

func (*OsnStatus) DeepCopyInto

func (in *OsnStatus) DeepCopyInto(out *OsnStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Peer

type Peer struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PeerSpec   `json:"spec,omitempty"`
	Status            PeerStatus `json:"status,omitempty"`
}

func (*Peer) DeepCopy

func (in *Peer) DeepCopy() *Peer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Peer.

func (*Peer) DeepCopyInto

func (in *Peer) DeepCopyInto(out *Peer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Peer) DeepCopyObject

func (in *Peer) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Peer) SetupWebhookWithManager

func (r *Peer) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Peer) ValidateCreate

func (r *Peer) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Peer) ValidateDelete

func (r *Peer) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Peer) ValidateUpdate

func (r *Peer) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type PeerList

type PeerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Peer CRD objects
	Items []Peer `json:"items,omitempty"`
}

PeerList is a list of Peers

func (*PeerList) DeepCopy

func (in *PeerList) DeepCopy() *PeerList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerList.

func (*PeerList) DeepCopyInto

func (in *PeerList) DeepCopyInto(out *PeerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PeerList) DeepCopyObject

func (in *PeerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PeerSpec

type PeerSpec struct {
	State *PeerSpecResource `json:"state,omitempty" tf:"-"`

	Resource PeerSpecResource `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 (*PeerSpec) DeepCopy

func (in *PeerSpec) DeepCopy() *PeerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerSpec.

func (*PeerSpec) DeepCopyInto

func (in *PeerSpec) DeepCopyInto(out *PeerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PeerSpecOcpuAllocationParam

type PeerSpecOcpuAllocationParam struct {
	OcpuAllocationNumber *float64 `json:"ocpuAllocationNumber" tf:"ocpu_allocation_number"`
}

func (*PeerSpecOcpuAllocationParam) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerSpecOcpuAllocationParam.

func (*PeerSpecOcpuAllocationParam) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PeerSpecOcpuAllocationParamCodec

type PeerSpecOcpuAllocationParamCodec struct {
}

+k8s:deepcopy-gen=false

func (PeerSpecOcpuAllocationParamCodec) Decode

func (PeerSpecOcpuAllocationParamCodec) Encode

func (PeerSpecOcpuAllocationParamCodec) IsEmpty

type PeerSpecResource

type PeerSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	Ad *string `json:"ad" tf:"ad"`
	// +optional
	Alias                *string `json:"alias,omitempty" tf:"alias"`
	BlockchainPlatformID *string `json:"blockchainPlatformID" tf:"blockchain_platform_id"`
	// +optional
	Host                *string                      `json:"host,omitempty" tf:"host"`
	OcpuAllocationParam *PeerSpecOcpuAllocationParam `json:"ocpuAllocationParam" tf:"ocpu_allocation_param"`
	// +optional
	PeerKey *string `json:"peerKey,omitempty" tf:"peer_key"`
	Role    *string `json:"role" tf:"role"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
}

func (*PeerSpecResource) DeepCopy

func (in *PeerSpecResource) DeepCopy() *PeerSpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerSpecResource.

func (*PeerSpecResource) DeepCopyInto

func (in *PeerSpecResource) DeepCopyInto(out *PeerSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PeerStatus

type PeerStatus 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 (*PeerStatus) DeepCopy

func (in *PeerStatus) DeepCopy() *PeerStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerStatus.

func (*PeerStatus) DeepCopyInto

func (in *PeerStatus) DeepCopyInto(out *PeerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL