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=entity.newrelic.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: entity.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 Tags

type Tags struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TagsSpec   `json:"spec,omitempty"`
	Status            TagsStatus `json:"status,omitempty"`
}

func (*Tags) DeepCopy

func (in *Tags) DeepCopy() *Tags

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

func (*Tags) DeepCopyInto

func (in *Tags) DeepCopyInto(out *Tags)

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

func (*Tags) DeepCopyObject

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

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

func (*Tags) SetupWebhookWithManager

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

func (*Tags) ValidateCreate

func (r *Tags) ValidateCreate() error

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

func (*Tags) ValidateDelete

func (r *Tags) ValidateDelete() error

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

func (*Tags) ValidateUpdate

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

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

type TagsList

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

TagsList is a list of Tagss

func (*TagsList) DeepCopy

func (in *TagsList) DeepCopy() *TagsList

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

func (*TagsList) DeepCopyInto

func (in *TagsList) DeepCopyInto(out *TagsList)

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

func (*TagsList) DeepCopyObject

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

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

type TagsSpec

type TagsSpec struct {
	State *TagsSpecResource `json:"state,omitempty" tf:"-"`

	Resource TagsSpecResource `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 (*TagsSpec) DeepCopy

func (in *TagsSpec) DeepCopy() *TagsSpec

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

func (*TagsSpec) DeepCopyInto

func (in *TagsSpec) DeepCopyInto(out *TagsSpec)

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

type TagsSpecResource

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

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

	// The guid of the entity to tag.
	Guid *string `json:"guid" tf:"guid"`
	// A set of key-value pairs to represent a tag. For example: Team:TeamName
	// +kubebuilder:validation:MinItems=1
	Tag []TagsSpecTag `json:"tag" tf:"tag"`
}

func (*TagsSpecResource) DeepCopy

func (in *TagsSpecResource) DeepCopy() *TagsSpecResource

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

func (*TagsSpecResource) DeepCopyInto

func (in *TagsSpecResource) DeepCopyInto(out *TagsSpecResource)

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

type TagsSpecTag

type TagsSpecTag struct {
	// The tag key.
	Key *string `json:"key" tf:"key"`
	// The tag values.
	// +kubebuilder:validation:MinItems=1
	Values []string `json:"values" tf:"values"`
}

func (*TagsSpecTag) DeepCopy

func (in *TagsSpecTag) DeepCopy() *TagsSpecTag

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

func (*TagsSpecTag) DeepCopyInto

func (in *TagsSpecTag) DeepCopyInto(out *TagsSpecTag)

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

type TagsStatus

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

func (in *TagsStatus) DeepCopy() *TagsStatus

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

func (*TagsStatus) DeepCopyInto

func (in *TagsStatus) DeepCopyInto(out *TagsStatus)

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