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=prometheus.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: prometheus.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 AlertManagerDefinition added in v0.5.0

type AlertManagerDefinition struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AlertManagerDefinitionSpec   `json:"spec,omitempty"`
	Status            AlertManagerDefinitionStatus `json:"status,omitempty"`
}

func (*AlertManagerDefinition) DeepCopy added in v0.5.0

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

func (*AlertManagerDefinition) DeepCopyInto added in v0.5.0

func (in *AlertManagerDefinition) DeepCopyInto(out *AlertManagerDefinition)

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

func (*AlertManagerDefinition) DeepCopyObject added in v0.5.0

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

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

func (*AlertManagerDefinition) SetupWebhookWithManager added in v0.5.0

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

func (*AlertManagerDefinition) ValidateCreate added in v0.5.0

func (r *AlertManagerDefinition) ValidateCreate() error

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

func (*AlertManagerDefinition) ValidateDelete added in v0.5.0

func (r *AlertManagerDefinition) ValidateDelete() error

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

func (*AlertManagerDefinition) ValidateUpdate added in v0.5.0

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

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

type AlertManagerDefinitionList added in v0.5.0

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

AlertManagerDefinitionList is a list of AlertManagerDefinitions

func (*AlertManagerDefinitionList) DeepCopy added in v0.5.0

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

func (*AlertManagerDefinitionList) DeepCopyInto added in v0.5.0

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

func (*AlertManagerDefinitionList) DeepCopyObject added in v0.5.0

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

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

type AlertManagerDefinitionSpec added in v0.5.0

type AlertManagerDefinitionSpec struct {
	State *AlertManagerDefinitionSpecResource `json:"state,omitempty" tf:"-"`

	Resource AlertManagerDefinitionSpecResource `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 (*AlertManagerDefinitionSpec) DeepCopy added in v0.5.0

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

func (*AlertManagerDefinitionSpec) DeepCopyInto added in v0.5.0

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

type AlertManagerDefinitionSpecResource added in v0.5.0

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

	Definition  *string `json:"definition" tf:"definition"`
	WorkspaceID *string `json:"workspaceID" tf:"workspace_id"`
}

func (*AlertManagerDefinitionSpecResource) DeepCopy added in v0.5.0

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

func (*AlertManagerDefinitionSpecResource) DeepCopyInto added in v0.5.0

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

type AlertManagerDefinitionStatus added in v0.5.0

type AlertManagerDefinitionStatus 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 (*AlertManagerDefinitionStatus) DeepCopy added in v0.5.0

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

func (*AlertManagerDefinitionStatus) DeepCopyInto added in v0.5.0

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

type RuleGroupNamespace added in v0.5.0

type RuleGroupNamespace struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RuleGroupNamespaceSpec   `json:"spec,omitempty"`
	Status            RuleGroupNamespaceStatus `json:"status,omitempty"`
}

func (*RuleGroupNamespace) DeepCopy added in v0.5.0

func (in *RuleGroupNamespace) DeepCopy() *RuleGroupNamespace

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

func (*RuleGroupNamespace) DeepCopyInto added in v0.5.0

func (in *RuleGroupNamespace) DeepCopyInto(out *RuleGroupNamespace)

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

func (*RuleGroupNamespace) DeepCopyObject added in v0.5.0

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

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

func (*RuleGroupNamespace) SetupWebhookWithManager added in v0.5.0

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

func (*RuleGroupNamespace) ValidateCreate added in v0.5.0

func (r *RuleGroupNamespace) ValidateCreate() error

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

func (*RuleGroupNamespace) ValidateDelete added in v0.5.0

func (r *RuleGroupNamespace) ValidateDelete() error

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

func (*RuleGroupNamespace) ValidateUpdate added in v0.5.0

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

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

type RuleGroupNamespaceList added in v0.5.0

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

RuleGroupNamespaceList is a list of RuleGroupNamespaces

func (*RuleGroupNamespaceList) DeepCopy added in v0.5.0

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

func (*RuleGroupNamespaceList) DeepCopyInto added in v0.5.0

func (in *RuleGroupNamespaceList) DeepCopyInto(out *RuleGroupNamespaceList)

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

func (*RuleGroupNamespaceList) DeepCopyObject added in v0.5.0

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

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

type RuleGroupNamespaceSpec added in v0.5.0

type RuleGroupNamespaceSpec struct {
	State *RuleGroupNamespaceSpecResource `json:"state,omitempty" tf:"-"`

	Resource RuleGroupNamespaceSpecResource `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 (*RuleGroupNamespaceSpec) DeepCopy added in v0.5.0

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

func (*RuleGroupNamespaceSpec) DeepCopyInto added in v0.5.0

func (in *RuleGroupNamespaceSpec) DeepCopyInto(out *RuleGroupNamespaceSpec)

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

type RuleGroupNamespaceSpecResource added in v0.5.0

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

	Data        *string `json:"data" tf:"data"`
	Name        *string `json:"name" tf:"name"`
	WorkspaceID *string `json:"workspaceID" tf:"workspace_id"`
}

func (*RuleGroupNamespaceSpecResource) DeepCopy added in v0.5.0

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

func (*RuleGroupNamespaceSpecResource) DeepCopyInto added in v0.5.0

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

type RuleGroupNamespaceStatus added in v0.5.0

type RuleGroupNamespaceStatus 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 (*RuleGroupNamespaceStatus) DeepCopy added in v0.5.0

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

func (*RuleGroupNamespaceStatus) DeepCopyInto added in v0.5.0

func (in *RuleGroupNamespaceStatus) DeepCopyInto(out *RuleGroupNamespaceStatus)

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

type Workspace

type Workspace struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              WorkspaceSpec   `json:"spec,omitempty"`
	Status            WorkspaceStatus `json:"status,omitempty"`
}

func (*Workspace) DeepCopy

func (in *Workspace) DeepCopy() *Workspace

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

func (*Workspace) DeepCopyInto

func (in *Workspace) DeepCopyInto(out *Workspace)

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

func (*Workspace) DeepCopyObject

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

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

func (*Workspace) SetupWebhookWithManager

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

func (*Workspace) ValidateCreate

func (r *Workspace) ValidateCreate() error

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

func (*Workspace) ValidateDelete

func (r *Workspace) ValidateDelete() error

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

func (*Workspace) ValidateUpdate

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

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

type WorkspaceList

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

WorkspaceList is a list of Workspaces

func (*WorkspaceList) DeepCopy

func (in *WorkspaceList) DeepCopy() *WorkspaceList

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

func (*WorkspaceList) DeepCopyInto

func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList)

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

func (*WorkspaceList) DeepCopyObject

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

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

type WorkspaceSpec

type WorkspaceSpec struct {
	State *WorkspaceSpecResource `json:"state,omitempty" tf:"-"`

	Resource WorkspaceSpecResource `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 (*WorkspaceSpec) DeepCopy

func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec

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

func (*WorkspaceSpec) DeepCopyInto

func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec)

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

type WorkspaceSpecResource

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

	// +optional
	Alias *string `json:"alias,omitempty" tf:"alias"`
	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	PrometheusEndpoint *string `json:"prometheusEndpoint,omitempty" tf:"prometheus_endpoint"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*WorkspaceSpecResource) DeepCopy

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

func (*WorkspaceSpecResource) DeepCopyInto

func (in *WorkspaceSpecResource) DeepCopyInto(out *WorkspaceSpecResource)

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

type WorkspaceStatus

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

func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus

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

func (*WorkspaceStatus) DeepCopyInto

func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus)

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