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: 14 Imported by: 0

Documentation

Overview

+groupName=cm.ibm.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: cm.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 Catalog

type Catalog struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CatalogSpec   `json:"spec,omitempty"`
	Status            CatalogStatus `json:"status,omitempty"`
}

func (*Catalog) DeepCopy

func (in *Catalog) DeepCopy() *Catalog

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

func (*Catalog) DeepCopyInto

func (in *Catalog) DeepCopyInto(out *Catalog)

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

func (*Catalog) DeepCopyObject

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

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

func (*Catalog) SetupWebhookWithManager

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

func (*Catalog) ValidateCreate

func (r *Catalog) ValidateCreate() error

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

func (*Catalog) ValidateDelete

func (r *Catalog) ValidateDelete() error

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

func (*Catalog) ValidateUpdate

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

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

type CatalogList

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

CatalogList is a list of Catalogs

func (*CatalogList) DeepCopy

func (in *CatalogList) DeepCopy() *CatalogList

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

func (*CatalogList) DeepCopyInto

func (in *CatalogList) DeepCopyInto(out *CatalogList)

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

func (*CatalogList) DeepCopyObject

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

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

type CatalogSpec

type CatalogSpec struct {
	State *CatalogSpecResource `json:"state,omitempty" tf:"-"`

	Resource CatalogSpecResource `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 (*CatalogSpec) DeepCopy

func (in *CatalogSpec) DeepCopy() *CatalogSpec

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

func (*CatalogSpec) DeepCopyInto

func (in *CatalogSpec) DeepCopyInto(out *CatalogSpec)

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

type CatalogSpecResource

type CatalogSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// URL for an icon associated with this catalog.
	// +optional
	CatalogIconURL *string `json:"catalogIconURL,omitempty" tf:"catalog_icon_url"`
	// CRN associated with the catalog.
	// +optional
	Crn *string `json:"crn,omitempty" tf:"crn"`
	// Display Name in the requested language.
	Label *string `json:"label" tf:"label"`
	// URL path to offerings.
	// +optional
	OfferingsURL *string `json:"offeringsURL,omitempty" tf:"offerings_url"`
	// Description in the requested language.
	// +optional
	ShortDescription *string `json:"shortDescription,omitempty" tf:"short_description"`
	// List of tags associated with this catalog.
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// The url for this specific catalog.
	// +optional
	Url *string `json:"url,omitempty" tf:"url"`
}

func (*CatalogSpecResource) DeepCopy

func (in *CatalogSpecResource) DeepCopy() *CatalogSpecResource

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

func (*CatalogSpecResource) DeepCopyInto

func (in *CatalogSpecResource) DeepCopyInto(out *CatalogSpecResource)

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

type CatalogStatus

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

func (in *CatalogStatus) DeepCopy() *CatalogStatus

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

func (*CatalogStatus) DeepCopyInto

func (in *CatalogStatus) DeepCopyInto(out *CatalogStatus)

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

type Offering

type Offering struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OfferingSpec   `json:"spec,omitempty"`
	Status            OfferingStatus `json:"status,omitempty"`
}

func (*Offering) DeepCopy

func (in *Offering) DeepCopy() *Offering

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

func (*Offering) DeepCopyInto

func (in *Offering) DeepCopyInto(out *Offering)

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

func (*Offering) DeepCopyObject

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

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

func (*Offering) SetupWebhookWithManager

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

func (*Offering) ValidateCreate

func (r *Offering) ValidateCreate() error

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

func (*Offering) ValidateDelete

func (r *Offering) ValidateDelete() error

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

func (*Offering) ValidateUpdate

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

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

type OfferingInstance

type OfferingInstance struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OfferingInstanceSpec   `json:"spec,omitempty"`
	Status            OfferingInstanceStatus `json:"status,omitempty"`
}

func (*OfferingInstance) DeepCopy

func (in *OfferingInstance) DeepCopy() *OfferingInstance

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

func (*OfferingInstance) DeepCopyInto

func (in *OfferingInstance) DeepCopyInto(out *OfferingInstance)

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

func (*OfferingInstance) DeepCopyObject

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

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

func (*OfferingInstance) SetupWebhookWithManager

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

func (*OfferingInstance) ValidateCreate

func (r *OfferingInstance) ValidateCreate() error

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

func (*OfferingInstance) ValidateDelete

func (r *OfferingInstance) ValidateDelete() error

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

func (*OfferingInstance) ValidateUpdate

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

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

type OfferingInstanceList

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

OfferingInstanceList is a list of OfferingInstances

func (*OfferingInstanceList) DeepCopy

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

func (*OfferingInstanceList) DeepCopyInto

func (in *OfferingInstanceList) DeepCopyInto(out *OfferingInstanceList)

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

func (*OfferingInstanceList) DeepCopyObject

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

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

type OfferingInstanceSpec

type OfferingInstanceSpec struct {
	State *OfferingInstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource OfferingInstanceSpecResource `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 (*OfferingInstanceSpec) DeepCopy

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

func (*OfferingInstanceSpec) DeepCopyInto

func (in *OfferingInstanceSpec) DeepCopyInto(out *OfferingInstanceSpec)

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

type OfferingInstanceSpecResource

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

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

	// Catalog ID this instance was created from.
	CatalogID *string `json:"catalogID" tf:"catalog_id"`
	// channel to target for the operator subscription. Required for operator bundles
	// +optional
	Channel *string `json:"channel,omitempty" tf:"channel"`
	// designate to install into all namespaces.
	ClusterAllNamespaces *bool `json:"clusterAllNamespaces" tf:"cluster_all_namespaces"`
	// Cluster ID.
	ClusterID *string `json:"clusterID" tf:"cluster_id"`
	// List of target namespaces to install into.
	ClusterNamespaces []string `json:"clusterNamespaces" tf:"cluster_namespaces"`
	// Cluster region (e.g., us-south).
	ClusterRegion *string `json:"clusterRegion" tf:"cluster_region"`
	// platform CRN for this instance.
	// +optional
	Crn *string `json:"crn,omitempty" tf:"crn"`
	// install plan for the subscription of the operator- can be either automatic or manual. Required for operator bundles
	// +optional
	InstallPlan *string `json:"installPlan,omitempty" tf:"install_plan"`
	// the format this instance has (helm, operator, ova...).
	KindFormat *string `json:"kindFormat" tf:"kind_format"`
	// the label for this instance.
	Label *string `json:"label" tf:"label"`
	// Offering ID this instance was created from.
	OfferingID *string `json:"offeringID" tf:"offering_id"`
	// id of the resource group
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// id of the schematics workspace, for offerings installed through schematics
	// +optional
	SchematicsWorkspaceID *string `json:"schematicsWorkspaceID,omitempty" tf:"schematics_workspace_id"`
	// url reference to this object.
	// +optional
	Url *string `json:"url,omitempty" tf:"url"`
	// The version this instance was installed from (not version id).
	Version *string `json:"version" tf:"version"`
	// Whether to wait until the offering instance successfully provisions, or to return when accepted
	// +optional
	WaitUntilSuccessful *bool `json:"waitUntilSuccessful,omitempty" tf:"wait_until_successful"`
}

