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=sharedimage.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: sharedimage.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 Gallery struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GallerySpec   `json:"spec,omitempty"`
	Status            GalleryStatus `json:"status,omitempty"`
}

func (*Gallery) DeepCopy

func (in *Gallery) DeepCopy() *Gallery

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

func (*Gallery) DeepCopyInto

func (in *Gallery) DeepCopyInto(out *Gallery)

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

func (*Gallery) DeepCopyObject

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

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

func (*Gallery) SetupWebhookWithManager

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

func (*Gallery) ValidateCreate

func (r *Gallery) ValidateCreate() error

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

func (*Gallery) ValidateDelete

func (r *Gallery) ValidateDelete() error

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

func (*Gallery) ValidateUpdate

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

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

type GalleryList

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

GalleryList is a list of Gallerys

func (*GalleryList) DeepCopy

func (in *GalleryList) DeepCopy() *GalleryList

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

func (*GalleryList) DeepCopyInto

func (in *GalleryList) DeepCopyInto(out *GalleryList)

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

func (*GalleryList) DeepCopyObject

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

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

type GallerySpec

type GallerySpec struct {
	State *GallerySpecResource `json:"state,omitempty" tf:"-"`

	Resource GallerySpecResource `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 (*GallerySpec) DeepCopy

func (in *GallerySpec) DeepCopy() *GallerySpec

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

func (*GallerySpec) DeepCopyInto

func (in *GallerySpec) DeepCopyInto(out *GallerySpec)

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

type GallerySpecResource

type GallerySpecResource 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"`
	Location          *string `json:"location" tf:"location"`
	Name              *string `json:"name" tf:"name"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	UniqueName *string `json:"uniqueName,omitempty" tf:"unique_name"`
}

func (*GallerySpecResource) DeepCopy

func (in *GallerySpecResource) DeepCopy() *GallerySpecResource

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

func (*GallerySpecResource) DeepCopyInto

func (in *GallerySpecResource) DeepCopyInto(out *GallerySpecResource)

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

type GalleryStatus

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

func (in *GalleryStatus) DeepCopy() *GalleryStatus

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

func (*GalleryStatus) DeepCopyInto

func (in *GalleryStatus) DeepCopyInto(out *GalleryStatus)

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

type SharedImage

type SharedImage struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SharedImageSpec   `json:"spec,omitempty"`
	Status            SharedImageStatus `json:"status,omitempty"`
}

func (*SharedImage) DeepCopy

func (in *SharedImage) DeepCopy() *SharedImage

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

func (*SharedImage) DeepCopyInto

func (in *SharedImage) DeepCopyInto(out *SharedImage)

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

func (*SharedImage) DeepCopyObject

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

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

func (*SharedImage) SetupWebhookWithManager

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

func (*SharedImage) ValidateCreate

func (r *SharedImage) ValidateCreate() error

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

func (*SharedImage) ValidateDelete

func (r *SharedImage) ValidateDelete() error

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

func (*SharedImage) ValidateUpdate

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

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

type SharedImageList

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

SharedImageList is a list of SharedImages

func (*SharedImageList) DeepCopy

func (in *SharedImageList) DeepCopy() *SharedImageList

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

func (*SharedImageList) DeepCopyInto

func (in *SharedImageList) DeepCopyInto(out *SharedImageList)

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

func (*SharedImageList) DeepCopyObject

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

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

type SharedImageSpec

type SharedImageSpec struct {
	State *SharedImageSpecResource `json:"state,omitempty" tf:"-"`

	Resource SharedImageSpecResource `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 (*SharedImageSpec) DeepCopy

func (in *SharedImageSpec) DeepCopy() *SharedImageSpec

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

func (*SharedImageSpec) DeepCopyInto

func (in *SharedImageSpec) DeepCopyInto(out *SharedImageSpec)

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

type SharedImageSpecIdentifier

type SharedImageSpecIdentifier struct {
	Offer     *string `json:"offer" tf:"offer"`
	Publisher *string `json:"publisher" tf:"publisher"`
	Sku       *string `json:"sku" tf:"sku"`
}

func (*SharedImageSpecIdentifier) DeepCopy

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

func (*SharedImageSpecIdentifier) DeepCopyInto

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

type SharedImageSpecIdentifierCodec

type SharedImageSpecIdentifierCodec struct {
}

+k8s:deepcopy-gen=false

func (SharedImageSpecIdentifierCodec) Decode

func (SharedImageSpecIdentifierCodec) Encode

func (SharedImageSpecIdentifierCodec) IsEmpty

type SharedImageSpecPurchasePlan

type SharedImageSpecPurchasePlan struct {
	Name *string `json:"name" tf:"name"`
	// +optional
	Product *string `json:"product,omitempty" tf:"product"`
	// +optional
	Publisher *string `json:"publisher,omitempty" tf:"publisher"`
}

func (*SharedImageSpecPurchasePlan) DeepCopy

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

func (*SharedImageSpecPurchasePlan) DeepCopyInto

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

type SharedImageSpecPurchasePlanCodec

type SharedImageSpecPurchasePlanCodec struct {
}

+k8s:deepcopy-gen=false

func (SharedImageSpecPurchasePlanCodec) Decode

func (SharedImageSpecPurchasePlanCodec) Encode

func (SharedImageSpecPurchasePlanCodec) IsEmpty

type SharedImageSpecResource

type SharedImageSpecResource 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"`
	// +optional
	Eula        *string `json:"eula,omitempty" tf:"eula"`
	GalleryName *string `json:"galleryName" tf:"gallery_name"`
	// +optional
	HyperVGeneration *string                    `json:"hyperVGeneration,omitempty" tf:"hyper_v_generation"`
	Identifier       *SharedImageSpecIdentifier `json:"identifier" tf:"identifier"`
	Location         *string                    `json:"location" tf:"location"`
	Name             *string                    `json:"name" tf:"name"`
	OsType           *string                    `json:"osType" tf:"os_type"`
	// +optional
	PrivacyStatementURI *string `json:"privacyStatementURI,omitempty" tf:"privacy_statement_uri"`
	// +optional
	PurchasePlan *SharedImageSpecPurchasePlan `json:"purchasePlan,omitempty" tf:"purchase_plan"`
	// +optional
	ReleaseNoteURI    *string `json:"releaseNoteURI,omitempty" tf:"release_note_uri"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	Specialized *bool `json:"specialized,omitempty" tf:"specialized"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TrustedLaunchEnabled *bool `json:"trustedLaunchEnabled,omitempty" tf:"trusted_launch_enabled"`
}

