Documentation ¶
Overview ¶
+groupName=environment.dynatrace.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Environment
- func (in *Environment) DeepCopy() *Environment
- func (in *Environment) DeepCopyInto(out *Environment)
- func (in *Environment) DeepCopyObject() runtime.Object
- func (r *Environment) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Environment) ValidateCreate() error
- func (r *Environment) ValidateDelete() error
- func (r *Environment) ValidateUpdate(old runtime.Object) error
- type EnvironmentList
- type EnvironmentSpec
- type EnvironmentSpecQuotas
- type EnvironmentSpecQuotasCodec
- type EnvironmentSpecQuotasDdus
- type EnvironmentSpecQuotasDdusCodec
- type EnvironmentSpecQuotasDemUnits
- type EnvironmentSpecQuotasDemUnitsCodec
- type EnvironmentSpecQuotasLogs
- type EnvironmentSpecQuotasLogsCodec
- type EnvironmentSpecQuotasSynthetic
- type EnvironmentSpecQuotasSyntheticCodec
- type EnvironmentSpecQuotasUserSessions
- type EnvironmentSpecQuotasUserSessionsCodec
- type EnvironmentSpecResource
- type EnvironmentSpecStorage
- type EnvironmentSpecStorageCodec
- type EnvironmentSpecStorageLimits
- type EnvironmentSpecStorageLimitsCodec
- type EnvironmentSpecStorageRetention
- type EnvironmentSpecStorageRetentionCodec
- type EnvironmentStatus
Constants ¶
This section is empty.
Variables ¶
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 )
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 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 ¶
func (in *EnvironmentSpecQuotas) DeepCopy() *EnvironmentSpecQuotas
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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 ¶
func (in *EnvironmentSpecQuotasDdus) DeepCopy() *EnvironmentSpecQuotasDdus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecQuotasDdus.
func (*EnvironmentSpecQuotasDdus) DeepCopyInto ¶
func (in *EnvironmentSpecQuotasDdus) DeepCopyInto(out *EnvironmentSpecQuotasDdus)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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 ¶
func (in *EnvironmentSpecQuotasDemUnits) DeepCopy() *EnvironmentSpecQuotasDemUnits
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecQuotasDemUnits.
func (*EnvironmentSpecQuotasDemUnits) DeepCopyInto ¶
func (in *EnvironmentSpecQuotasDemUnits) DeepCopyInto(out *EnvironmentSpecQuotasDemUnits)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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 ¶
func (in *EnvironmentSpecQuotasLogs) DeepCopy() *EnvironmentSpecQuotasLogs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecQuotasLogs.
func (*EnvironmentSpecQuotasLogs) DeepCopyInto ¶
func (in *EnvironmentSpecQuotasLogs) DeepCopyInto(out *EnvironmentSpecQuotasLogs)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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 ¶
func (in *EnvironmentSpecQuotasSynthetic) DeepCopy() *EnvironmentSpecQuotasSynthetic
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecQuotasSynthetic.
func (*EnvironmentSpecQuotasSynthetic) DeepCopyInto ¶
func (in *EnvironmentSpecQuotasSynthetic) DeepCopyInto(out *EnvironmentSpecQuotasSynthetic)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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 ¶
func (in *EnvironmentSpecQuotasUserSessions) DeepCopy() *EnvironmentSpecQuotasUserSessions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecQuotasUserSessions.
func (*EnvironmentSpecQuotasUserSessions) DeepCopyInto ¶
func (in *EnvironmentSpecQuotasUserSessions) DeepCopyInto(out *EnvironmentSpecQuotasUserSessions)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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 ¶
func (in *EnvironmentSpecResource) DeepCopy() *EnvironmentSpecResource
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 ¶
func (in *EnvironmentSpecStorage) DeepCopy() *EnvironmentSpecStorage
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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 ¶
func (in *EnvironmentSpecStorageLimits) DeepCopy() *EnvironmentSpecStorageLimits
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecStorageLimits.
func (*EnvironmentSpecStorageLimits) DeepCopyInto ¶
func (in *EnvironmentSpecStorageLimits) DeepCopyInto(out *EnvironmentSpecStorageLimits)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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 ¶
func (in *EnvironmentSpecStorageRetention) DeepCopy() *EnvironmentSpecStorageRetention
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpecStorageRetention.
func (*EnvironmentSpecStorageRetention) DeepCopyInto ¶
func (in *EnvironmentSpecStorageRetention) DeepCopyInto(out *EnvironmentSpecStorageRetention)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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.