v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=machine.azurerm.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: machine.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 LearningComputeCluster

type LearningComputeCluster struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LearningComputeClusterSpec   `json:"spec,omitempty"`
	Status            LearningComputeClusterStatus `json:"status,omitempty"`
}

func (*LearningComputeCluster) DeepCopy

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

func (*LearningComputeCluster) DeepCopyInto

func (in *LearningComputeCluster) DeepCopyInto(out *LearningComputeCluster)

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

func (*LearningComputeCluster) DeepCopyObject

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

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

func (*LearningComputeCluster) SetupWebhookWithManager

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

func (*LearningComputeCluster) ValidateCreate

func (r *LearningComputeCluster) ValidateCreate() error

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

func (*LearningComputeCluster) ValidateDelete

func (r *LearningComputeCluster) ValidateDelete() error

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

func (*LearningComputeCluster) ValidateUpdate

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

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

type LearningComputeClusterList

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

LearningComputeClusterList is a list of LearningComputeClusters

func (*LearningComputeClusterList) DeepCopy

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

func (*LearningComputeClusterList) DeepCopyInto

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

func (*LearningComputeClusterList) DeepCopyObject

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

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

type LearningComputeClusterSpec

type LearningComputeClusterSpec struct {
	State *LearningComputeClusterSpecResource `json:"state,omitempty" tf:"-"`

	Resource LearningComputeClusterSpecResource `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 (*LearningComputeClusterSpec) DeepCopy

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

func (*LearningComputeClusterSpec) DeepCopyInto

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

type LearningComputeClusterSpecIdentity

type LearningComputeClusterSpecIdentity struct {
	// +optional
	PrincipalID *string `json:"principalID,omitempty" tf:"principal_id"`
	// +optional
	TenantID *string `json:"tenantID,omitempty" tf:"tenant_id"`
	Type     *string `json:"type" tf:"type"`
}

func (*LearningComputeClusterSpecIdentity) DeepCopy

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

func (*LearningComputeClusterSpecIdentity) DeepCopyInto

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

type LearningComputeClusterSpecIdentityCodec

type LearningComputeClusterSpecIdentityCodec struct {
}

+k8s:deepcopy-gen=false

func (LearningComputeClusterSpecIdentityCodec) Decode

func (LearningComputeClusterSpecIdentityCodec) Encode

func (LearningComputeClusterSpecIdentityCodec) IsEmpty

type LearningComputeClusterSpecResource

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

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

	// +optional
	Description                *string                                  `json:"description,omitempty" tf:"description"`
	Identity                   *LearningComputeClusterSpecIdentity      `json:"identity" tf:"identity"`
	Location                   *string                                  `json:"location" tf:"location"`
	MachineLearningWorkspaceID *string                                  `json:"machineLearningWorkspaceID" tf:"machine_learning_workspace_id"`
	Name                       *string                                  `json:"name" tf:"name"`
	ScaleSettings              *LearningComputeClusterSpecScaleSettings `json:"scaleSettings" tf:"scale_settings"`
	// +optional
	SubnetResourceID *string `json:"subnetResourceID,omitempty" tf:"subnet_resource_id"`
	// +optional
	Tags       *map[string]string `json:"tags,omitempty" tf:"tags"`
	VmPriority *string            `json:"vmPriority" tf:"vm_priority"`
	VmSize     *string            `json:"vmSize" tf:"vm_size"`
}

func (*LearningComputeClusterSpecResource) DeepCopy

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

func (*LearningComputeClusterSpecResource) DeepCopyInto

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

type LearningComputeClusterSpecScaleSettings

type LearningComputeClusterSpecScaleSettings struct {
	MaxNodeCount                    *int64  `json:"maxNodeCount" tf:"max_node_count"`
	MinNodeCount                    *int64  `json:"minNodeCount" tf:"min_node_count"`
	ScaleDownNodesAfterIdleDuration *string `json:"scaleDownNodesAfterIdleDuration" tf:"scale_down_nodes_after_idle_duration"`
}

func (*LearningComputeClusterSpecScaleSettings) DeepCopy

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

func (*LearningComputeClusterSpecScaleSettings) DeepCopyInto

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

type LearningComputeClusterSpecScaleSettingsCodec

type LearningComputeClusterSpecScaleSettingsCodec struct {
}

+k8s:deepcopy-gen=false

func (LearningComputeClusterSpecScaleSettingsCodec) Decode

func (LearningComputeClusterSpecScaleSettingsCodec) Encode

func (LearningComputeClusterSpecScaleSettingsCodec) IsEmpty

type LearningComputeClusterStatus

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

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

func (*LearningComputeClusterStatus) DeepCopyInto

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

type LearningInferenceCluster

type LearningInferenceCluster struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LearningInferenceClusterSpec   `json:"spec,omitempty"`
	Status            LearningInferenceClusterStatus `json:"status,omitempty"`
}

func (*LearningInferenceCluster) DeepCopy

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

func (*LearningInferenceCluster) DeepCopyInto

func (in *LearningInferenceCluster) DeepCopyInto(out *LearningInferenceCluster)

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

func (*LearningInferenceCluster) DeepCopyObject

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

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

func (*LearningInferenceCluster) SetupWebhookWithManager

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

func (*LearningInferenceCluster) ValidateCreate

func (r *LearningInferenceCluster) ValidateCreate() error

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

func (*LearningInferenceCluster) ValidateDelete

func (r *LearningInferenceCluster) ValidateDelete() error

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

func (*LearningInferenceCluster) ValidateUpdate

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

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

type LearningInferenceClusterList

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

LearningInferenceClusterList is a list of LearningInferenceClusters

func (*LearningInferenceClusterList) DeepCopy

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

func (*LearningInferenceClusterList) DeepCopyInto

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

func (*LearningInferenceClusterList) DeepCopyObject

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

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

type LearningInferenceClusterSpec

type LearningInferenceClusterSpec struct {
	State *LearningInferenceClusterSpecResource `json:"state,omitempty" tf:"-"`

	Resource LearningInferenceClusterSpecResource `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 (*LearningInferenceClusterSpec) DeepCopy

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

func (*LearningInferenceClusterSpec) DeepCopyInto

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

type LearningInferenceClusterSpecResource

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

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

	// +optional
	ClusterPurpose *string `json:"clusterPurpose,omitempty" tf:"cluster_purpose"`
	// +optional
	Description                *string `json:"description,omitempty" tf:"description"`
	KubernetesClusterID        *string `json:"kubernetesClusterID" tf:"kubernetes_cluster_id"`
	Location                   *string `json:"location" tf:"location"`
	MachineLearningWorkspaceID *string `json:"machineLearningWorkspaceID" tf:"machine_learning_workspace_id"`
	Name                       *string `json:"name" tf:"name"`
	// +optional
	Ssl *LearningInferenceClusterSpecSsl `json:"ssl,omitempty" tf:"ssl"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*LearningInferenceClusterSpecResource) DeepCopy

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

func (*LearningInferenceClusterSpecResource) DeepCopyInto

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

type LearningInferenceClusterSpecSsl

type LearningInferenceClusterSpecSsl struct {
	// +optional
	Cert *string `json:"cert,omitempty" tf:"cert"`
	// +optional
	Cname *string `json:"cname,omitempty" tf:"cname"`
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// +optional
	LeafDomainLabel *string `json:"leafDomainLabel,omitempty" tf:"leaf_domain_label"`
	// +optional
	OverwriteExistingDomain *bool `json:"overwriteExistingDomain,omitempty" tf:"overwrite_existing_domain"`
}

func (*LearningInferenceClusterSpecSsl) DeepCopy

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

func (*LearningInferenceClusterSpecSsl) DeepCopyInto

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

type LearningInferenceClusterSpecSslCodec

type LearningInferenceClusterSpecSslCodec struct {
}

+k8s:deepcopy-gen=false

func (LearningInferenceClusterSpecSslCodec) Decode

func (LearningInferenceClusterSpecSslCodec) Encode

func (LearningInferenceClusterSpecSslCodec) IsEmpty

type LearningInferenceClusterStatus

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

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

func (*LearningInferenceClusterStatus) DeepCopyInto

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

type LearningWorkspace

type LearningWorkspace struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LearningWorkspaceSpec   `json:"spec,omitempty"`
	Status            LearningWorkspaceStatus `json:"status,omitempty"`
}

func (*LearningWorkspace) DeepCopy

func (in *LearningWorkspace) DeepCopy() *LearningWorkspace

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

func (*LearningWorkspace) DeepCopyInto

func (in *LearningWorkspace) DeepCopyInto(out *LearningWorkspace)

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

func (*LearningWorkspace) DeepCopyObject

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

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

func (*LearningWorkspace) SetupWebhookWithManager

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

func (*LearningWorkspace) ValidateCreate

func (r *LearningWorkspace) ValidateCreate() error

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

func (*LearningWorkspace) ValidateDelete

func (r *LearningWorkspace) ValidateDelete() error

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

func (*LearningWorkspace) ValidateUpdate

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

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

type LearningWorkspaceList

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

LearningWorkspaceList is a list of LearningWorkspaces

func (*LearningWorkspaceList) DeepCopy

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

func (*LearningWorkspaceList) DeepCopyInto

func (in *LearningWorkspaceList) DeepCopyInto(out *LearningWorkspaceList)

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

func (*LearningWorkspaceList) DeepCopyObject

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

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

type LearningWorkspaceSpec

type LearningWorkspaceSpec struct {
	State *LearningWorkspaceSpecResource `json:"state,omitempty" tf:"-"`

	Resource LearningWorkspaceSpecResource `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 (*LearningWorkspaceSpec) DeepCopy

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

func (*LearningWorkspaceSpec) DeepCopyInto

func (in *LearningWorkspaceSpec) DeepCopyInto(out *LearningWorkspaceSpec)

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

type LearningWorkspaceSpecIdentity

type LearningWorkspaceSpecIdentity struct {
	// +optional
	PrincipalID *string `json:"principalID,omitempty" tf:"principal_id"`
	// +optional
	TenantID *string `json:"tenantID,omitempty" tf:"tenant_id"`
	Type     *string `json:"type" tf:"type"`
}

func (*LearningWorkspaceSpecIdentity) DeepCopy

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

func (*LearningWorkspaceSpecIdentity) DeepCopyInto

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

type LearningWorkspaceSpecIdentityCodec

type LearningWorkspaceSpecIdentityCodec struct {
}

+k8s:deepcopy-gen=false

func (LearningWorkspaceSpecIdentityCodec) Decode

func (LearningWorkspaceSpecIdentityCodec) Encode

func (LearningWorkspaceSpecIdentityCodec) IsEmpty

type LearningWorkspaceSpecResource

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

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

	ApplicationInsightsID *string `json:"applicationInsightsID" tf:"application_insights_id"`
	// +optional
	ContainerRegistryID *string `json:"containerRegistryID,omitempty" tf:"container_registry_id"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	FriendlyName *string `json:"friendlyName,omitempty" tf:"friendly_name"`
	// +optional
	HighBusinessImpact *bool                          `json:"highBusinessImpact,omitempty" tf:"high_business_impact"`
	Identity           *LearningWorkspaceSpecIdentity `json:"identity" tf:"identity"`
	KeyVaultID         *string                        `json:"keyVaultID" tf:"key_vault_id"`
	Location           *string                        `json:"location" tf:"location"`
	Name               *string                        `json:"name" tf:"name"`
	ResourceGroupName  *string                        `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	SkuName          *string `json:"skuName,omitempty" tf:"sku_name"`
	StorageAccountID *string `json:"storageAccountID" tf:"storage_account_id"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*LearningWorkspaceSpecResource) DeepCopy

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

func (*LearningWorkspaceSpecResource) DeepCopyInto

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

type LearningWorkspaceStatus

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

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

func (*LearningWorkspaceStatus) DeepCopyInto

func (in *LearningWorkspaceStatus) DeepCopyInto(out *LearningWorkspaceStatus)

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