v1alpha1

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the core resources of the InfluxDB provider. +kubebuilder:object:generate=true +groupName=influxdb.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "influxdb.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	BucketKind             = reflect.TypeOf(Bucket{}).Name()
	BucketGroupKind        = schema.GroupKind{Group: Group, Kind: BucketKind}.String()
	BucketKindAPIVersion   = BucketKind + "." + SchemeGroupVersion.String()
	BucketGroupVersionKind = SchemeGroupVersion.WithKind(BucketKind)
)

Bucket type metadata.

View Source
var (
	DatabaseRetentionPolicyMappingKind             = reflect.TypeOf(DatabaseRetentionPolicyMapping{}).Name()
	DatabaseRetentionPolicyMappingGroupKind        = schema.GroupKind{Group: Group, Kind: DatabaseRetentionPolicyMappingKind}.String()
	DatabaseRetentionPolicyMappingKindAPIVersion   = DatabaseRetentionPolicyMappingKind + "." + SchemeGroupVersion.String()
	DatabaseRetentionPolicyMappingGroupVersionKind = SchemeGroupVersion.WithKind(DatabaseRetentionPolicyMappingKind)
)

DatabaseRetentionPolicyMapping type metadata.

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	OrganizationKind             = reflect.TypeOf(Organization{}).Name()
	OrganizationGroupKind        = schema.GroupKind{Group: Group, Kind: OrganizationKind}.String()
	OrganizationKindAPIVersion   = OrganizationKind + "." + SchemeGroupVersion.String()
	OrganizationGroupVersionKind = SchemeGroupVersion.WithKind(OrganizationKind)
)

Organization type metadata.

View Source
var (
	ProviderConfigKind             = reflect.TypeOf(ProviderConfig{}).Name()
	ProviderConfigGroupKind        = schema.GroupKind{Group: Group, Kind: ProviderConfigKind}.String()
	ProviderConfigKindAPIVersion   = ProviderConfigKind + "." + SchemeGroupVersion.String()
	ProviderConfigGroupVersionKind = SchemeGroupVersion.WithKind(ProviderConfigKind)
)

ProviderConfig type metadata.

View Source
var (
	ProviderConfigUsageKind             = reflect.TypeOf(ProviderConfigUsage{}).Name()
	ProviderConfigUsageGroupKind        = schema.GroupKind{Group: Group, Kind: ProviderConfigUsageKind}.String()
	ProviderConfigUsageKindAPIVersion   = ProviderConfigUsageKind + "." + SchemeGroupVersion.String()
	ProviderConfigUsageGroupVersionKind = SchemeGroupVersion.WithKind(ProviderConfigUsageKind)

	ProviderConfigUsageListKind             = reflect.TypeOf(ProviderConfigUsageList{}).Name()
	ProviderConfigUsageListGroupKind        = schema.GroupKind{Group: Group, Kind: ProviderConfigUsageListKind}.String()
	ProviderConfigUsageListKindAPIVersion   = ProviderConfigUsageListKind + "." + SchemeGroupVersion.String()
	ProviderConfigUsageListGroupVersionKind = SchemeGroupVersion.WithKind(ProviderConfigUsageListKind)
)

ProviderConfigUsage type metadata.

Functions

func BucketID

func BucketID() reference.ExtractValueFn

BucketID extracts ID of organization from Bucket resource.

func OrganizationID

func OrganizationID() reference.ExtractValueFn

OrganizationID extracts ID of organization from Organization resource.

Types

type Bucket

type Bucket struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BucketSpec   `json:"spec"`
	Status BucketStatus `json:"status,omitempty"`
}

An Bucket represents a bucket in InfluxDB. +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,influxdb}

func (*Bucket) DeepCopy

func (in *Bucket) DeepCopy() *Bucket

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

func (*Bucket) DeepCopyInto

func (in *Bucket) DeepCopyInto(out *Bucket)

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

