v1alpha1

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cloud.grafana.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "cloud.grafana.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	APIKey_Kind             = "APIKey"
	APIKey_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: APIKey_Kind}.String()
	APIKey_KindAPIVersion   = APIKey_Kind + "." + CRDGroupVersion.String()
	APIKey_GroupVersionKind = CRDGroupVersion.WithKind(APIKey_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Stack_Kind             = "Stack"
	Stack_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Stack_Kind}.String()
	Stack_KindAPIVersion   = Stack_Kind + "." + CRDGroupVersion.String()
	Stack_GroupVersionKind = CRDGroupVersion.WithKind(Stack_Kind)
)

Repository type metadata.

View Source
var (
	StackServiceAccount_Kind             = "StackServiceAccount"
	StackServiceAccount_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: StackServiceAccount_Kind}.String()
	StackServiceAccount_KindAPIVersion   = StackServiceAccount_Kind + "." + CRDGroupVersion.String()
	StackServiceAccount_GroupVersionKind = CRDGroupVersion.WithKind(StackServiceAccount_Kind)
)

Repository type metadata.

View Source
var (
	StackServiceAccountToken_Kind             = "StackServiceAccountToken"
	StackServiceAccountToken_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: StackServiceAccountToken_Kind}.String()
	StackServiceAccountToken_KindAPIVersion   = StackServiceAccountToken_Kind + "." + CRDGroupVersion.String()
	StackServiceAccountToken_GroupVersionKind = CRDGroupVersion.WithKind(StackServiceAccountToken_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type APIKey

type APIKey struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              APIKeySpec   `json:"spec"`
	Status            APIKeyStatus `json:"status,omitempty"`
}

APIKey is the Schema for the APIKeys API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*APIKey) DeepCopy

func (in *APIKey) DeepCopy() *APIKey

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

func (*APIKey) DeepCopyInto

func (in *APIKey) DeepCopyInto(out *APIKey)

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

func (*APIKey) DeepCopyObject

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

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

func (*APIKey) GetCondition

