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=marketplace.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: marketplace.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 AcceptedAgreement

type AcceptedAgreement struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AcceptedAgreementSpec   `json:"spec,omitempty"`
	Status            AcceptedAgreementStatus `json:"status,omitempty"`
}

func (*AcceptedAgreement) DeepCopy

func (in *AcceptedAgreement) DeepCopy() *AcceptedAgreement

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

func (*AcceptedAgreement) DeepCopyInto

func (in *AcceptedAgreement) DeepCopyInto(out *AcceptedAgreement)

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

func (*AcceptedAgreement) DeepCopyObject

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

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

func (*AcceptedAgreement) SetupWebhookWithManager

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

func (*AcceptedAgreement) ValidateCreate

func (r *AcceptedAgreement) ValidateCreate() error

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

func (*AcceptedAgreement) ValidateDelete

func (r *AcceptedAgreement) ValidateDelete() error

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

func (*AcceptedAgreement) ValidateUpdate

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

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

type AcceptedAgreementList

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

AcceptedAgreementList is a list of AcceptedAgreements

func (*AcceptedAgreementList) DeepCopy

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

func (*AcceptedAgreementList) DeepCopyInto

func (in *AcceptedAgreementList) DeepCopyInto(out *AcceptedAgreementList)

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

func (*AcceptedAgreementList) DeepCopyObject

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

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

type AcceptedAgreementSpec

type AcceptedAgreementSpec struct {
	State *AcceptedAgreementSpecResource `json:"state,omitempty" tf:"-"`

	Resource AcceptedAgreementSpecResource `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 (*AcceptedAgreementSpec) DeepCopy

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

func (*AcceptedAgreementSpec) DeepCopyInto

func (in *AcceptedAgreementSpec) DeepCopyInto(out *AcceptedAgreementSpec)

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

type AcceptedAgreementSpecResource

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

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

	AgreementID   *string `json:"agreementID" tf:"agreement_id"`
	CompartmentID *string `json:"compartmentID" tf:"compartment_id"`
	// +optional
	DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"`
	// +optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name"`
	// +optional
	FreeformTags   map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"`
	ListingID      *string           `json:"listingID" tf:"listing_id"`
	PackageVersion *string           `json:"packageVersion" tf:"package_version"`
	Signature      *string           `json:"signature" tf:"signature"`
	// +optional
	TimeAccepted *string `json:"timeAccepted,omitempty" tf:"time_accepted"`
}

func (*AcceptedAgreementSpecResource) DeepCopy

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

func (*AcceptedAgreementSpecResource) DeepCopyInto

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

type AcceptedAgreementStatus

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

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

func (*AcceptedAgreementStatus) DeepCopyInto

func (in *AcceptedAgreementStatus) DeepCopyInto(out *AcceptedAgreementStatus)

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

type ListingPackageAgreement

type ListingPackageAgreement struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ListingPackageAgreementSpec   `json:"spec,omitempty"`
	Status            ListingPackageAgreementStatus `json:"status,omitempty"`
}

func (*ListingPackageAgreement) DeepCopy

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

func (*ListingPackageAgreement) DeepCopyInto

func (in *ListingPackageAgreement) DeepCopyInto(out *ListingPackageAgreement)

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

func (*ListingPackageAgreement) DeepCopyObject

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

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

func (*ListingPackageAgreement) SetupWebhookWithManager

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

func (*ListingPackageAgreement) ValidateCreate

func (r *ListingPackageAgreement) ValidateCreate() error

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

func (*ListingPackageAgreement) ValidateDelete

func (r *ListingPackageAgreement) ValidateDelete() error

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

func (*ListingPackageAgreement) ValidateUpdate

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

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

type ListingPackageAgreementList

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

ListingPackageAgreementList is a list of ListingPackageAgreements

func (*ListingPackageAgreementList) DeepCopy

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

func (*ListingPackageAgreementList) DeepCopyInto

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

func (*ListingPackageAgreementList) DeepCopyObject

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

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

type ListingPackageAgreementSpec

