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

type Agreement struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AgreementSpec   `json:"spec,omitempty"`
	Status            AgreementStatus `json:"status,omitempty"`
}

func (*Agreement) DeepCopy

func (in *Agreement) DeepCopy() *Agreement

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

func (*Agreement) DeepCopyInto

func (in *Agreement) DeepCopyInto(out *Agreement)

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

func (*Agreement) DeepCopyObject

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

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

func (*Agreement) SetupWebhookWithManager

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

func (*Agreement) ValidateCreate

func (r *Agreement) ValidateCreate() error

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

func (*Agreement) ValidateDelete

func (r *Agreement) ValidateDelete() error

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

func (*Agreement) ValidateUpdate

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

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

type AgreementList

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

AgreementList is a list of Agreements

func (*AgreementList) DeepCopy

func (in *AgreementList) DeepCopy() *AgreementList

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

func (*AgreementList) DeepCopyInto

func (in *AgreementList) DeepCopyInto(out *AgreementList)

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

func (*AgreementList) DeepCopyObject

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

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

type AgreementSpec

type AgreementSpec struct {
	State *AgreementSpecResource `json:"state,omitempty" tf:"-"`

	Resource AgreementSpecResource `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 (*AgreementSpec) DeepCopy

func (in *AgreementSpec) DeepCopy() *AgreementSpec

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

func (*AgreementSpec) DeepCopyInto

func (in *AgreementSpec) DeepCopyInto(out *AgreementSpec)

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

type AgreementSpecResource

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

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

	// +optional
	LicenseTextLink *string `json:"licenseTextLink,omitempty" tf:"license_text_link"`
	Offer           *string `json:"offer" tf:"offer"`
	Plan            *string `json:"plan" tf:"plan"`
	// +optional
	PrivacyPolicyLink *string `json:"privacyPolicyLink,omitempty" tf:"privacy_policy_link"`
	Publisher         *string `json:"publisher" tf:"publisher"`
}

func (*AgreementSpecResource) DeepCopy

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

func (*AgreementSpecResource) DeepCopyInto

func (in *AgreementSpecResource) DeepCopyInto(out *AgreementSpecResource)

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

type AgreementStatus

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

func (in *AgreementStatus) DeepCopy() *AgreementStatus

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

func (*AgreementStatus) DeepCopyInto

func (in *AgreementStatus) DeepCopyInto(out *AgreementStatus)

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