func (*Bucket) DeepCopyObject

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

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

func (*Bucket) GetCondition

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

GetCondition of this Bucket.

func (*Bucket) GetDeletionPolicy

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

GetDeletionPolicy of this Bucket.

func (*Bucket) GetProviderConfigReference

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

GetProviderConfigReference of this Bucket.

func (*Bucket) GetProviderReference

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

GetProviderReference of this Bucket. Deprecated: Use GetProviderConfigReference.

func (*Bucket) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Bucket.

func (*Bucket) ResolveReferences

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

ResolveReferences of this Bucket.

func (*Bucket) SetConditions

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

SetConditions of this Bucket.

func (*Bucket) SetDeletionPolicy

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

SetDeletionPolicy of this Bucket.

func (*Bucket) SetProviderConfigReference

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

SetProviderConfigReference of this Bucket.

func (*Bucket) SetProviderReference

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

SetProviderReference of this Bucket. Deprecated: Use SetProviderConfigReference.

func (*Bucket) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Bucket.

type BucketLinks struct {
	// URI of resource.
	Labels string `json:"labels,omitempty"`

	// URI of resource.
	Members string `json:"members,omitempty"`

	// URI of resource.
	Org string `json:"org,omitempty"`

	// URI of resource.
	Owners string `json:"owners,omitempty"`

	// URI of resource.
	Self string `json:"self,omitempty"`

	// URI of resource.
	Write string `json:"write,omitempty"`
}

BucketLinks is the URIs of all links.

func (*BucketLinks) DeepCopy

func (in *BucketLinks) DeepCopy() *BucketLinks

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

func (*BucketLinks) DeepCopyInto

func (in *BucketLinks) DeepCopyInto(out *BucketLinks)

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

type BucketList

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

BucketList contains a list of Bucket.

func (*BucketList) DeepCopy

func (in *BucketList) DeepCopy() *BucketList

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

func (*BucketList) DeepCopyInto

func (in *BucketList) DeepCopyInto(out *BucketList)

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

func (*BucketList) DeepCopyObject

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

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

func (*BucketList) GetItems

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

GetItems of this BucketList.

type BucketObservation

type BucketObservation struct {
	ID        string      `json:"id,omitempty"`
	CreatedAt metav1.Time `json:"createdAt,omitempty"`
	UpdatedAt metav1.Time `json:"updatedAt,omitempty"`
	Links     BucketLinks `json:"links,omitempty"`
	Type      string      `json:"type,omitempty"`
	Labels    []Label     `json:"labels,omitempty"`
}

BucketObservation are the observable fields of a Bucket.

func (*BucketObservation) DeepCopy

func (in *BucketObservation) DeepCopy() *BucketObservation

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

func (*BucketObservation) DeepCopyInto

func (in *BucketObservation) DeepCopyInto(out *BucketObservation)

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

type BucketParameters

type BucketParameters struct {
	Description *string `json:"description,omitempty"`

	// OrgID is the ID of the org this Bucket will be a member of.
	// Either OrgID or OrgIDRef or OrgIDSelector has to be given during creation.
	// +crossplane:generate:reference:type=Organization
	// +crossplane:generate:reference:extractor=OrganizationID()
	OrgID *string `json:"orgID,omitempty"`

	// OrgIDRef references an Organization to retrieve its ID to populate OrgID.
	// +optional
	// +immutable
	OrgIDRef *xpv1.Reference `json:"orgIDRef,omitempty"`

	// OrgIDSelector selects a reference to an Organization to populate OrgIDRef.
	// +optional
	OrgIDSelector *xpv1.Selector `json:"orgIDSelector,omitempty"`

	RP *string `json:"rp,omitempty"`

	// Rules to expire or retain data. No rules means data never expires.
	// +optional
	RetentionRules []RetentionRule `json:"retentionRules,omitempty"`

	// +kubebuilder:validation:Enum=implicit;explicit
	SchemaType string `json:"schemaType,omitempty"`
}