func (*OfferingInstanceSpecResource) DeepCopy

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

func (*OfferingInstanceSpecResource) DeepCopyInto

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

type OfferingInstanceStatus

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

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

func (*OfferingInstanceStatus) DeepCopyInto

func (in *OfferingInstanceStatus) DeepCopyInto(out *OfferingInstanceStatus)

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

type OfferingList

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

OfferingList is a list of Offerings

func (*OfferingList) DeepCopy

func (in *OfferingList) DeepCopy() *OfferingList

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

func (*OfferingList) DeepCopyInto

func (in *OfferingList) DeepCopyInto(out *OfferingList)

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

func (*OfferingList) DeepCopyObject

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

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

type OfferingSpec

type OfferingSpec struct {
	State *OfferingSpecResource `json:"state,omitempty" tf:"-"`

	Resource OfferingSpecResource `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 (*OfferingSpec) DeepCopy

func (in *OfferingSpec) DeepCopy() *OfferingSpec

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

func (*OfferingSpec) DeepCopyInto

func (in *OfferingSpec) DeepCopyInto(out *OfferingSpec)

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

type OfferingSpecRepoInfo

type OfferingSpecRepoInfo struct {
	// Token for private repos.
	// +optional
	Token *string `json:"token,omitempty" tf:"token"`
	// Public or enterprise GitHub.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*OfferingSpecRepoInfo) DeepCopy

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

func (*OfferingSpecRepoInfo) DeepCopyInto

func (in *OfferingSpecRepoInfo) DeepCopyInto(out *OfferingSpecRepoInfo)

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

type OfferingSpecResource

type OfferingSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// The id of the catalog containing this offering.
	CatalogID *string `json:"catalogID" tf:"catalog_id"`
	// The name of the catalog.
	// +optional
	CatalogName *string `json:"catalogName,omitempty" tf:"catalog_name"`
	// The crn for this specific offering.
	// +optional
	Crn *string `json:"crn,omitempty" tf:"crn"`
	// A disclaimer for this offering.
	// +optional
	Disclaimer *string `json:"disclaimer,omitempty" tf:"disclaimer"`
	// Determine if this offering should be displayed in the Consumption UI.
	// +optional
	Hidden *bool `json:"hidden,omitempty" tf:"hidden"`
	// Indicates if this offering has been approved for use by all IBMers.
	// +optional
	IbmPublishApproved *bool `json:"ibmPublishApproved,omitempty" tf:"ibm_publish_approved"`
	// Display Name in the requested language.
	Label *string `json:"label" tf:"label"`
	// Long description in the requested language.
	// +optional
	LongDescription *string `json:"longDescription,omitempty" tf:"long_description"`
	// The programmatic name of this offering.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// URL for an additional docs with this offering.
	// +optional
	OfferingDocsURL *string `json:"offeringDocsURL,omitempty" tf:"offering_docs_url"`
	// URL for an icon associated with this offering.
	// +optional
	OfferingIconURL *string `json:"offeringIconURL,omitempty" tf:"offering_icon_url"`
	// The id of the catalog containing this offering.
	// +optional
	OfferingID *string `json:"offeringID,omitempty" tf:"offering_id"`
	// URL to be displayed in the Consumption UI for getting support on this offering.
	// +optional
	OfferingSupportURL *string `json:"offeringSupportURL,omitempty" tf:"offering_support_url"`
	// Is it permitted to request publishing to IBM or Public.
	// +optional
	PermitRequestIbmPublicPublish *bool `json:"permitRequestIbmPublicPublish,omitempty" tf:"permit_request_ibm_public_publish"`
	// The portal's approval record ID.
	// +optional
	PortalApprovalRecord *string `json:"portalApprovalRecord,omitempty" tf:"portal_approval_record"`
	// The portal UI URL.
	// +optional
	PortalUiURL *string `json:"portalUiURL,omitempty" tf:"portal_ui_url"`
	// The original offering CRN that this publish entry came from.
	// +optional
	PublicOriginalCrn *string `json:"publicOriginalCrn,omitempty" tf:"public_original_crn"`
	// Indicates if this offering has been approved for use by all IBM Cloud users.
	// +optional
	PublicPublishApproved *bool `json:"publicPublishApproved,omitempty" tf:"public_publish_approved"`
	// The crn of the public catalog entry of this offering.
	// +optional
	PublishPublicCrn *string `json:"publishPublicCrn,omitempty" tf:"publish_public_crn"`
	// Repository info for offerings.
	// +optional
	RepoInfo []OfferingSpecRepoInfo `json:"repoInfo,omitempty" tf:"repo_info"`
	// Short description in the requested language.
	// +optional
	ShortDescription *string `json:"shortDescription,omitempty" tf:"short_description"`
	// List of tags associated with this catalog.
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// The url for this specific offering.
	// +optional
	Url *string `json:"url,omitempty" tf:"url"`
}

func (*OfferingSpecResource) DeepCopy

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

func (*OfferingSpecResource) DeepCopyInto

func (in *OfferingSpecResource) DeepCopyInto(out *OfferingSpecResource)

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

type OfferingStatus

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

func (in *OfferingStatus) DeepCopy() *OfferingStatus

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

func (*OfferingStatus) DeepCopyInto

func (in *OfferingStatus) DeepCopyInto(out *OfferingStatus)

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 {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Catalog ID.
	// +optional
	CatalogID *string `json:"catalogID,omitempty" tf:"catalog_id"`
	// Catalog identifier.
	CatalogIdentifier *string `json:"catalogIdentifier" tf:"catalog_identifier"`
	// byte array representing the content to be imported.  Only supported for OVA images at this time.
	// +optional
	Content *string `json:"content,omitempty" tf:"content"`
	// The date and time this version was created.
	// +optional
	Created *string `json:"created,omitempty" tf:"created"`
	// Version's CRN.
	// +optional
	Crn *string `json:"crn,omitempty" tf:"crn"`
	// Kind ID.
	// +optional
	KindID *string `json:"kindID,omitempty" tf:"kind_id"`
	// Offering identification.
	OfferingID *string `json:"offeringID" tf:"offering_id"`
	// Content's repo URL.
	// +optional
	RepoURL *string `json:"repoURL,omitempty" tf:"repo_url"`
	// hash of the content.
	// +optional
	Sha *string `json:"sha,omitempty" tf:"sha"`
	// Content's source URL (e.g git repo).
	// +optional
	SourceURL *string `json:"sourceURL,omitempty" tf:"source_url"`
	// Tags array.
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// Target kinds.  Current valid values are 'iks', 'roks', 'vcenter', and 'terraform'.
	// +optional
	TargetKinds []string `json:"targetKinds,omitempty" tf:"target_kinds"`
	// The semver value for this new version, if not found in the zip url package content.
	// +optional
	TargetVersion *string `json:"targetVersion,omitempty" tf:"target_version"`
	// File used to on-board this version.
	// +optional
	TgzURL *string `json:"tgzURL,omitempty" tf:"tgz_url"`
	// The date and time this version was last updated.
	// +optional
	Updated *string `json:"updated,omitempty" tf:"updated"`
	// Version of content type.
	// +optional
	Version *string `json:"version,omitempty" tf:"version"`
	// URL path to zip location.  If not specified, must provide content in the body of this call.
	// +optional
	Zipurl *string `json:"zipurl,omitempty" tf:"zipurl"`
}

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 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