func (*SharedImageSpecResource) DeepCopy

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

func (*SharedImageSpecResource) DeepCopyInto

func (in *SharedImageSpecResource) DeepCopyInto(out *SharedImageSpecResource)

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

type SharedImageStatus

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

func (in *SharedImageStatus) DeepCopy() *SharedImageStatus

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

func (*SharedImageStatus) DeepCopyInto

func (in *SharedImageStatus) DeepCopyInto(out *SharedImageStatus)

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

type Version

type Version struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VersionSpec   `json:"spec,omitempty"`
	Status            VersionStatus `json:"status,omitempty"`
}

func (*Version) DeepCopy

func (in *Version) DeepCopy() *Version

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

func (*Version) DeepCopyInto

func (in *Version) DeepCopyInto(out *Version)

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

func (*Version) DeepCopyObject

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

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

func (*Version) SetupWebhookWithManager

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

func (*Version) ValidateCreate

func (r *Version) ValidateCreate() error

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

func (*Version) ValidateDelete

func (r *Version) ValidateDelete() error

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

func (*Version) ValidateUpdate

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

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

type VersionList

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

VersionList is a list of Versions

func (*VersionList) DeepCopy

func (in *VersionList) DeepCopy() *VersionList

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

func (*VersionList) DeepCopyInto

func (in *VersionList) DeepCopyInto(out *VersionList)

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

func (*VersionList) DeepCopyObject

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

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

type VersionSpec

type VersionSpec struct {
	State *VersionSpecResource `json:"state,omitempty" tf:"-"`

	Resource VersionSpecResource `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 (*VersionSpec) DeepCopy

func (in *VersionSpec) DeepCopy() *VersionSpec

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

func (*VersionSpec) DeepCopyInto

func (in *VersionSpec) DeepCopyInto(out *VersionSpec)

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

type VersionSpecResource

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

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

	// +optional
	ExcludeFromLatest *bool   `json:"excludeFromLatest,omitempty" tf:"exclude_from_latest"`
	GalleryName       *string `json:"galleryName" tf:"gallery_name"`
	ImageName         *string `json:"imageName" tf:"image_name"`
	Location          *string `json:"location" tf:"location"`
	// +optional
	ManagedImageID *string `json:"managedImageID,omitempty" tf:"managed_image_id"`
	Name           *string `json:"name" tf:"name"`
	// +optional
	OsDiskSnapshotID  *string `json:"osDiskSnapshotID,omitempty" tf:"os_disk_snapshot_id"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	Tags         *map[string]string        `json:"tags,omitempty" tf:"tags"`
	TargetRegion []VersionSpecTargetRegion `json:"targetRegion" tf:"target_region"`
}

func (*VersionSpecResource) DeepCopy

func (in *VersionSpecResource) DeepCopy() *VersionSpecResource

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

func (*VersionSpecResource) DeepCopyInto

func (in *VersionSpecResource) DeepCopyInto(out *VersionSpecResource)

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

type VersionSpecTargetRegion

type VersionSpecTargetRegion struct {
	Name                 *string `json:"name" tf:"name"`
	RegionalReplicaCount *int64  `json:"regionalReplicaCount" tf:"regional_replica_count"`
	// +optional
	StorageAccountType *string `json:"storageAccountType,omitempty" tf:"storage_account_type"`
}

func (*VersionSpecTargetRegion) DeepCopy

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

func (*VersionSpecTargetRegion) DeepCopyInto

func (in *VersionSpecTargetRegion) DeepCopyInto(out *VersionSpecTargetRegion)

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

type VersionStatus

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

func (in *VersionStatus) DeepCopy() *VersionStatus

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

func (*VersionStatus) DeepCopyInto

func (in *VersionStatus) DeepCopyInto(out *VersionStatus)

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