BucketParameters are the configurable fields of a Bucket.

func (*BucketParameters) DeepCopy

func (in *BucketParameters) DeepCopy() *BucketParameters

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

func (*BucketParameters) DeepCopyInto

func (in *BucketParameters) DeepCopyInto(out *BucketParameters)

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

type BucketSpec

type BucketSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       BucketParameters `json:"forProvider"`
}

A BucketSpec defines the desired state of a Bucket.

func (*BucketSpec) DeepCopy

func (in *BucketSpec) DeepCopy() *BucketSpec

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

func (*BucketSpec) DeepCopyInto

func (in *BucketSpec) DeepCopyInto(out *BucketSpec)

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

type BucketStatus

type BucketStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          BucketObservation `json:"atProvider,omitempty"`
}

A BucketStatus represents the observed state of a Bucket.

func (*BucketStatus) DeepCopy

func (in *BucketStatus) DeepCopy() *BucketStatus

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

func (*BucketStatus) DeepCopyInto

func (in *BucketStatus) DeepCopyInto(out *BucketStatus)

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

type DBRPLinks struct {
	// URI of resource.
	Self string `json:"self"`
}

DBRPLinks defines model for Links.

func (*DBRPLinks) DeepCopy

func (in *DBRPLinks) DeepCopy() *DBRPLinks

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

func (*DBRPLinks) DeepCopyInto

func (in *DBRPLinks) DeepCopyInto(out *DBRPLinks)

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

type DatabaseRetentionPolicyMapping

type DatabaseRetentionPolicyMapping struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DatabaseRetentionPolicyMappingSpec   `json:"spec"`
	Status DatabaseRetentionPolicyMappingStatus `json:"status,omitempty"`
}

An DatabaseRetentionPolicyMapping represents an DBRP in InfluxDB. +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,influxdb},shortName=dbrp

func (*DatabaseRetentionPolicyMapping) DeepCopy

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

func (*DatabaseRetentionPolicyMapping) DeepCopyInto

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

func (*DatabaseRetentionPolicyMapping) DeepCopyObject

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

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

func (*DatabaseRetentionPolicyMapping) GetCondition

GetCondition of this DatabaseRetentionPolicyMapping.

func (*DatabaseRetentionPolicyMapping) GetDeletionPolicy

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

GetDeletionPolicy of this DatabaseRetentionPolicyMapping.

func (*DatabaseRetentionPolicyMapping) GetProviderConfigReference

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

GetProviderConfigReference of this DatabaseRetentionPolicyMapping.

func (*DatabaseRetentionPolicyMapping) GetProviderReference

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

GetProviderReference of this DatabaseRetentionPolicyMapping. Deprecated: Use GetProviderConfigReference.

func (*DatabaseRetentionPolicyMapping) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DatabaseRetentionPolicyMapping.

func (*DatabaseRetentionPolicyMapping) ResolveReferences

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

ResolveReferences of this DatabaseRetentionPolicyMapping.

func (*DatabaseRetentionPolicyMapping) SetConditions

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

SetConditions of this DatabaseRetentionPolicyMapping.

func (*DatabaseRetentionPolicyMapping) SetDeletionPolicy

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

SetDeletionPolicy of this DatabaseRetentionPolicyMapping.

func (*DatabaseRetentionPolicyMapping) SetProviderConfigReference

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

SetProviderConfigReference of this DatabaseRetentionPolicyMapping.

func (*DatabaseRetentionPolicyMapping) SetProviderReference

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

SetProviderReference of this DatabaseRetentionPolicyMapping. Deprecated: Use SetProviderConfigReference.

func (*DatabaseRetentionPolicyMapping) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DatabaseRetentionPolicyMapping.

type DatabaseRetentionPolicyMappingList

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