func (mg *APIKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this APIKey.

func (*APIKey) GetConnectionDetailsMapping

func (tr *APIKey) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this APIKey

func (*APIKey) GetDeletionPolicy

func (mg *APIKey) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this APIKey.

func (*APIKey) GetID

func (tr *APIKey) GetID() string

GetID returns ID of underlying Terraform resource of this APIKey

func (*APIKey) GetObservation

func (tr *APIKey) GetObservation() (map[string]any, error)

GetObservation of this APIKey

func (*APIKey) GetParameters

func (tr *APIKey) GetParameters() (map[string]any, error)

GetParameters of this APIKey

func (*APIKey) GetProviderConfigReference

func (mg *APIKey) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this APIKey.

func (*APIKey) GetProviderReference

func (mg *APIKey) GetProviderReference() *xpv1.Reference

GetProviderReference of this APIKey. Deprecated: Use GetProviderConfigReference.

func (*APIKey) GetPublishConnectionDetailsTo

func (mg *APIKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this APIKey.

func (*APIKey) GetTerraformResourceType

func (mg *APIKey) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this APIKey

func (*APIKey) GetTerraformSchemaVersion

func (tr *APIKey) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*APIKey) GetWriteConnectionSecretToReference

func (mg *APIKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this APIKey.

func (*APIKey) LateInitialize

func (tr *APIKey) LateInitialize(attrs []byte) (bool, error)

LateInitialize this APIKey using its observed tfState. returns True if there are any spec changes for the resource.

func (*APIKey) SetConditions

func (mg *APIKey) SetConditions(c ...xpv1.Condition)

SetConditions of this APIKey.

func (*APIKey) SetDeletionPolicy

func (mg *APIKey) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this APIKey.

func (*APIKey) SetObservation

func (tr *APIKey) SetObservation(obs map[string]any) error

SetObservation for this APIKey

func (*APIKey) SetParameters

func (tr *APIKey) SetParameters(params map[string]any) error

SetParameters for this APIKey

func (*APIKey) SetProviderConfigReference

func (mg *APIKey) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this APIKey.

func (*APIKey) SetProviderReference

func (mg *APIKey) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this APIKey. Deprecated: Use SetProviderConfigReference.

func (*APIKey) SetPublishConnectionDetailsTo

func (mg *APIKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this APIKey.

func (*APIKey) SetWriteConnectionSecretToReference

func (mg *APIKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this APIKey.

type APIKeyList

type APIKeyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []APIKey `json:"items"`
}

APIKeyList contains a list of APIKeys

func (*APIKeyList) DeepCopy

func (in *APIKeyList) DeepCopy() *APIKeyList

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

func (*APIKeyList) DeepCopyInto

func (in *APIKeyList) DeepCopyInto(out *APIKeyList)

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

func (*APIKeyList) DeepCopyObject

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

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

func (*APIKeyList) GetItems

func (l *APIKeyList) GetItems() []resource.Managed

GetItems of this APIKeyList.

type APIKeyObservation

type APIKeyObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*APIKeyObservation) DeepCopy

func (in *APIKeyObservation) DeepCopy() *APIKeyObservation

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

func (*APIKeyObservation) DeepCopyInto

func (in *APIKeyObservation) DeepCopyInto(out *APIKeyObservation)

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

type APIKeyParameters

type APIKeyParameters struct {

	// The slug of the organization to create the API key in. This is the same slug as the organization name in the URL.
	// +kubebuilder:validation:Required
	CloudOrgSlug *string `json:"cloudOrgSlug" tf:"cloud_org_slug,omitempty"`

	// Name of the API key.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Role of the API key. Should be one of [Viewer Editor Admin MetricsPublisher PluginPublisher]. See https://grafana.com/docs/grafana-cloud/api/#create-api-key for details.
	// +kubebuilder:validation:Required
	Role *string `json:"role" tf:"role,omitempty"`
}

func (*APIKeyParameters) DeepCopy

func (in *APIKeyParameters) DeepCopy() *APIKeyParameters

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

func (*APIKeyParameters) DeepCopyInto

func (in *APIKeyParameters) DeepCopyInto(out *APIKeyParameters)

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

type APIKeySpec

type APIKeySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     APIKeyParameters `json:"forProvider"`
}

APIKeySpec defines the desired state of APIKey

func (*APIKeySpec) DeepCopy

func (in *APIKeySpec) DeepCopy() *APIKeySpec

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

func (*APIKeySpec) DeepCopyInto

func (in *APIKeySpec) DeepCopyInto(out *APIKeySpec)

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

type APIKeyStatus

type APIKeyStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        APIKeyObservation `json:"atProvider,omitempty"`
}

APIKeyStatus defines the observed state of APIKey.

func (*APIKeyStatus) DeepCopy

func (in *APIKeyStatus) DeepCopy() *APIKeyStatus

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

func (*APIKeyStatus) DeepCopyInto

func (in *APIKeyStatus) DeepCopyInto(out *APIKeyStatus)

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

type Stack

type Stack struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StackSpec   `json:"spec"`
	Status            StackStatus `json:"status,omitempty"`
}

Stack is the Schema for the Stacks API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*Stack) DeepCopy

func (in *Stack) DeepCopy() *Stack

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

func (*Stack) DeepCopyInto

func (in *Stack) DeepCopyInto(out *Stack)

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

func (*Stack) DeepCopyObject

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

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

func (*Stack) GetCondition

func (mg *Stack) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Stack.

func (*Stack) GetConnectionDetailsMapping

func (tr *Stack) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Stack

func (*Stack) GetDeletionPolicy

func (mg *Stack) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Stack.

func (*Stack) GetID

func (tr *Stack) GetID() string

GetID returns ID of underlying Terraform resource of this Stack

func (*Stack) GetObservation

func (tr *Stack) GetObservation() (map[string]any, error)

