v1alpha1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=argocd.krateo.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "argocd.krateo.io"
	Version = "v1alpha1"
)

Package type metadata.

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 (
	TokenKind             = reflect.TypeOf(Token{}).Name()
	TokenGroupKind        = schema.GroupKind{Group: Group, Kind: TokenKind}.String()
	TokenKindAPIVersion   = TokenKind + "." + SchemeGroupVersion.String()
	TokenGroupVersionKind = SchemeGroupVersion.WithKind(TokenKind)
)

Task type metadata

Functions

This section is empty.

Types

type Token

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

	Spec   TokenSpec   `json:"spec"`
	Status TokenStatus `json:"status,omitempty"`
}

+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="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,argocd} +kubebuilder:subresource:status

func (*Token) DeepCopy

func (in *Token) DeepCopy() *Token

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

func (*Token) DeepCopyInto

func (in *Token) DeepCopyInto(out *Token)

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

func (*Token) DeepCopyObject

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

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

func (*Token) GetCondition

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

GetCondition of this Token.

func (*Token) GetDeletionPolicy

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

GetDeletionPolicy of this Token.

func (*Token) GetProviderConfigReference

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

GetProviderConfigReference of this Token.

func (*Token) GetProviderReference

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

GetProviderReference of this Token. Deprecated: Use GetProviderConfigReference.

func (*Token) GetPublishConnectionDetailsTo added in v1.1.1

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

GetPublishConnectionDetailsTo of this Token.

func (*Token) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Token.

func (*Token) SetConditions

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

SetConditions of this Token.

func (*Token) SetDeletionPolicy

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

SetDeletionPolicy of this Token.

func (*Token) SetProviderConfigReference

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

SetProviderConfigReference of this Token.

func (*Token) SetProviderReference

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

SetProviderReference of this Token. Deprecated: Use SetProviderConfigReference.

func (*Token) SetPublishConnectionDetailsTo added in v1.1.1

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

SetPublishConnectionDetailsTo of this Token.

func (*Token) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Token.

type TokenList

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

TokenList contains a list of Token

func (*TokenList) DeepCopy

func (in *TokenList) DeepCopy() *TokenList

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

func (*TokenList) DeepCopyInto

func (in *TokenList) DeepCopyInto(out *TokenList)

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

func (*TokenList) DeepCopyObject

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

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

func (*TokenList) GetItems

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

GetItems of this TokenList.

type TokenObservation

type TokenObservation struct {
	ID        string `json:"id,omitempty"`
	ExpiresIn string `json:"expiresIn,omitempty"`
}

TokenObservation are the observable fields of a Token.

func (*TokenObservation) DeepCopy

func (in *TokenObservation) DeepCopy() *TokenObservation

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

func (*TokenObservation) DeepCopyInto

func (in *TokenObservation) DeepCopyInto(out *TokenObservation)

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

type TokenParameters

type TokenParameters struct {
	// ID optional token id. Fall back to uuid if not value specified
	// +optional
	ID string `json:"id,omitempty"`

	// Account name
	Account string `json:"account"`

	WriteTokenSecretToRef xpv1.SecretKeySelector `json:"writeTokenSecretToRef"`
}

TokenParameters are the configurable fields of of a Token.

func (*TokenParameters) DeepCopy

func (in *TokenParameters) DeepCopy() *TokenParameters

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

func (*TokenParameters) DeepCopyInto

func (in *TokenParameters) DeepCopyInto(out *TokenParameters)

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

type TokenSpec

type TokenSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       TokenParameters `json:"forProvider"`
}

A TokenSpec defines the desired state of a Token.

func (*TokenSpec) DeepCopy

func (in *TokenSpec) DeepCopy() *TokenSpec

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

func (*TokenSpec) DeepCopyInto

func (in *TokenSpec) DeepCopyInto(out *TokenSpec)

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

type TokenStatus

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

A TokenStatus represents the observed state of a Token.

func (*TokenStatus) DeepCopy

func (in *TokenStatus) DeepCopy() *TokenStatus

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

func (*TokenStatus) DeepCopyInto

func (in *TokenStatus) DeepCopyInto(out *TokenStatus)

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