DatabaseRetentionPolicyMappingList contains a list of DatabaseRetentionPolicyMapping.

func (*DatabaseRetentionPolicyMappingList) DeepCopy

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

func (*DatabaseRetentionPolicyMappingList) DeepCopyInto

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

func (*DatabaseRetentionPolicyMappingList) DeepCopyObject

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

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

func (*DatabaseRetentionPolicyMappingList) GetItems

GetItems of this DatabaseRetentionPolicyMappingList.

type DatabaseRetentionPolicyMappingObservation

type DatabaseRetentionPolicyMappingObservation struct {
	Links DBRPLinks `json:"links,omitempty"`
}

DatabaseRetentionPolicyMappingObservation are the observable fields of a DatabaseRetentionPolicyMapping.

func (*DatabaseRetentionPolicyMappingObservation) DeepCopy

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

func (*DatabaseRetentionPolicyMappingObservation) DeepCopyInto

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

type DatabaseRetentionPolicyMappingParameters

type DatabaseRetentionPolicyMappingParameters struct {
	// BucketID is the ID of the Bucket this DatabaseRetentionPolicyMapping will
	// be applied.
	// Either BucketID or BucketIDRef or BucketIDSelector has to be given during
	// creation.
	// +crossplane:generate:reference:type=Bucket
	// +crossplane:generate:reference:extractor=BucketID()
	BucketID string `json:"bucketID,omitempty"`

	// BucketIDRef references a Bucket to retrieve its ID to populate BucketID.
	// +optional
	// +immutable
	BucketIDRef *xpv1.Reference `json:"bucketIDRef,omitempty"`

	// BucketIDSelector selects a reference to a Bucket to populate BucketIDRef.
	// +optional
	BucketIDSelector *xpv1.Selector `json:"bucketIDSelector,omitempty"`

	// InfluxDB v1 database
	Database string `json:"database"`

	// Specify if this mapping represents the default retention policy for the database specificed.
	Default *bool `json:"default,omitempty"`

	// The organization that owns this mapping.
	// Either Org or OrgRef or OrgSelector has to be given during
	// creation.
	// +crossplane:generate:reference:type=Organization
	Org string `json:"org,omitempty"`

	// OrgRef references an Organization to retrieve its name to populate Org.
	// +optional
	// +immutable
	OrgRef *xpv1.Reference `json:"orgRef,omitempty"`

	// OrgSelector selects a reference to an Organization to populate OrgRef.
	// +optional
	OrgSelector *xpv1.Selector `json:"orgSelector,omitempty"`

	// InfluxDB v1 retention policy
	RetentionPolicy string `json:"retentionPolicy"`
}

DatabaseRetentionPolicyMappingParameters are the configurable fields of a DatabaseRetentionPolicyMapping.

func (*DatabaseRetentionPolicyMappingParameters) DeepCopy

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

func (*DatabaseRetentionPolicyMappingParameters) DeepCopyInto

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

type DatabaseRetentionPolicyMappingSpec

type DatabaseRetentionPolicyMappingSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       DatabaseRetentionPolicyMappingParameters `json:"forProvider"`
}

A DatabaseRetentionPolicyMappingSpec defines the desired state of a DatabaseRetentionPolicyMapping.

func (*DatabaseRetentionPolicyMappingSpec) DeepCopy

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

func (*DatabaseRetentionPolicyMappingSpec) DeepCopyInto

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

type DatabaseRetentionPolicyMappingStatus

type DatabaseRetentionPolicyMappingStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          DatabaseRetentionPolicyMappingObservation `json:"atProvider,omitempty"`
}

A DatabaseRetentionPolicyMappingStatus represents the observed state of a DatabaseRetentionPolicyMapping.

func (*DatabaseRetentionPolicyMappingStatus) DeepCopy

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

func (*DatabaseRetentionPolicyMappingStatus) DeepCopyInto

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

type Label