GetObservation of this Stack

func (*Stack) GetParameters

func (tr *Stack) GetParameters() (map[string]any, error)

GetParameters of this Stack

func (*Stack) GetProviderConfigReference

func (mg *Stack) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Stack.

func (*Stack) GetProviderReference

func (mg *Stack) GetProviderReference() *xpv1.Reference

GetProviderReference of this Stack. Deprecated: Use GetProviderConfigReference.

func (*Stack) GetPublishConnectionDetailsTo

func (mg *Stack) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Stack.

func (*Stack) GetTerraformResourceType

func (mg *Stack) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Stack

func (*Stack) GetTerraformSchemaVersion

func (tr *Stack) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Stack) GetWriteConnectionSecretToReference

func (mg *Stack) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Stack.

func (*Stack) LateInitialize

func (tr *Stack) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Stack using its observed tfState. returns True if there are any spec changes for the resource.

func (*Stack) SetConditions

func (mg *Stack) SetConditions(c ...xpv1.Condition)

SetConditions of this Stack.

func (*Stack) SetDeletionPolicy

func (mg *Stack) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Stack.

func (*Stack) SetObservation

func (tr *Stack) SetObservation(obs map[string]any) error

SetObservation for this Stack

func (*Stack) SetParameters

func (tr *Stack) SetParameters(params map[string]any) error

SetParameters for this Stack

func (*Stack) SetProviderConfigReference

func (mg *Stack) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Stack.

func (*Stack) SetProviderReference

func (mg *Stack) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Stack. Deprecated: Use SetProviderConfigReference.

func (*Stack) SetPublishConnectionDetailsTo

func (mg *Stack) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Stack.

func (*Stack) SetWriteConnectionSecretToReference

func (mg *Stack) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Stack.

type StackList

type StackList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Stack `json:"items"`
}

StackList contains a list of Stacks

func (*StackList) DeepCopy

func (in *StackList) DeepCopy() *StackList

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

func (*StackList) DeepCopyInto

func (in *StackList) DeepCopyInto(out *StackList)

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

func (*StackList) DeepCopyObject

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

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

func (*StackList) GetItems

func (l *StackList) GetItems() []resource.Managed

GetItems of this StackList.

type StackObservation