type ListingPackageAgreementSpec struct {
	State *ListingPackageAgreementSpecResource `json:"state,omitempty" tf:"-"`

	Resource ListingPackageAgreementSpecResource `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 (*ListingPackageAgreementSpec) DeepCopy

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

func (*ListingPackageAgreementSpec) DeepCopyInto

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

type ListingPackageAgreementSpecResource

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

	AgreementID *string `json:"agreementID" tf:"agreement_id"`
	// +optional
	Author *string `json:"author,omitempty" tf:"author"`
	// +optional
	CompartmentID *string `json:"compartmentID,omitempty" tf:"compartment_id"`
	// +optional
	ContentURL     *string `json:"contentURL,omitempty" tf:"content_url"`
	ListingID      *string `json:"listingID" tf:"listing_id"`
	PackageVersion *string `json:"packageVersion" tf:"package_version"`
	// +optional
	Prompt *string `json:"prompt,omitempty" tf:"prompt"`
	// +optional
	Signature *string `json:"signature,omitempty" tf:"signature"`
}

func (*ListingPackageAgreementSpecResource) DeepCopy

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

func (*ListingPackageAgreementSpecResource) DeepCopyInto

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

type ListingPackageAgreementStatus

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

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

func (*ListingPackageAgreementStatus) DeepCopyInto

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

type Publication

type Publication struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PublicationSpec   `json:"spec,omitempty"`
	Status            PublicationStatus `json:"status,omitempty"`
}

func (*Publication) DeepCopy

func (in *Publication) DeepCopy() *Publication

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

func (*Publication) DeepCopyInto

func (in *Publication) DeepCopyInto(out *Publication)

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

func (*Publication) DeepCopyObject

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

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

func (*Publication) SetupWebhookWithManager

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

func (*Publication) ValidateCreate

func (r *Publication) ValidateCreate() error

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

func (*Publication) ValidateDelete

func (r *Publication) ValidateDelete() error

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

func (*Publication) ValidateUpdate

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

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

type PublicationList

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

PublicationList is a list of Publications

func (*PublicationList) DeepCopy

func (in *PublicationList) DeepCopy() *PublicationList

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

func (*PublicationList) DeepCopyInto

func (in *PublicationList) DeepCopyInto(out *PublicationList)

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

func (*PublicationList) DeepCopyObject

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

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

type PublicationSpec

type PublicationSpec struct {
	State *PublicationSpecResource `json:"state,omitempty" tf:"-"`

	Resource PublicationSpecResource `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 (*PublicationSpec) DeepCopy

func (in *PublicationSpec) DeepCopy() *PublicationSpec

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

func (*PublicationSpec) DeepCopyInto

func (in *PublicationSpec) DeepCopyInto(out *PublicationSpec)

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

type PublicationSpecIcon

type PublicationSpecIcon struct {
	// +optional
	ContentURL *string `json:"contentURL,omitempty" tf:"content_url"`
	// +optional
	FileExtension *string `json:"fileExtension,omitempty" tf:"file_extension"`
	// +optional
	MimeType *string `json:"mimeType,omitempty" tf:"mime_type"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
}

func (*PublicationSpecIcon) DeepCopy

func (in *PublicationSpecIcon) DeepCopy() *PublicationSpecIcon

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

func (*PublicationSpecIcon) DeepCopyInto

func (in *PublicationSpecIcon) DeepCopyInto(out *PublicationSpecIcon)

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

type PublicationSpecIconCodec

type PublicationSpecIconCodec struct {
}

+k8s:deepcopy-gen=false

func (PublicationSpecIconCodec) Decode

func (PublicationSpecIconCodec) Encode

func (PublicationSpecIconCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (PublicationSpecIconCodec) IsEmpty

type PublicationSpecPackageDetails

type PublicationSpecPackageDetails struct {
	Eula []PublicationSpecPackageDetailsEula `json:"eula" tf:"eula"`
	// +optional
	ImageID         *string                                       `json:"imageID,omitempty" tf:"image_id"`
	OperatingSystem *PublicationSpecPackageDetailsOperatingSystem `json:"operatingSystem" tf:"operating_system"`
	PackageType     *string                                       `json:"packageType" tf:"package_type"`
	PackageVersion  *string                                       `json:"packageVersion" tf:"package_version"`
}

func (*PublicationSpecPackageDetails) DeepCopy

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

func (*PublicationSpecPackageDetails) DeepCopyInto

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

type PublicationSpecPackageDetailsCodec

type PublicationSpecPackageDetailsCodec struct {
}

+k8s:deepcopy-gen=false

func (PublicationSpecPackageDetailsCodec) Decode

func (PublicationSpecPackageDetailsCodec) Encode

func (PublicationSpecPackageDetailsCodec) IsEmpty

type PublicationSpecPackageDetailsEula

type PublicationSpecPackageDetailsEula struct {
	EulaType *string `json:"eulaType" tf:"eula_type"`
	// +optional
	LicenseText *string `json:"licenseText,omitempty" tf:"license_text"`
}

func (*PublicationSpecPackageDetailsEula) DeepCopy

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

func (*PublicationSpecPackageDetailsEula) DeepCopyInto

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

type PublicationSpecPackageDetailsOperatingSystem

type PublicationSpecPackageDetailsOperatingSystem struct {
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
}

func (*PublicationSpecPackageDetailsOperatingSystem) DeepCopy

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

func (*PublicationSpecPackageDetailsOperatingSystem) DeepCopyInto

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

type PublicationSpecPackageDetailsOperatingSystemCodec

type PublicationSpecPackageDetailsOperatingSystemCodec struct {
}

+k8s:deepcopy-gen=false

func (PublicationSpecPackageDetailsOperatingSystemCodec) Decode

func (PublicationSpecPackageDetailsOperatingSystemCodec) Encode

func (PublicationSpecPackageDetailsOperatingSystemCodec) IsEmpty

type PublicationSpecResource

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

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

	CompartmentID *string `json:"compartmentID" tf:"compartment_id"`
	// +optional
	DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"`
	// +optional
	FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"`
	// +optional
	Icon                    *PublicationSpecIcon `json:"icon,omitempty" tf:"icon"`
	IsAgreementAcknowledged *bool                `json:"isAgreementAcknowledged" tf:"is_agreement_acknowledged"`
	ListingType             *string              `json:"listingType" tf:"listing_type"`
	// +optional
	LongDescription *string                        `json:"longDescription,omitempty" tf:"long_description"`
	Name            *string                        `json:"name" tf:"name"`
	PackageDetails  *PublicationSpecPackageDetails `json:"packageDetails" tf:"package_details"`
	// +optional
	PackageType      *string `json:"packageType,omitempty" tf:"package_type"`
	ShortDescription *string `json:"shortDescription" tf:"short_description"`
	// +optional
	State           *string                          `json:"state,omitempty" tf:"state"`
	SupportContacts []PublicationSpecSupportContacts `json:"supportContacts" tf:"support_contacts"`
	// +optional
	SupportedOperatingSystems []PublicationSpecSupportedOperatingSystems `json:"supportedOperatingSystems,omitempty" tf:"supported_operating_systems"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
}

func (*PublicationSpecResource) DeepCopy

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

func (*PublicationSpecResource) DeepCopyInto

func (in *PublicationSpecResource) DeepCopyInto(out *PublicationSpecResource)

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

type PublicationSpecSupportContacts

type PublicationSpecSupportContacts struct {
	// +optional
	Email *string `json:"email,omitempty" tf:"email"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Phone *string `json:"phone,omitempty" tf:"phone"`
	// +optional
	Subject *string `json:"subject,omitempty" tf:"subject"`
}

func (*PublicationSpecSupportContacts) DeepCopy

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

func (*PublicationSpecSupportContacts) DeepCopyInto

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

type PublicationSpecSupportedOperatingSystems

type PublicationSpecSupportedOperatingSystems struct {
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
}

func (*PublicationSpecSupportedOperatingSystems) DeepCopy

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

func (*PublicationSpecSupportedOperatingSystems) DeepCopyInto

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

type PublicationStatus

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

func (in *PublicationStatus) DeepCopy() *PublicationStatus

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

func (*PublicationStatus) DeepCopyInto

func (in *PublicationStatus) DeepCopyInto(out *PublicationStatus)

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