type Label struct {
	ID    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
	OrgID string `json:"orgID,omitempty"`

	// Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value.
	Properties LabelProperties `json:"properties,omitempty"`
}

Label defines model for Label.

func (*Label) DeepCopy

func (in *Label) DeepCopy() *Label

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

func (*Label) DeepCopyInto

func (in *Label) DeepCopyInto(out *Label)

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

type LabelProperties

type LabelProperties struct {
	AdditionalProperties map[string]string `json:"additionalProperties,omitempty"`
}

LabelProperties are Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value.

func (*LabelProperties) DeepCopy

func (in *LabelProperties) DeepCopy() *LabelProperties

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

func (*LabelProperties) DeepCopyInto

func (in *LabelProperties) DeepCopyInto(out *LabelProperties)

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

type Organization

type Organization struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OrganizationSpec   `json:"spec"`
	Status OrganizationStatus `json:"status,omitempty"`
}

An Organization represents an organization in InfluxDB. +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,influxdb}

func (*Organization) DeepCopy

func (in *Organization) DeepCopy() *Organization

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

func (*Organization) DeepCopyInto

func (in *Organization) DeepCopyInto(out *Organization)

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

func (*Organization) DeepCopyObject

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

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

func (*Organization) GetCondition

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

GetCondition of this Organization.

func (*Organization) GetDeletionPolicy

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

GetDeletionPolicy of this Organization.

func (*Organization) GetProviderConfigReference

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

GetProviderConfigReference of this Organization.

func (*Organization) GetProviderReference

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

GetProviderReference of this Organization. Deprecated: Use GetProviderConfigReference.

func (*Organization) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Organization.

func (*Organization) SetConditions

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

SetConditions of this Organization.

func (*Organization) SetDeletionPolicy

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

SetDeletionPolicy of this Organization.

func (*Organization) SetProviderConfigReference

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

SetProviderConfigReference of this Organization.

func (*Organization) SetProviderReference

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

SetProviderReference of this Organization. Deprecated: Use SetProviderConfigReference.

func (*Organization) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Organization.

type OrganizationLinks struct {
	// URI of resource.
	Buckets string `json:"buckets,omitempty"`

	// URI of resource.
	Dashboards string `json:"dashboards,omitempty"`

	// URI of resource.
	Labels string `json:"labels,omitempty"`

	// URI of resource.
	Members string `json:"members,omitempty"`

	// URI of resource.
	Owners string `json:"owners,omitempty"`

	// URI of resource.
	Secrets string `json:"secrets,omitempty"`

	// URI of resource.
	Self string `json:"self,omitempty"`

	// URI of resource.
	Tasks string `json:"tasks,omitempty"`
}

OrganizationLinks is the URIs of all links.

func (*OrganizationLinks) DeepCopy

func (in *OrganizationLinks) DeepCopy() *OrganizationLinks

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

func (*OrganizationLinks) DeepCopyInto

func (in *OrganizationLinks) DeepCopyInto(out *OrganizationLinks)

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

type OrganizationList

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

OrganizationList contains a list of Organization.

func (*OrganizationList) DeepCopy

func (in *OrganizationList) DeepCopy() *OrganizationList

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

func (*OrganizationList) DeepCopyInto

func (in *OrganizationList) DeepCopyInto(out *OrganizationList)

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

func (*OrganizationList) DeepCopyObject

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

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

func (*OrganizationList) GetItems

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

GetItems of this OrganizationList.

type OrganizationObservation

type OrganizationObservation struct {
	ID        string            `json:"id,omitempty"`
	Status    string            `json:"status,omitempty"`
	CreatedAt metav1.Time       `json:"createdAt,omitempty"`
	UpdatedAt metav1.Time       `json:"updatedAt,omitempty"`
	Links     OrganizationLinks `json:"links,omitempty"`
}

OrganizationObservation are the observable fields of a Organization.

func (*OrganizationObservation) DeepCopy

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