type StackObservation struct {

	// Name of the Alertmanager instance configured for this stack.
	AlertmanagerName *string `json:"alertmanagerName,omitempty" tf:"alertmanager_name,omitempty"`

	// Status of the Alertmanager instance configured for this stack.
	AlertmanagerStatus *string `json:"alertmanagerStatus,omitempty" tf:"alertmanager_status,omitempty"`

	// Base URL of the Alertmanager instance configured for this stack.
	AlertmanagerURL *string `json:"alertmanagerUrl,omitempty" tf:"alertmanager_url,omitempty"`

	// User ID of the Alertmanager instance configured for this stack.
	AlertmanagerUserID *float64 `json:"alertmanagerUserId,omitempty" tf:"alertmanager_user_id,omitempty"`

	GraphiteName *string `json:"graphiteName,omitempty" tf:"graphite_name,omitempty"`

	GraphiteStatus *string `json:"graphiteStatus,omitempty" tf:"graphite_status,omitempty"`

	GraphiteURL *string `json:"graphiteUrl,omitempty" tf:"graphite_url,omitempty"`

	GraphiteUserID *float64 `json:"graphiteUserId,omitempty" tf:"graphite_user_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	LogsName *string `json:"logsName,omitempty" tf:"logs_name,omitempty"`

	LogsStatus *string `json:"logsStatus,omitempty" tf:"logs_status,omitempty"`

	LogsURL *string `json:"logsUrl,omitempty" tf:"logs_url,omitempty"`

	LogsUserID *float64 `json:"logsUserId,omitempty" tf:"logs_user_id,omitempty"`

	// Organization id to assign to this stack.
	OrgID *float64 `json:"orgId,omitempty" tf:"org_id,omitempty"`

	// Organization name to assign to this stack.
	OrgName *string `json:"orgName,omitempty" tf:"org_name,omitempty"`

	// Organization slug to assign to this stack.
	OrgSlug *string `json:"orgSlug,omitempty" tf:"org_slug,omitempty"`

	// Prometheus name for this instance.
	PrometheusName *string `json:"prometheusName,omitempty" tf:"prometheus_name,omitempty"`

	// Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana
	PrometheusRemoteEndpoint *string `json:"prometheusRemoteEndpoint,omitempty" tf:"prometheus_remote_endpoint,omitempty"`

	// Use this URL to send prometheus metrics to Grafana cloud
	PrometheusRemoteWriteEndpoint *string `json:"prometheusRemoteWriteEndpoint,omitempty" tf:"prometheus_remote_write_endpoint,omitempty"`

	// Prometheus status for this instance.
	PrometheusStatus *string `json:"prometheusStatus,omitempty" tf:"prometheus_status,omitempty"`

	// Prometheus url for this instance.
	PrometheusURL *string `json:"prometheusUrl,omitempty" tf:"prometheus_url,omitempty"`

	// Prometheus user ID. Used for e.g. remote_write.
	PrometheusUserID *float64 `json:"prometheusUserId,omitempty" tf:"prometheus_user_id,omitempty"`

	// Status of the stack.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	TracesName *string `json:"tracesName,omitempty" tf:"traces_name,omitempty"`

	TracesStatus *string `json:"tracesStatus,omitempty" tf:"traces_status,omitempty"`

	// Base URL of the Traces instance configured for this stack. To use this in the Tempo data source in Grafana, append `/tempo` to the URL.
	TracesURL *string `json:"tracesUrl,omitempty" tf:"traces_url,omitempty"`

	TracesUserID *float64 `json:"tracesUserId,omitempty" tf:"traces_user_id,omitempty"`
}

func (*StackObservation) DeepCopy

func (in *StackObservation) DeepCopy() *StackObservation

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

func (*StackObservation) DeepCopyInto

func (in *StackObservation) DeepCopyInto(out *StackObservation)

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

type StackParameters

type StackParameters struct {

	// Description of stack.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Name of stack. Conventionally matches the url of the instance (e.g. “<stack_slug>.grafana.net”).
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.
	// +kubebuilder:validation:Optional
	RegionSlug *string `json:"regionSlug,omitempty" tf:"region_slug,omitempty"`

	// Subdomain that the Grafana instance will be available at (i.e. setting slug to “<stack_slug>” will make the instance
	// available at “https://<stack_slug>.grafana.net".
	// +kubebuilder:validation:Required
	Slug *string `json:"slug" tf:"slug,omitempty"`

	// Custom URL for the Grafana instance. Must have a CNAME setup to point to `.grafana.net` before creating the stack
	// +kubebuilder:validation:Optional
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to `true`.
	// +kubebuilder:validation:Optional
	WaitForReadiness *bool `json:"waitForReadiness,omitempty" tf:"wait_for_readiness,omitempty"`

	// How long to wait for readiness (if enabled). Defaults to `5m0s`.
	// +kubebuilder:validation:Optional
	WaitForReadinessTimeout *string `json:"waitForReadinessTimeout,omitempty" tf:"wait_for_readiness_timeout,omitempty"`
}

func (*StackParameters) DeepCopy

func (in *StackParameters) DeepCopy() *StackParameters

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

func (*StackParameters) DeepCopyInto

func (in *StackParameters) DeepCopyInto(out *StackParameters)

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

type StackServiceAccount added in v0.7.0

type StackServiceAccount struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StackServiceAccountSpec   `json:"spec"`
	Status            StackServiceAccountStatus `json:"status,omitempty"`
}

StackServiceAccount is the Schema for the StackServiceAccounts API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*StackServiceAccount) DeepCopy added in v0.7.0

func (in *StackServiceAccount) DeepCopy() *StackServiceAccount

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

func (*StackServiceAccount) DeepCopyInto added in v0.7.0

func (in *StackServiceAccount) DeepCopyInto(out *StackServiceAccount)

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

func (*StackServiceAccount) DeepCopyObject added in v0.7.0

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

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

func (*StackServiceAccount) GetCondition added in v0.7.0

func (mg *StackServiceAccount) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this StackServiceAccount.

func (*StackServiceAccount) GetConnectionDetailsMapping added in v0.7.0

func (tr *StackServiceAccount) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this StackServiceAccount

func (*StackServiceAccount) GetDeletionPolicy added in v0.7.0

func (mg *StackServiceAccount) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this StackServiceAccount.

func (*StackServiceAccount) GetID added in v0.7.0

func (tr *StackServiceAccount) GetID() string

GetID returns ID of underlying Terraform resource of this StackServiceAccount

func (*StackServiceAccount) GetObservation added in v0.7.0

func (tr *StackServiceAccount) GetObservation() (map[string]any, error)

GetObservation of this StackServiceAccount

func (*StackServiceAccount) GetParameters added in v0.7.0

func (tr *StackServiceAccount) GetParameters() (map[string]any, error)

GetParameters of this StackServiceAccount

func (*StackServiceAccount) GetProviderConfigReference added in v0.7.0

func (mg *StackServiceAccount) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this StackServiceAccount.

func (*StackServiceAccount) GetProviderReference added in v0.7.0

func (mg *StackServiceAccount) GetProviderReference() *xpv1.Reference

GetProviderReference of this StackServiceAccount. Deprecated: Use GetProviderConfigReference.

func (*StackServiceAccount) GetPublishConnectionDetailsTo added in v0.7.0

func (mg *StackServiceAccount) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this StackServiceAccount.

func (*StackServiceAccount) GetTerraformResourceType added in v0.7.0

func (mg *StackServiceAccount) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this StackServiceAccount

func (*StackServiceAccount) GetTerraformSchemaVersion added in v0.7.0

func (tr *StackServiceAccount) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*StackServiceAccount) GetWriteConnectionSecretToReference added in v0.7.0

func (mg *StackServiceAccount) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this StackServiceAccount.

func (*StackServiceAccount) LateInitialize added in v0.7.0

func (tr *StackServiceAccount) LateInitialize(attrs []byte) (bool, error)

LateInitialize this StackServiceAccount using its observed tfState. returns True if there are any spec changes for the resource.

func (*StackServiceAccount) ResolveReferences added in v0.7.0

func (mg *StackServiceAccount) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this StackServiceAccount.

func (*StackServiceAccount) SetConditions added in v0.7.0

func (mg *StackServiceAccount) SetConditions(c ...xpv1.Condition)

SetConditions of this StackServiceAccount.

func (*StackServiceAccount) SetDeletionPolicy added in v0.7.0

func (mg *StackServiceAccount) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this StackServiceAccount.

func (*StackServiceAccount) SetObservation added in v0.7.0

func (tr *StackServiceAccount) SetObservation(obs map[string]any) error

SetObservation for this StackServiceAccount

func (*StackServiceAccount) SetParameters added in v0.7.0

func (tr *StackServiceAccount) SetParameters(params map[string]any) error

SetParameters for this StackServiceAccount

func (*StackServiceAccount) SetProviderConfigReference added in v0.7.0

func (mg *StackServiceAccount) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this StackServiceAccount.

func (*StackServiceAccount) SetProviderReference added in v0.7.0

func (mg *StackServiceAccount) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this StackServiceAccount. Deprecated: Use SetProviderConfigReference.

func (*StackServiceAccount) SetPublishConnectionDetailsTo added in v0.7.0

func (mg *StackServiceAccount) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this StackServiceAccount.

func (*StackServiceAccount) SetWriteConnectionSecretToReference added in v0.7.0

func (mg *StackServiceAccount) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this StackServiceAccount.

type StackServiceAccountList added in v0.7.0

type StackServiceAccountList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []StackServiceAccount `json:"items"`
}

StackServiceAccountList contains a list of StackServiceAccounts

func (*StackServiceAccountList) DeepCopy added in v0.7.0

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

func (*StackServiceAccountList) DeepCopyInto added in v0.7.0

func (in *StackServiceAccountList) DeepCopyInto(out *StackServiceAccountList)

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

func (*StackServiceAccountList) DeepCopyObject added in v0.7.0

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

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

func (*StackServiceAccountList) GetItems added in v0.7.0

func (l *StackServiceAccountList) GetItems() []resource.Managed

GetItems of this StackServiceAccountList.

type StackServiceAccountObservation added in v0.7.0

type StackServiceAccountObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*StackServiceAccountObservation) DeepCopy added in v0.7.0

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

func (*StackServiceAccountObservation) DeepCopyInto added in v0.7.0

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

type StackServiceAccountParameters added in v0.7.0

type StackServiceAccountParameters struct {

	// Reference to a Stack in cloud to populate stackSlug.
	// +kubebuilder:validation:Optional
	CloudStackRef *v1.Reference `json:"cloudStackRef,omitempty" tf:"-"`

	// Selector for a Stack in cloud to populate stackSlug.
	// +kubebuilder:validation:Optional
	CloudStackSelector *v1.Selector `json:"cloudStackSelector,omitempty" tf:"-"`

	// The disabled status for the service account. Defaults to `false`.
	// +kubebuilder:validation:Optional
	IsDisabled *bool `json:"isDisabled,omitempty" tf:"is_disabled,omitempty"`

	// The name of the service account.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The basic role of the service account in the organization.
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/cloud/v1alpha1.Stack
	// +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.CloudStackSlugExtractor()
	// +crossplane:generate:reference:refFieldName=CloudStackRef
	// +crossplane:generate:reference:selectorFieldName=CloudStackSelector
	// +kubebuilder:validation:Optional
	StackSlug *string `json:"stackSlug,omitempty" tf:"stack_slug,omitempty"`
}

func (*StackServiceAccountParameters) DeepCopy added in v0.7.0

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

func (*StackServiceAccountParameters) DeepCopyInto added in v0.7.0

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

type StackServiceAccountSpec added in v0.7.0

type StackServiceAccountSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StackServiceAccountParameters `json:"forProvider"`
}

StackServiceAccountSpec defines the desired state of StackServiceAccount

func (*StackServiceAccountSpec) DeepCopy added in v0.7.0

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

func (*StackServiceAccountSpec) DeepCopyInto added in v0.7.0

func (in *StackServiceAccountSpec) DeepCopyInto(out *StackServiceAccountSpec)

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

type StackServiceAccountStatus added in v0.7.0

type StackServiceAccountStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        StackServiceAccountObservation `json:"atProvider,omitempty"`
}

StackServiceAccountStatus defines the observed state of StackServiceAccount.

func (*StackServiceAccountStatus) DeepCopy added in v0.7.0

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

func (*StackServiceAccountStatus) DeepCopyInto added in v0.7.0

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

type StackServiceAccountToken added in v0.7.0

type StackServiceAccountToken struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StackServiceAccountTokenSpec   `json:"spec"`
	Status            StackServiceAccountTokenStatus `json:"status,omitempty"`
}

StackServiceAccountToken is the Schema for the StackServiceAccountTokens API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*StackServiceAccountToken) DeepCopy added in v0.7.0

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

func (*StackServiceAccountToken) DeepCopyInto added in v0.7.0

func (in *StackServiceAccountToken) DeepCopyInto(out *StackServiceAccountToken)

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

func (*StackServiceAccountToken) DeepCopyObject added in v0.7.0

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

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

func (*StackServiceAccountToken) GetCondition added in v0.7.0

GetCondition of this StackServiceAccountToken.

func (*StackServiceAccountToken) GetConnectionDetailsMapping added in v0.7.0

func (tr *StackServiceAccountToken) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this StackServiceAccountToken

func (*StackServiceAccountToken) GetDeletionPolicy added in v0.7.0

func (mg *StackServiceAccountToken) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this StackServiceAccountToken.

func (*StackServiceAccountToken) GetID added in v0.7.0

func (tr *StackServiceAccountToken) GetID() string

GetID returns ID of underlying Terraform resource of this StackServiceAccountToken

func (*StackServiceAccountToken) GetObservation added in v0.7.0

func (tr *StackServiceAccountToken) GetObservation() (map[string]any, error)

GetObservation of this StackServiceAccountToken

func (*StackServiceAccountToken) GetParameters added in v0.7.0

func (tr *StackServiceAccountToken) GetParameters() (map[string]any, error)

GetParameters of this StackServiceAccountToken

func (*StackServiceAccountToken) GetProviderConfigReference added in v0.7.0

func (mg *StackServiceAccountToken) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this StackServiceAccountToken.

func (*StackServiceAccountToken) GetProviderReference added in v0.7.0

func (mg *StackServiceAccountToken) GetProviderReference() *xpv1.Reference

GetProviderReference of this StackServiceAccountToken. Deprecated: Use GetProviderConfigReference.

func (*StackServiceAccountToken) GetPublishConnectionDetailsTo added in v0.7.0

func (mg *StackServiceAccountToken) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this StackServiceAccountToken.

func (*StackServiceAccountToken) GetTerraformResourceType added in v0.7.0

func (mg *StackServiceAccountToken) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this StackServiceAccountToken

func (*StackServiceAccountToken) GetTerraformSchemaVersion added in v0.7.0

func (tr *StackServiceAccountToken) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*StackServiceAccountToken) GetWriteConnectionSecretToReference added in v0.7.0

func (mg *StackServiceAccountToken) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this StackServiceAccountToken.

func (*StackServiceAccountToken) LateInitialize added in v0.7.0

func (tr *StackServiceAccountToken) LateInitialize(attrs []byte) (bool, error)

LateInitialize this StackServiceAccountToken using its observed tfState. returns True if there are any spec changes for the resource.

func (*StackServiceAccountToken) ResolveReferences added in v0.7.0

func (mg *StackServiceAccountToken) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this StackServiceAccountToken.

func (*StackServiceAccountToken) SetConditions added in v0.7.0

func (mg *StackServiceAccountToken) SetConditions(c ...xpv1.Condition)

SetConditions of this StackServiceAccountToken.

func (*StackServiceAccountToken) SetDeletionPolicy added in v0.7.0

func (mg *StackServiceAccountToken) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this StackServiceAccountToken.

func (*StackServiceAccountToken) SetObservation added in v0.7.0

func (tr *StackServiceAccountToken) SetObservation(obs map[string]any) error

SetObservation for this StackServiceAccountToken

func (*StackServiceAccountToken) SetParameters added in v0.7.0

func (tr *StackServiceAccountToken) SetParameters(params map[string]any) error

SetParameters for this StackServiceAccountToken

func (*StackServiceAccountToken) SetProviderConfigReference added in v0.7.0

func (mg *StackServiceAccountToken) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this StackServiceAccountToken.

func (*StackServiceAccountToken) SetProviderReference added in v0.7.0

func (mg *StackServiceAccountToken) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this StackServiceAccountToken. Deprecated: Use SetProviderConfigReference.

func (*StackServiceAccountToken) SetPublishConnectionDetailsTo added in v0.7.0

func (mg *StackServiceAccountToken) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this StackServiceAccountToken.

func (*StackServiceAccountToken) SetWriteConnectionSecretToReference added in v0.7.0

func (mg *StackServiceAccountToken) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this StackServiceAccountToken.

type StackServiceAccountTokenList added in v0.7.0

type StackServiceAccountTokenList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []StackServiceAccountToken `json:"items"`
}

StackServiceAccountTokenList contains a list of StackServiceAccountTokens

func (*StackServiceAccountTokenList) DeepCopy added in v0.7.0

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

func (*StackServiceAccountTokenList) DeepCopyInto added in v0.7.0

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

func (*StackServiceAccountTokenList) DeepCopyObject added in v0.7.0

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

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

func (*StackServiceAccountTokenList) GetItems added in v0.7.0

GetItems of this StackServiceAccountTokenList.

type StackServiceAccountTokenObservation added in v0.7.0

type StackServiceAccountTokenObservation struct {
	Expiration *string `json:"expiration,omitempty" tf:"expiration,omitempty"`

	HasExpired *bool `json:"hasExpired,omitempty" tf:"has_expired,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*StackServiceAccountTokenObservation) DeepCopy added in v0.7.0

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

func (*StackServiceAccountTokenObservation) DeepCopyInto added in v0.7.0

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

type StackServiceAccountTokenParameters added in v0.7.0

type StackServiceAccountTokenParameters struct {

	// Reference to a Stack in cloud to populate stackSlug.
	// +kubebuilder:validation:Optional
	CloudStackRef *v1.Reference `json:"cloudStackRef,omitempty" tf:"-"`

	// Selector for a Stack in cloud to populate stackSlug.
	// +kubebuilder:validation:Optional
	CloudStackSelector *v1.Selector `json:"cloudStackSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	SecondsToLive *float64 `json:"secondsToLive,omitempty" tf:"seconds_to_live,omitempty"`

	// +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/cloud/v1alpha1.StackServiceAccount
	// +crossplane:generate:reference:refFieldName=ServiceAccountRef
	// +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector
	// +kubebuilder:validation:Optional
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Reference to a StackServiceAccount in cloud to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`

	// Selector for a StackServiceAccount in cloud to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`

	// +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/cloud/v1alpha1.Stack
	// +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.CloudStackSlugExtractor()
	// +crossplane:generate:reference:refFieldName=CloudStackRef
	// +crossplane:generate:reference:selectorFieldName=CloudStackSelector
	// +kubebuilder:validation:Optional
	StackSlug *string `json:"stackSlug,omitempty" tf:"stack_slug,omitempty"`
}

func (*StackServiceAccountTokenParameters) DeepCopy added in v0.7.0

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

func (*StackServiceAccountTokenParameters) DeepCopyInto added in v0.7.0

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

type StackServiceAccountTokenSpec added in v0.7.0

type StackServiceAccountTokenSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StackServiceAccountTokenParameters `json:"forProvider"`
}

