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=azure.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: azure.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 Credentials

type Credentials struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CredentialsSpec   `json:"spec,omitempty"`
	Status            CredentialsStatus `json:"status,omitempty"`
}

func (*Credentials) DeepCopy

func (in *Credentials) DeepCopy() *Credentials

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

func (*Credentials) DeepCopyInto

func (in *Credentials) DeepCopyInto(out *Credentials)

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

func (*Credentials) DeepCopyObject

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

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

func (*Credentials) SetupWebhookWithManager

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

func (*Credentials) ValidateCreate

func (r *Credentials) ValidateCreate() error

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

func (*Credentials) ValidateDelete

func (r *Credentials) ValidateDelete() error

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

func (*Credentials) ValidateUpdate

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

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

type CredentialsList

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

CredentialsList is a list of Credentialss

func (*CredentialsList) DeepCopy

func (in *CredentialsList) DeepCopy() *CredentialsList

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

func (*CredentialsList) DeepCopyInto

func (in *CredentialsList) DeepCopyInto(out *CredentialsList)

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

func (*CredentialsList) DeepCopyObject

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

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

type CredentialsSpec

type CredentialsSpec struct {
	State *CredentialsSpecResource `json:"state,omitempty" tf:"-"`

	Resource CredentialsSpecResource `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 (*CredentialsSpec) DeepCopy

func (in *CredentialsSpec) DeepCopy() *CredentialsSpec

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

func (*CredentialsSpec) DeepCopyInto

func (in *CredentialsSpec) DeepCopyInto(out *CredentialsSpec)

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

type CredentialsSpecMonitorOnlyTagPairs

type CredentialsSpecMonitorOnlyTagPairs struct {
	// The name of the tag.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Any attributes that aren't yet supported by this provider
	// +optional
	Unknowns *string `json:"unknowns,omitempty" tf:"unknowns"`
	// The value of the tag.   If set to `null`, then resources with any value of the tag are monitored.
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*CredentialsSpecMonitorOnlyTagPairs) DeepCopy

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

func (*CredentialsSpecMonitorOnlyTagPairs) DeepCopyInto

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

type CredentialsSpecResource

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

	// The monitoring is enabled (`true`) or disabled (`false`).  If not set on creation, the `true` value is used.  If the field is omitted during an update, the old value remains unaffected
	Active *bool `json:"active" tf:"active"`
	// The Application ID (also referred to as Client ID)  The combination of Application ID and Directory ID must be unique
	// +optional
	AppID *string `json:"appID,omitempty" tf:"app_id"`
	// The automatic capture of Azure tags is on (`true`) or off (`false`)
	// +optional
	AutoTagging *bool `json:"autoTagging,omitempty" tf:"auto_tagging"`
	// The Directory ID (also referred to as Tenant ID)  The combination of Application ID and Directory ID must be unique
	// +optional
	DirectoryID *string `json:"directoryID,omitempty" tf:"directory_id"`
	//  The secret key associated with the Application ID.  For security reasons, GET requests return this field as `null`.   Submit your key on creation or update of the configuration. If the field is omitted during an update, the old value remains unaffected.
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// The unique name of the Azure credentials configuration.  Allowed characters are letters, numbers, and spaces. Also the special characters `.+-_` are allowed
	// +optional
	Label *string `json:"label,omitempty" tf:"label"`
	// A list of Azure tags to be monitored.  You can specify up to 10 tags. A resource tagged with *any* of the specified tags is monitored.  Only applicable when the **monitorOnlyTaggedEntities** parameter is set to `true`
	// +optional
	// +kubebuilder:validation:MaxItems=10
	MonitorOnlyTagPairs []CredentialsSpecMonitorOnlyTagPairs `json:"monitorOnlyTagPairs,omitempty" tf:"monitor_only_tag_pairs"`
	// Monitor only resources that have specified Azure tags (`true`) or all resources (`false`).
	MonitorOnlyTaggedEntities *bool `json:"monitorOnlyTaggedEntities" tf:"monitor_only_tagged_entities"`
	// A list of Azure supporting services to be monitored. For each service there's a sublist of its metrics and the metrics' dimensions that should be monitored. All of these elements (services, metrics, dimensions) must have corresponding static definitions on the server.
	// +optional
	SupportingServices []CredentialsSpecSupportingServices `json:"supportingServices,omitempty" tf:"supporting_services"`
	// Any attributes that aren't yet supported by this provider
	// +optional
	Unknowns *string `json:"unknowns,omitempty" tf:"unknowns"`
}

func (*CredentialsSpecResource) DeepCopy

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

func (*CredentialsSpecResource) DeepCopyInto

func (in *CredentialsSpecResource) DeepCopyInto(out *CredentialsSpecResource)

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

type CredentialsSpecSupportingServices

type CredentialsSpecSupportingServices struct {
	// A list of Azure tags to be monitored.  You can specify up to 10 tags. A resource tagged with *any* of the specified tags is monitored.  Only applicable when the **monitorOnlyTaggedEntities** parameter is set to `true`
	// +optional
	MonitoredMetrics []CredentialsSpecSupportingServicesMonitoredMetrics `json:"monitoredMetrics,omitempty" tf:"monitored_metrics"`
	// The name of the supporting service.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Any attributes that aren't yet supported by this provider
	// +optional
	Unknowns *string `json:"unknowns,omitempty" tf:"unknowns"`
}

func (*CredentialsSpecSupportingServices) DeepCopy

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

func (*CredentialsSpecSupportingServices) DeepCopyInto

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

type CredentialsSpecSupportingServicesMonitoredMetrics

type CredentialsSpecSupportingServicesMonitoredMetrics struct {
	// a list of metric's dimensions names
	// +optional
	Dimensions []string `json:"dimensions,omitempty" tf:"dimensions"`
	// the name of the metric of the supporting service
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Any attributes that aren't yet supported by this provider
	// +optional
	Unknowns *string `json:"unknowns,omitempty" tf:"unknowns"`
}

func (*CredentialsSpecSupportingServicesMonitoredMetrics) DeepCopy

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

func (*CredentialsSpecSupportingServicesMonitoredMetrics) DeepCopyInto

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

type CredentialsStatus

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

func (in *CredentialsStatus) DeepCopy() *CredentialsStatus

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

func (*CredentialsStatus) DeepCopyInto

func (in *CredentialsStatus) DeepCopyInto(out *CredentialsStatus)

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