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=aws.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: aws.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 CredentialsSpecAuthenticationData

type CredentialsSpecAuthenticationData struct {
	// the access key
	// +optional
	AccessKey *string `json:"accessKey,omitempty" tf:"access_key"`
	// the ID of the Amazon account
	// +optional
	AccountID *string `json:"accountID,omitempty" tf:"account_id"`
	// the external ID token for setting an IAM role. You can obtain it with the `GET /aws/iamExternalId` request
	// +optional
	ExternalID *string `json:"externalID,omitempty" tf:"external_id"`
	// the IAM role to be used by Dynatrace to get monitoring data
	// +optional
	IamRole *string `json:"iamRole,omitempty" tf:"iam_role"`
	// the secret access key
	// +optional
	SecretKey *string `json:"secretKey,omitempty" tf:"secret_key"`
	// Any attributes that aren't yet supported by this provider
	// +optional
	Unknowns *string `json:"unknowns,omitempty" tf:"unknowns"`
}

func (*CredentialsSpecAuthenticationData) DeepCopy

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

func (*CredentialsSpecAuthenticationData) DeepCopyInto

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

type CredentialsSpecAuthenticationDataCodec

type CredentialsSpecAuthenticationDataCodec struct {
}

+k8s:deepcopy-gen=false

func (CredentialsSpecAuthenticationDataCodec) Decode

func (CredentialsSpecAuthenticationDataCodec) Encode

func (CredentialsSpecAuthenticationDataCodec) IsEmpty

type CredentialsSpecResource

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

	// credentials for the AWS authentication
	AuthenticationData *CredentialsSpecAuthenticationData `json:"authenticationData" tf:"authentication_data"`
	// The name of the credentials
	// +optional
	Label *string `json:"label,omitempty" tf:"label"`
	// The type of the AWS partition
	PartitionType *string `json:"partitionType" tf:"partition_type"`
	// supporting services to be monitored
	// +optional
	SupportingServicesToMonitor []CredentialsSpecSupportingServicesToMonitor `json:"supportingServicesToMonitor,omitempty" tf:"supporting_services_to_monitor"`
	// Monitor only resources which have specified AWS tags (`true`) or all resources (`false`)
	TaggedOnly *bool `json:"taggedOnly" tf:"tagged_only"`
	// AWS tags to be monitored. You can specify up to 10 tags. Only applicable when the **tagged_only** parameter is set to `true`
	// +optional
	// +kubebuilder:validation:MaxItems=10
	TagsToMonitor []CredentialsSpecTagsToMonitor `json:"tagsToMonitor,omitempty" tf:"tags_to_monitor"`
	// 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 CredentialsSpecSupportingServicesToMonitor

type CredentialsSpecSupportingServicesToMonitor struct {
	// a list of metrics to be monitored for this service
	// +optional
	MonitoredMetrics []CredentialsSpecSupportingServicesToMonitorMonitoredMetrics `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 (*CredentialsSpecSupportingServicesToMonitor) DeepCopy

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

func (*CredentialsSpecSupportingServicesToMonitor) DeepCopyInto

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

type CredentialsSpecSupportingServicesToMonitorMonitoredMetrics

type CredentialsSpecSupportingServicesToMonitorMonitoredMetrics 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"`
	// the statistic (aggregation) to be used for the metric. AVG_MIN_MAX value is 3 statistics at once: AVERAGE, MINIMUM and MAXIMUM
	// +optional
	Statistic *string `json:"statistic,omitempty" tf:"statistic"`
	// Any attributes that aren't yet supported by this provider
	// +optional
	Unknowns *string `json:"unknowns,omitempty" tf:"unknowns"`
}

func (*CredentialsSpecSupportingServicesToMonitorMonitoredMetrics) DeepCopy

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

func (*CredentialsSpecSupportingServicesToMonitorMonitoredMetrics) DeepCopyInto

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

type CredentialsSpecTagsToMonitor

type CredentialsSpecTagsToMonitor struct {
	// the key of the AWS 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 AWS tag
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*CredentialsSpecTagsToMonitor) DeepCopy

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

func (*CredentialsSpecTagsToMonitor) 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