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=mobile.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: mobile.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 Application

type Application struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApplicationSpec   `json:"spec,omitempty"`
	Status            ApplicationStatus `json:"status,omitempty"`
}

func (*Application) DeepCopy

func (in *Application) DeepCopy() *Application

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

func (*Application) DeepCopyInto

func (in *Application) DeepCopyInto(out *Application)

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

func (*Application) DeepCopyObject

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

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

func (*Application) SetupWebhookWithManager

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

func (*Application) ValidateCreate

func (r *Application) ValidateCreate() error

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

func (*Application) ValidateDelete

func (r *Application) ValidateDelete() error

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

func (*Application) ValidateUpdate

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

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

type ApplicationList

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

ApplicationList is a list of Applications

func (*ApplicationList) DeepCopy

func (in *ApplicationList) DeepCopy() *ApplicationList

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

func (*ApplicationList) DeepCopyInto

func (in *ApplicationList) DeepCopyInto(out *ApplicationList)

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

func (*ApplicationList) DeepCopyObject

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

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

type ApplicationSpec

type ApplicationSpec struct {
	State *ApplicationSpecResource `json:"state,omitempty" tf:"-"`

	Resource ApplicationSpecResource `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 (*ApplicationSpec) DeepCopy

func (in *ApplicationSpec) DeepCopy() *ApplicationSpec

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

func (*ApplicationSpec) DeepCopyInto

func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)

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

type ApplicationSpecApdex

type ApplicationSpecApdex struct {
	// Apdex **frustrated** threshold, in milliseconds: a duration greater than or equal to this value is considered frustrated
	Frustrated *int64 `json:"frustrated" tf:"frustrated"`
	// Apdex error condition: if `true` the user session is considered frustrated when an error is reported
	// +optional
	FrustratedOnError *bool `json:"frustratedOnError,omitempty" tf:"frustrated_on_error"`
	// Apdex **tolerable** threshold, in milliseconds: a duration greater than or equal to this value is considered tolerable
	Tolerable *int64 `json:"tolerable" tf:"tolerable"`
}

func (*ApplicationSpecApdex) DeepCopy

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

func (*ApplicationSpecApdex) DeepCopyInto

func (in *ApplicationSpecApdex) DeepCopyInto(out *ApplicationSpecApdex)

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

type ApplicationSpecApdexCodec

type ApplicationSpecApdexCodec struct {
}

+k8s:deepcopy-gen=false

func (ApplicationSpecApdexCodec) Decode

func (ApplicationSpecApdexCodec) Encode

func (ApplicationSpecApdexCodec) IsEmpty

type ApplicationSpecProperties

type ApplicationSpecProperties struct {
	// A User Action / Session Property based on a value reported by the API
	// +optional
	ApiValue []ApplicationSpecPropertiesApiValue `json:"apiValue,omitempty" tf:"api_value"`
	// A User Action / Session Property based on a Server Side Request Attribute
	// +optional
	RequestAttribute []ApplicationSpecPropertiesRequestAttribute `json:"requestAttribute,omitempty" tf:"request_attribute"`
}

func (*ApplicationSpecProperties) DeepCopy

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

func (*ApplicationSpecProperties) DeepCopyInto

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

type ApplicationSpecPropertiesApiValue

type ApplicationSpecPropertiesApiValue struct {
	// The aggregation type of the property. It defines how multiple values of the property are aggregated. Possible values are `SUM`, `MIN`, `MAX`, `FIRST` and `LAST`
	// +optional
	Aggregation *string `json:"aggregation,omitempty" tf:"aggregation"`
	// The cleanup rule of the property. Defines how to extract the data you need from a string value. Specify the [regular expression](https://dt-url.net/k9e0iaq) for the data you need there
	// +optional
	CleanupRule *string `json:"cleanupRule,omitempty" tf:"cleanup_rule"`
	// The display name of the property
	// +optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name"`
	// The unique key of the mobile session or user action property
	Key *string `json:"key" tf:"key"`
	// The name of the reported value
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// If `true`, the property is stored as a session property
	// +optional
	StoreAsSessionProperty *bool `json:"storeAsSessionProperty,omitempty" tf:"store_as_session_property"`
	// If `true`, the property is stored as a user action property
	// +optional
	StoreAsUserActionProperty *bool `json:"storeAsUserActionProperty,omitempty" tf:"store_as_user_action_property"`
	// The data type of the property. Possible values are `DOUBLE`, `LONG` and `STRING`
	Type *string `json:"type" tf:"type"`
}

func (*ApplicationSpecPropertiesApiValue) DeepCopy

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

func (*ApplicationSpecPropertiesApiValue) DeepCopyInto

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

