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=licensemanager.aws.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: licensemanager.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 Association

type Association struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AssociationSpec   `json:"spec,omitempty"`
	Status            AssociationStatus `json:"status,omitempty"`
}

func (*Association) DeepCopy

func (in *Association) DeepCopy() *Association

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

func (*Association) DeepCopyInto

func (in *Association) DeepCopyInto(out *Association)

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

func (*Association) DeepCopyObject

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

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

func (*Association) SetupWebhookWithManager

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

func (*Association) ValidateCreate

func (r *Association) ValidateCreate() error

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

func (*Association) ValidateDelete

func (r *Association) ValidateDelete() error

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

func (*Association) ValidateUpdate

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

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

type AssociationList

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

AssociationList is a list of Associations

func (*AssociationList) DeepCopy

func (in *AssociationList) DeepCopy() *AssociationList

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

func (*AssociationList) DeepCopyInto

func (in *AssociationList) DeepCopyInto(out *AssociationList)

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

func (*AssociationList) DeepCopyObject

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

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

type AssociationSpec

type AssociationSpec struct {
	State *AssociationSpecResource `json:"state,omitempty" tf:"-"`

	Resource AssociationSpecResource `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 (*AssociationSpec) DeepCopy

func (in *AssociationSpec) DeepCopy() *AssociationSpec

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

func (*AssociationSpec) DeepCopyInto

func (in *AssociationSpec) DeepCopyInto(out *AssociationSpec)

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

type AssociationSpecResource

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

	LicenseConfigurationArn *string `json:"licenseConfigurationArn" tf:"license_configuration_arn"`
	ResourceArn             *string `json:"resourceArn" tf:"resource_arn"`
}

func (*AssociationSpecResource) DeepCopy

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

func (*AssociationSpecResource) DeepCopyInto

func (in *AssociationSpecResource) DeepCopyInto(out *AssociationSpecResource)

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

type AssociationStatus

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

func (in *AssociationStatus) DeepCopy() *AssociationStatus

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

func (*AssociationStatus) DeepCopyInto

func (in *AssociationStatus) DeepCopyInto(out *AssociationStatus)

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

type LicenseConfiguration

type LicenseConfiguration struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LicenseConfigurationSpec   `json:"spec,omitempty"`
	Status            LicenseConfigurationStatus `json:"status,omitempty"`
}

func (*LicenseConfiguration) DeepCopy

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

func (*LicenseConfiguration) DeepCopyInto

func (in *LicenseConfiguration) DeepCopyInto(out *LicenseConfiguration)

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

func (*LicenseConfiguration) DeepCopyObject

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

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

func (*LicenseConfiguration) SetupWebhookWithManager

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

func (*LicenseConfiguration) ValidateCreate

func (r *LicenseConfiguration) ValidateCreate() error

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

func (*LicenseConfiguration) ValidateDelete

func (r *LicenseConfiguration) ValidateDelete() error

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

func (*LicenseConfiguration) ValidateUpdate

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

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

type LicenseConfigurationList

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

LicenseConfigurationList is a list of LicenseConfigurations

func (*LicenseConfigurationList) DeepCopy

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

func (*LicenseConfigurationList) DeepCopyInto

func (in *LicenseConfigurationList) DeepCopyInto(out *LicenseConfigurationList)

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

func (*LicenseConfigurationList) DeepCopyObject

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

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

type LicenseConfigurationSpec

type LicenseConfigurationSpec struct {
	State *LicenseConfigurationSpecResource `json:"state,omitempty" tf:"-"`

	Resource LicenseConfigurationSpecResource `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 (*LicenseConfigurationSpec) DeepCopy

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

func (*LicenseConfigurationSpec) DeepCopyInto

func (in *LicenseConfigurationSpec) DeepCopyInto(out *LicenseConfigurationSpec)

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

type LicenseConfigurationSpecResource

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

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	LicenseCount *int64 `json:"licenseCount,omitempty" tf:"license_count"`
	// +optional
	LicenseCountHardLimit *bool   `json:"licenseCountHardLimit,omitempty" tf:"license_count_hard_limit"`
	LicenseCountingType   *string `json:"licenseCountingType" tf:"license_counting_type"`
	// +optional
	LicenseRules []string `json:"licenseRules,omitempty" tf:"license_rules"`
	Name         *string  `json:"name" tf:"name"`
	// +optional
	OwnerAccountID *string `json:"ownerAccountID,omitempty" tf:"owner_account_id"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*LicenseConfigurationSpecResource) DeepCopy

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

func (*LicenseConfigurationSpecResource) DeepCopyInto

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

type LicenseConfigurationStatus

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

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

func (*LicenseConfigurationStatus) DeepCopyInto

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