StackServiceAccountTokenSpec defines the desired state of StackServiceAccountToken

func (*StackServiceAccountTokenSpec) DeepCopy added in v0.7.0

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

func (*StackServiceAccountTokenSpec) DeepCopyInto added in v0.7.0

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

type StackServiceAccountTokenStatus added in v0.7.0

type StackServiceAccountTokenStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        StackServiceAccountTokenObservation `json:"atProvider,omitempty"`
}

StackServiceAccountTokenStatus defines the observed state of StackServiceAccountToken.

func (*StackServiceAccountTokenStatus) DeepCopy added in v0.7.0

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

func (*StackServiceAccountTokenStatus) DeepCopyInto added in v0.7.0

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

type StackSpec

type StackSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StackParameters `json:"forProvider"`
}

StackSpec defines the desired state of Stack

func (*StackSpec) DeepCopy

func (in *StackSpec) DeepCopy() *StackSpec

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

func (*StackSpec) DeepCopyInto

func (in *StackSpec) DeepCopyInto(out *StackSpec)

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

type StackStatus

type StackStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        StackObservation `json:"atProvider,omitempty"`
}

StackStatus defines the observed state of Stack.

func (*StackStatus) DeepCopy

func (in *StackStatus) DeepCopy() *StackStatus

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

func (*StackStatus) DeepCopyInto

func (in *StackStatus) DeepCopyInto(out *StackStatus)

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