v1alpha1

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

View Source
const (
	IdentityTypeGoogleApplicationCredentials = "GoogleApplicationCredentials"
)

Supported identity types.

Variables

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 (
	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

This section is empty.

Types

type Identity added in v0.9.0

type Identity struct {
	// Type of identity.
	// +kubebuilder:validation:Enum=GoogleApplicationCredentials
	Type IdentityType `json:"type"`

	ProviderCredentials `json:",inline"`
}

Identity used to authenticate.

func (*Identity) DeepCopy added in v0.9.0

func (in *Identity) DeepCopy() *Identity

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

func (*Identity) DeepCopyInto added in v0.9.0

func (in *Identity) DeepCopyInto(out *Identity)

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

type IdentityType added in v0.9.0

type IdentityType string

IdentityType used to authenticate to the Kubernetes API.

type ProviderConfig added in v0.2.0

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 Helm 'provider', i.e. a connection to a particular +kubebuilder:subresource:status +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="SECRET-NAME",type="string",JSONPath=".spec.credentialsSecretRef.name",priority=1 +kubebuilder:resource:scope=Cluster,categories={crossplane,provider,helm}

func (*ProviderConfig) DeepCopy added in v0.2.0

func (in *ProviderConfig) DeepCopy() *ProviderConfig

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

func (*ProviderConfig) DeepCopyInto added in v0.2.0

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 added in v0.2.0

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

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

func (*ProviderConfig) GetCondition added in v0.3.0

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

GetCondition of this ProviderConfig.

func (*ProviderConfig) GetUsers added in v0.3.0

func (p *ProviderConfig) GetUsers() int64

GetUsers of this ProviderConfig.

func (*ProviderConfig) SetConditions added in v0.3.0

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

SetConditions of this ProviderConfig.

func (*ProviderConfig) SetUsers added in v0.3.0

func (p *ProviderConfig) SetUsers(i int64)

SetUsers of this ProviderConfig.

type ProviderConfigList added in v0.2.0

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

ProviderConfigList contains a list of Provider

func (*ProviderConfigList) DeepCopy added in v0.2.0

func (in *ProviderConfigList) DeepCopy() *ProviderConfigList

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

func (*ProviderConfigList) DeepCopyInto added in v0.2.0

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 added in v0.2.0

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

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

type ProviderConfigSpec added in v0.2.0

type ProviderConfigSpec struct {
	// Credentials used to connect to the Kubernetes API. Typically a
	// kubeconfig file. Use InjectedIdentity for in-cluster config.
	Credentials ProviderCredentials `json:"credentials"`

	// Identity used to authenticate to the Kubernetes API. The identity
	// credentials can be used to supplement kubeconfig 'credentials', for
	// example by configuring a bearer token source such as OAuth.
	// +optional
	Identity *Identity `json:"identity,omitempty"`
}

A ProviderConfigSpec defines the desired state of a Provider.

func (*ProviderConfigSpec) DeepCopy added in v0.2.0

func (in *ProviderConfigSpec) DeepCopy() *ProviderConfigSpec

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

func (*ProviderConfigSpec) DeepCopyInto added in v0.2.0

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 added in v0.2.0

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

A ProviderConfigStatus defines the status of a Provider.

func (*ProviderConfigStatus) DeepCopy added in v0.2.0

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

func (*ProviderConfigStatus) DeepCopyInto added in v0.2.0

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 added in v0.3.0

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,helm}

func (*ProviderConfigUsage) DeepCopy added in v0.3.0

func (in *ProviderConfigUsage) DeepCopy() *ProviderConfigUsage

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

func (*ProviderConfigUsage) DeepCopyInto added in v0.3.0

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 added in v0.3.0

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

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

func (*ProviderConfigUsage) GetProviderConfigReference added in v0.3.0

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

GetProviderConfigReference of this ProviderConfigUsage.

func (*ProviderConfigUsage) GetResourceReference added in v0.3.0

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

GetResourceReference of this ProviderConfigUsage.

func (*ProviderConfigUsage) SetProviderConfigReference added in v0.3.0

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

SetProviderConfigReference of this ProviderConfigUsage.

func (*ProviderConfigUsage) SetResourceReference added in v0.3.0

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

SetResourceReference of this ProviderConfigUsage.

type ProviderConfigUsageList added in v0.3.0

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 added in v0.3.0

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

func (*ProviderConfigUsageList) DeepCopyInto added in v0.3.0

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 added in v0.3.0

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

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

func (*ProviderConfigUsageList) GetItems added in v0.3.0

GetItems of this ProviderConfigUsageList.

type ProviderCredentials added in v0.8.0

type ProviderCredentials struct {
	// Source of the provider credentials.
	// +kubebuilder:validation:Enum=None;Secret;InjectedIdentity;Environment;Filesystem
	Source xpv1.CredentialsSource `json:"source"`

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

ProviderCredentials required to authenticate.

func (*ProviderCredentials) DeepCopy added in v0.8.0

func (in *ProviderCredentials) DeepCopy() *ProviderCredentials

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

func (*ProviderCredentials) DeepCopyInto added in v0.8.0

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

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