func (*OrganizationObservation) DeepCopyInto

func (in *OrganizationObservation) DeepCopyInto(out *OrganizationObservation)

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

type OrganizationParameters

type OrganizationParameters struct {
	Description *string `json:"description,omitempty"`
}

OrganizationParameters are the configurable fields of a Organization.

func (*OrganizationParameters) DeepCopy

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

func (*OrganizationParameters) DeepCopyInto

func (in *OrganizationParameters) DeepCopyInto(out *OrganizationParameters)

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

type OrganizationSpec

type OrganizationSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       OrganizationParameters `json:"forProvider"`
}

A OrganizationSpec defines the desired state of a Organization.

func (*OrganizationSpec) DeepCopy

func (in *OrganizationSpec) DeepCopy() *OrganizationSpec

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

func (*OrganizationSpec) DeepCopyInto

func (in *OrganizationSpec) DeepCopyInto(out *OrganizationSpec)

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

type OrganizationStatus

type OrganizationStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          OrganizationObservation `json:"atProvider,omitempty"`
}

A OrganizationStatus represents the observed state of a Organization.

func (*OrganizationStatus) DeepCopy

func (in *OrganizationStatus) DeepCopy() *OrganizationStatus

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

func (*OrganizationStatus) DeepCopyInto

func (in *OrganizationStatus) DeepCopyInto(out *OrganizationStatus)

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

type ProviderConfig

type ProviderConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ProviderConfigSpec   `json:"spec"`
	Status ProviderConfigStatus `json:"status,omitempty"`
}

A ProviderConfig configures a Template provider. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="SECRET-NAME",type="string",JSONPath=".spec.credentials.secretRef.name",priority=1 +kubebuilder:resource:scope=Cluster

func (*ProviderConfig) DeepCopy

func (in *ProviderConfig) DeepCopy() *ProviderConfig

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

func (*ProviderConfig) DeepCopyInto

func (in *ProviderConfig) DeepCopyInto(out *ProviderConfig)

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

func (*ProviderConfig) DeepCopyObject

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

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

func (*ProviderConfig) GetCondition

func (p *ProviderConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ProviderConfig.

func (*ProviderConfig) GetUsers

func (p *ProviderConfig) GetUsers() int64

GetUsers of this ProviderConfig.

func (*ProviderConfig) SetConditions

func (p *ProviderConfig) SetConditions(c ...xpv1.Condition)

SetConditions of this ProviderConfig.

func (*ProviderConfig) SetUsers

func (p *ProviderConfig) SetUsers(i int64)

SetUsers of this ProviderConfig.

type ProviderConfigList

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

ProviderConfigList contains a list of ProviderConfig.

func (*ProviderConfigList) DeepCopy

func (in *ProviderConfigList) DeepCopy() *ProviderConfigList

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

func (*ProviderConfigList) DeepCopyInto

func (in *ProviderConfigList) DeepCopyInto(out *ProviderConfigList)

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

func (*ProviderConfigList) DeepCopyObject

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

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

type ProviderConfigSpec

type ProviderConfigSpec struct {

	// Endpoint is the URL of the InfluxDB instance.
	Endpoint string `json:"endpoint"`

	// Credentials required to authenticate to InfluxDB. It should point to the
	// auth token.
	Credentials ProviderCredentials `json:"credentials"`
}

A ProviderConfigSpec defines the desired state of a ProviderConfig.

func (*ProviderConfigSpec) DeepCopy

func (in *ProviderConfigSpec) DeepCopy() *ProviderConfigSpec

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

func (*ProviderConfigSpec) DeepCopyInto

func (in *ProviderConfigSpec) DeepCopyInto(out *ProviderConfigSpec)

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

type ProviderConfigStatus

type ProviderConfigStatus struct {
	xpv1.ProviderConfigStatus `json:",inline"`
}

A ProviderConfigStatus reflects the observed state of a ProviderConfig.

func (*ProviderConfigStatus) DeepCopy

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

func (*ProviderConfigStatus) DeepCopyInto

func (in *ProviderConfigStatus) DeepCopyInto(out *ProviderConfigStatus)

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

type ProviderConfigUsage

type ProviderConfigUsage struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	xpv1.ProviderConfigUsage `json:",inline"`
}