type ApplicationSpecPropertiesCodec

type ApplicationSpecPropertiesCodec struct {
}

+k8s:deepcopy-gen=false

func (ApplicationSpecPropertiesCodec) Decode

func (ApplicationSpecPropertiesCodec) Encode

func (ApplicationSpecPropertiesCodec) IsEmpty

type ApplicationSpecPropertiesRequestAttribute

type ApplicationSpecPropertiesRequestAttribute struct {
	// The aggregation type of the property. It defines how multiple values of the property are aggregated. Possible values are `SUM`, `MIN`, `MAX`, `FIRST` and `LAST`
	// +optional
	Aggregation *string `json:"aggregation,omitempty" tf:"aggregation"`
	// The cleanup rule of the property. Defines how to extract the data you need from a string value. Specify the [regular expression](https://dt-url.net/k9e0iaq) for the data you need there
	// +optional
	CleanupRule *string `json:"cleanupRule,omitempty" tf:"cleanup_rule"`
	// The display name of the property
	// +optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name"`
	// The ID of the request attribute
	ID *string `json:"ID" tf:"id"`
	// The unique key of the mobile session or user action property
	Key *string `json:"key" tf:"key"`
	// If `true`, the property is stored as a session property
	// +optional
	StoreAsSessionProperty *bool `json:"storeAsSessionProperty,omitempty" tf:"store_as_session_property"`
	// If `true`, the property is stored as a user action property
	// +optional
	StoreAsUserActionProperty *bool `json:"storeAsUserActionProperty,omitempty" tf:"store_as_user_action_property"`
	// The data type of the property. Possible values are `DOUBLE`, `LONG` and `STRING`. The value MUST match the data type of the Request Attribute.
	Type *string `json:"type" tf:"type"`
}

func (*ApplicationSpecPropertiesRequestAttribute) DeepCopy

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

func (*ApplicationSpecPropertiesRequestAttribute) DeepCopyInto

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

type ApplicationSpecResource

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

	// Apdex configuration of a mobile application. A duration less than the **tolerable** threshold is considered satisfied
	Apdex *ApplicationSpecApdex `json:"apdex" tf:"apdex"`
	// The UUID of the application.
	//
	// It is used only by OneAgent to send data to Dynatrace. If not specified it will get generated.
	// +optional
	ApplicationID *string `json:"applicationID,omitempty" tf:"application_id"`
	// The type of the beacon endpoint. Possible values are `CLUSTER_ACTIVE_GATE`, `ENVIRONMENT_ACTIVE_GATE` and `INSTRUMENTED_WEB_SERVER`.
	BeaconEndpointType *string `json:"beaconEndpointType" tf:"beacon_endpoint_type"`
	// The URL of the beacon endpoint.
	//
	// Only applicable when the **beacon_endpoint_type** is set to `ENVIRONMENT_ACTIVE_GATE` or `INSTRUMENTED_WEB_SERVER`
	// +optional
	BeaconEndpointURL *string `json:"beaconEndpointURL,omitempty" tf:"beacon_endpoint_url"`
	// User Action names to be flagged as Key User Actions
	// +optional
	KeyUserActions []string `json:"keyUserActions,omitempty" tf:"key_user_actions"`
	// The name of the application
	Name *string `json:"name" tf:"name"`
	// The opt-in mode is enabled (`true`) or disabled (`false`)
	// +optional
	OptInMode *bool `json:"optInMode,omitempty" tf:"opt_in_mode"`
	// User Action and Session Properties
	// +optional
	Properties *ApplicationSpecProperties `json:"properties,omitempty" tf:"properties"`
	// The session replay is enabled (`true`) or disabled (`false`).
	// +optional
	SessionReplay *bool `json:"sessionReplay,omitempty" tf:"session_replay"`
	// The session replay on crash is enabled (`true`) or disabled (`false`).
	//
	// Enabling requires both **sessionReplayEnabled** and **optInModeEnabled** values set to `true`.
	// +optional
	SessionReplayOnCrash *bool `json:"sessionReplayOnCrash,omitempty" tf:"session_replay_on_crash"`
	// The percentage of user sessions to be analyzed
	// +optional
	UserSessionPercentage *int64 `json:"userSessionPercentage,omitempty" tf:"user_session_percentage"`
}

func (*ApplicationSpecResource) DeepCopy

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

func (*ApplicationSpecResource) DeepCopyInto

func (in *ApplicationSpecResource) DeepCopyInto(out *ApplicationSpecResource)

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

type ApplicationStatus

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

func (in *ApplicationStatus) DeepCopy() *ApplicationStatus

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

func (*ApplicationStatus) DeepCopyInto

func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)

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