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=environment.dynatrace.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: environment.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 Environment

type Environment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EnvironmentSpec   `json:"spec,omitempty"`
	Status            EnvironmentStatus `json:"status,omitempty"`
}

func (*Environment) DeepCopy

func (in *Environment) DeepCopy() *Environment

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

func (*Environment) DeepCopyInto

func (in *Environment) DeepCopyInto(out *Environment)

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

func (*Environment) DeepCopyObject

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

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

func (*Environment) SetupWebhookWithManager

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

func (*Environment) ValidateCreate

func (r *Environment) ValidateCreate() error

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

func (*Environment) ValidateDelete

func (r *Environment) ValidateDelete() error

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

func (*Environment) ValidateUpdate

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

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

type EnvironmentList

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

EnvironmentList is a list of Environments

func (*EnvironmentList) DeepCopy

func (in *EnvironmentList) DeepCopy() *EnvironmentList

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

func (*EnvironmentList) DeepCopyInto

func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)

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

func (*EnvironmentList) DeepCopyObject

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

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

type EnvironmentSpec

type EnvironmentSpec struct {
	State *EnvironmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource EnvironmentSpecResource `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 (*EnvironmentSpec) DeepCopy

func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec

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

func (*EnvironmentSpec) DeepCopyInto

func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)

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

type EnvironmentSpecQuotas

type EnvironmentSpecQuotas struct {
	// Davis Data Units consumption and quota information on environment level. Not set (and not editable) if Davis data units is not enabled
	// +optional
	Ddus *EnvironmentSpecQuotasDdus `json:"ddus,omitempty" tf:"ddus"`
	// DEM units consumption and quota information on environment level
	// +optional
	DemUnits *EnvironmentSpecQuotasDemUnits `json:"demUnits,omitempty" tf:"dem_units"`
	// Host units consumption and quota information on environment level
	// +optional
	HostUnits *int64 `json:"hostUnits,omitempty" tf:"host_units"`
	// Log Monitoring consumption and quota information on environment level. Not set (and not editable) if Log monitoring is not enabled. Not set (and not editable) if Log monitoring is migrated to Davis data on license level
	// +optional
	Logs *EnvironmentSpecQuotasLogs `json:"logs,omitempty" tf:"logs"`
	// Synthetic monitors consumption and quota information on environment level. Not set (and not editable) if neither Synthetic nor DEM units is enabled
	// +optional
	Synthetic *EnvironmentSpecQuotasSynthetic `json:"synthetic,omitempty" tf:"synthetic"`
	// User sessions consumption and quota information on environment level
	// +optional
	UserSessions *EnvironmentSpecQuotasUserSessions `json:"userSessions,omitempty" tf:"user_sessions"`
}

func (*EnvironmentSpecQuotas) DeepCopy

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

func (*EnvironmentSpecQuotas) DeepCopyInto

func (in *EnvironmentSpecQuotas) DeepCopyInto(out *EnvironmentSpecQuotas)

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

type EnvironmentSpecQuotasCodec

type EnvironmentSpecQuotasCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecQuotasCodec) Decode

func (EnvironmentSpecQuotasCodec) Encode

func (EnvironmentSpecQuotasCodec) IsEmpty

type EnvironmentSpecQuotasDdus

type EnvironmentSpecQuotasDdus struct {
	// Annual environment quota. Not set if unlimited
	// +optional
	Annual *int64 `json:"annual,omitempty" tf:"annual"`
	// Monthly environment quota. Not set if unlimited
	// +optional
	Monthly *int64 `json:"monthly,omitempty" tf:"monthly"`
}

func (*EnvironmentSpecQuotasDdus) DeepCopy

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

func (*EnvironmentSpecQuotasDdus) DeepCopyInto

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

type EnvironmentSpecQuotasDdusCodec

type EnvironmentSpecQuotasDdusCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecQuotasDdusCodec) Decode

func (EnvironmentSpecQuotasDdusCodec) Encode

func (EnvironmentSpecQuotasDdusCodec) IsEmpty

type EnvironmentSpecQuotasDemUnits

type EnvironmentSpecQuotasDemUnits struct {
	// Annual environment quota. Not set if unlimited
	// +optional
	Annual *int64 `json:"annual,omitempty" tf:"annual"`
	// Monthly environment quota. Not set if unlimited
	// +optional
	Monthly *int64 `json:"monthly,omitempty" tf:"monthly"`
}

func (*EnvironmentSpecQuotasDemUnits) DeepCopy

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

func (*EnvironmentSpecQuotasDemUnits) DeepCopyInto

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

type EnvironmentSpecQuotasDemUnitsCodec

type EnvironmentSpecQuotasDemUnitsCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecQuotasDemUnitsCodec) Decode

func (EnvironmentSpecQuotasDemUnitsCodec) Encode

func (EnvironmentSpecQuotasDemUnitsCodec) IsEmpty

type EnvironmentSpecQuotasLogs

type EnvironmentSpecQuotasLogs struct {
	// Annual environment quota. Not set if unlimited
	// +optional
	Annual *int64 `json:"annual,omitempty" tf:"annual"`
	// Monthly environment quota. Not set if unlimited
	// +optional
	Monthly *int64 `json:"monthly,omitempty" tf:"monthly"`
}

func (*EnvironmentSpecQuotasLogs) DeepCopy

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

func (*EnvironmentSpecQuotasLogs) DeepCopyInto

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

type EnvironmentSpecQuotasLogsCodec

type EnvironmentSpecQuotasLogsCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecQuotasLogsCodec) Decode

func (EnvironmentSpecQuotasLogsCodec) Encode

func (EnvironmentSpecQuotasLogsCodec) IsEmpty

type EnvironmentSpecQuotasSynthetic

type EnvironmentSpecQuotasSynthetic struct {
	// Annual environment quota. Not set if unlimited
	// +optional
	Annual *int64 `json:"annual,omitempty" tf:"annual"`
	// Monthly environment quota. Not set if unlimited
	// +optional
	Monthly *int64 `json:"monthly,omitempty" tf:"monthly"`
}

func (*EnvironmentSpecQuotasSynthetic) DeepCopy

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

func (*EnvironmentSpecQuotasSynthetic) DeepCopyInto

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

type EnvironmentSpecQuotasSyntheticCodec

type EnvironmentSpecQuotasSyntheticCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecQuotasSyntheticCodec) Decode

func (EnvironmentSpecQuotasSyntheticCodec) Encode

func (EnvironmentSpecQuotasSyntheticCodec) IsEmpty

type EnvironmentSpecQuotasUserSessions

type EnvironmentSpecQuotasUserSessions struct {
	// Annual total User sessions environment quota. Not set if unlimited
	// +optional
	Annual *int64 `json:"annual,omitempty" tf:"annual"`
	// Monthly total User sessions environment quota. Not set if unlimited
	// +optional
	Monthly *int64 `json:"monthly,omitempty" tf:"monthly"`
}

func (*EnvironmentSpecQuotasUserSessions) DeepCopy

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

func (*EnvironmentSpecQuotasUserSessions) DeepCopyInto

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

type EnvironmentSpecQuotasUserSessionsCodec

type EnvironmentSpecQuotasUserSessionsCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecQuotasUserSessionsCodec) Decode

func (EnvironmentSpecQuotasUserSessionsCodec) Encode

func (EnvironmentSpecQuotasUserSessionsCodec) IsEmpty

type EnvironmentSpecResource

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

	// The display name of the environment
	Name *string `json:"name" tf:"name"`
	// Environment level consumption and quotas information
	// +optional
	Quotas *EnvironmentSpecQuotas `json:"quotas,omitempty" tf:"quotas"`
	// Indicates whether the environment is enabled or disabled. Possible values are `ENABLED` and `DISABLED`. The default value is ENABLED
	State *string `json:"state" tf:"state"`
	// Environment level storage usage and limit information
	Storage *EnvironmentSpecStorage `json:"storage" tf:"storage"`
	// A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// Specifies whether the environment is a trial environment or a non-trial environment. Creating a trial environment is only possible if your license allows that. The default value is false (non-trial)
	// +optional
	Trial *bool `json:"trial,omitempty" tf:"trial"`
}

func (*EnvironmentSpecResource) DeepCopy

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

func (*EnvironmentSpecResource) DeepCopyInto

func (in *EnvironmentSpecResource) DeepCopyInto(out *EnvironmentSpecResource)

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

type EnvironmentSpecStorage

type EnvironmentSpecStorage struct {
	// +optional
	Limits *EnvironmentSpecStorageLimits `json:"limits,omitempty" tf:"limits"`
	// +optional
	Retention *EnvironmentSpecStorageRetention `json:"retention,omitempty" tf:"retention"`
	// Maximum number of newly monitored entry point PurePaths captured per process/minute on environment level. Can be set to any value from 100 to 100000
	Transactions *int64 `json:"transactions" tf:"transactions"`
	// Maximum number of user actions generated per minute on environment level. Can be set to any value from 1 to 2147483646 or left unlimited by omitting this property
	// +optional
	UserActions *int64 `json:"userActions,omitempty" tf:"user_actions"`
}

func (*EnvironmentSpecStorage) DeepCopy

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

func (*EnvironmentSpecStorage) DeepCopyInto

func (in *EnvironmentSpecStorage) DeepCopyInto(out *EnvironmentSpecStorage)

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

type EnvironmentSpecStorageCodec

type EnvironmentSpecStorageCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecStorageCodec) Decode

func (EnvironmentSpecStorageCodec) Encode

func (EnvironmentSpecStorageCodec) IsEmpty

type EnvironmentSpecStorageLimits

type EnvironmentSpecStorageLimits struct {
	// Log monitoring storage usage and limit information on environment level in bytes. Not editable when Log monitoring is not allowed by license or not configured on cluster level. 0 for unlimited.
	// +optional
	Logs *int64 `json:"logs,omitempty" tf:"logs"`
	// Session replay storage usage and limit information on environment level in bytes. 0 for unlimited.
	// +optional
	SessionReplay *int64 `json:"sessionReplay,omitempty" tf:"session_replay"`
	// Session replay storage usage and limit information on environment level in bytes. 0 for unlimited.
	// +optional
	SymbolFiles *int64 `json:"symbolFiles,omitempty" tf:"symbol_files"`
	// Transaction storage usage and limit information on environment level in bytes. 0 for unlimited.
	// +optional
	Transactions *int64 `json:"transactions,omitempty" tf:"transactions"`
}

func (*EnvironmentSpecStorageLimits) DeepCopy

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

func (*EnvironmentSpecStorageLimits) DeepCopyInto

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

type EnvironmentSpecStorageLimitsCodec

type EnvironmentSpecStorageLimitsCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecStorageLimitsCodec) Decode

func (EnvironmentSpecStorageLimitsCodec) Encode

func (EnvironmentSpecStorageLimitsCodec) IsEmpty

type EnvironmentSpecStorageRetention

type EnvironmentSpecStorageRetention struct {
	// Log monitoring retention settings on environment level in days. Not editable when Log monitoring is not allowed by license or not configured on cluster level. Can be set to any value from 5 to 90 days
	Logs *int64 `json:"logs" tf:"logs"`
	// Real user monitoring retention settings on environment level in days. Can be set to any value from 1 to 35 days
	Rum *int64 `json:"rum" tf:"rum"`
	// Service code level retention settings on environment level in days. Service code level retention time can't be greater than service request level retention time and both can't exceed one year
	ServiceCodeLevel *int64 `json:"serviceCodeLevel" tf:"service_code_level"`
	// Service request level retention settings on environment level in days. Service code level retention time can't be greater than service request level retention time and both can't exceed one year
	ServiceRequestLevel *int64 `json:"serviceRequestLevel" tf:"service_request_level"`
	// Session replay retention settings on environment level in days. Can be set to any value from 1 to 35 days
	SessionReplay *int64 `json:"sessionReplay" tf:"session_replay"`
	// Synthetic monitoring retention settings on environment level in days. Can be set to any value from 1 to 35 days
	Synthetic *int64 `json:"synthetic" tf:"synthetic"`
}

func (*EnvironmentSpecStorageRetention) DeepCopy

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

func (*EnvironmentSpecStorageRetention) DeepCopyInto

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

type EnvironmentSpecStorageRetentionCodec

type EnvironmentSpecStorageRetentionCodec struct {
}

+k8s:deepcopy-gen=false

func (EnvironmentSpecStorageRetentionCodec) Decode

func (EnvironmentSpecStorageRetentionCodec) Encode

func (EnvironmentSpecStorageRetentionCodec) IsEmpty

type EnvironmentStatus

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

func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus

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

func (*EnvironmentStatus) DeepCopyInto

func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)

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