A ProviderConfigUsage indicates that a resource is using a ProviderConfig. +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="CONFIG-NAME",type="string",JSONPath=".providerConfigRef.name" +kubebuilder:printcolumn:name="RESOURCE-KIND",type="string",JSONPath=".resourceRef.kind" +kubebuilder:printcolumn:name="RESOURCE-NAME",type="string",JSONPath=".resourceRef.name" +kubebuilder:resource:scope=Cluster,categories={crossplane,provider,influxdb}

func (*ProviderConfigUsage) DeepCopy

func (in *ProviderConfigUsage) DeepCopy() *ProviderConfigUsage

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

func (*ProviderConfigUsage) DeepCopyInto

func (in *ProviderConfigUsage) DeepCopyInto(out *ProviderConfigUsage)

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

func (*ProviderConfigUsage) DeepCopyObject

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

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

func (*ProviderConfigUsage) GetProviderConfigReference

func (p *ProviderConfigUsage) GetProviderConfigReference() xpv1.Reference

GetProviderConfigReference of this ProviderConfigUsage.

func (*ProviderConfigUsage) GetResourceReference

func (p *ProviderConfigUsage) GetResourceReference() xpv1.TypedReference

GetResourceReference of this ProviderConfigUsage.

func (*ProviderConfigUsage) SetProviderConfigReference

func (p *ProviderConfigUsage) SetProviderConfigReference(r xpv1.Reference)

SetProviderConfigReference of this ProviderConfigUsage.

func (*ProviderConfigUsage) SetResourceReference

func (p *ProviderConfigUsage) SetResourceReference(r xpv1.TypedReference)

SetResourceReference of this ProviderConfigUsage.

type ProviderConfigUsageList

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

ProviderConfigUsageList contains a list of ProviderConfigUsage

func (*ProviderConfigUsageList) DeepCopy

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

func (*ProviderConfigUsageList) DeepCopyInto

func (in *ProviderConfigUsageList) DeepCopyInto(out *ProviderConfigUsageList)

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

func (*ProviderConfigUsageList) DeepCopyObject

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

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

func (*ProviderConfigUsageList) GetItems

GetItems of this ProviderConfigUsageList.

type ProviderCredentials

type ProviderCredentials struct {
	// Source of the provider credentials. Only "Secret" is accepted currently.
	// +kubebuilder:validation:Enum=Secret
	Source xpv1.CredentialsSource `json:"source"`

	xpv1.CommonCredentialSelectors `json:",inline"`
}

ProviderCredentials required to authenticate.

func (*ProviderCredentials) DeepCopy

func (in *ProviderCredentials) DeepCopy() *ProviderCredentials

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

func (*ProviderCredentials) DeepCopyInto

func (in *ProviderCredentials) DeepCopyInto(out *ProviderCredentials)

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

type RetentionRule

type RetentionRule struct {
	// Duration in seconds for how long data will be kept in the database. 0 means infinite.
	EverySeconds int64 `json:"everySeconds"`

	// Shard duration measured in seconds.
	ShardGroupDurationSeconds *int64 `json:"shardGroupDurationSeconds,omitempty"`

	// +kubebuilder:default=expire
	Type string `json:"type"`
}

RetentionRule defines model for RetentionRule.

func (*RetentionRule) DeepCopy

func (in *RetentionRule) DeepCopy() *RetentionRule

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

func (*RetentionRule) DeepCopyInto

func (in *RetentionRule) DeepCopyInto(out *RetentionRule)

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