Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group Sample resources of the NatsSecrets provider. +kubebuilder:object:generate=true +groupName=issue.natssecrets.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- func FixEmptySlices(params *v1alpha1.UserClaims)
- type User
- func (in *User) DeepCopy() *User
- func (in *User) DeepCopyInto(out *User)
- func (in *User) DeepCopyObject() runtime.Object
- func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *User) GetProviderConfigReference() *xpv1.Reference
- func (mg *User) GetProviderReference() *xpv1.Reference
- func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *User) SetConditions(c ...xpv1.Condition)
- func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *User) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *User) SetProviderReference(r *xpv1.Reference)
- func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type UserList
- type UserObservation
- type UserParameters
- type UserSpec
- type UserStatus
Constants ¶
const ( Group = "issue.natssecrets.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
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} )
var ( UserKind = reflect.TypeOf(User{}).Name() UserGroupKind = schema.GroupKind{Group: Group, Kind: UserKind}.String() UserKindAPIVersion = UserKind + "." + SchemeGroupVersion.String() UserGroupVersionKind = SchemeGroupVersion.WithKind(UserKind) )
User type metadata.
Functions ¶
func FixEmptySlices ¶ added in v0.2.2
func FixEmptySlices(params *v1alpha1.UserClaims)
Types ¶
type User ¶
type User struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UserSpec `json:"spec"` Status UserStatus `json:"status,omitempty"` }
A User is an example API type. +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +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:printcolumn:name="OPERATOR",type="string",JSONPath=".status.atProvider.operator" +kubebuilder:printcolumn:name="ACCOUNT",type="string",JSONPath=".status.atProvider.account" +kubebuilder:printcolumn:name="NKEY",type="string",priority=1,JSONPath=".status.atProvider.nkey" +kubebuilder:printcolumn:name="JWT",type="string",priority=1,JSONPath=".status.atProvider.jwt" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,natssecrets}
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) GetCondition ¶
func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this User.
func (*User) GetDeletionPolicy ¶
func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this User.
func (*User) GetProviderConfigReference ¶
GetProviderConfigReference of this User.
func (*User) GetProviderReference ¶
GetProviderReference of this User. Deprecated: Use GetProviderConfigReference.
func (*User) GetPublishConnectionDetailsTo ¶
func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this User.
func (*User) GetWriteConnectionSecretToReference ¶
func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this User.
func (*User) SetConditions ¶
SetConditions of this User.
func (*User) SetDeletionPolicy ¶
func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this User.
func (*User) SetProviderConfigReference ¶
SetProviderConfigReference of this User.
func (*User) SetProviderReference ¶
SetProviderReference of this User. Deprecated: Use SetProviderConfigReference.
func (*User) SetPublishConnectionDetailsTo ¶
func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this User.
func (*User) SetWriteConnectionSecretToReference ¶
func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this User.
type UserList ¶
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []User `json:"items"` }
UserList contains a list of User
func (*UserList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserObservation ¶
type UserObservation struct { Operator string `json:"operator,omitempty"` Account string `json:"account,omitempty"` User string `json:"user,omitempty"` Issue string `json:"issue,omitempty"` NKey string `json:"nkey,omitempty"` JWT string `json:"jwt,omitempty"` Creds string `json:"creds,omitempty"` NKeyPath string `json:"nkeyPath,omitempty"` JWTPath string `json:"jwtPath,omitempty"` }
UserObservation are the observable fields of a User.
func (*UserObservation) DeepCopy ¶
func (in *UserObservation) DeepCopy() *UserObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserObservation.
func (*UserObservation) DeepCopyInto ¶
func (in *UserObservation) DeepCopyInto(out *UserObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserParameters ¶
type UserParameters struct { Operator string `json:"operator"` Account string `json:"account"` // +kubebuilder:validation:Optional UseSigningKey string `json:"useSigningKey,omitempty"` // +kubebuilder:validation:Optional Claims v1alpha1.UserClaims `json:"claims,omitempty"` }
UserParameters are the configurable fields of a User.
func (*UserParameters) DeepCopy ¶
func (in *UserParameters) DeepCopy() *UserParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserParameters.
func (*UserParameters) DeepCopyInto ¶
func (in *UserParameters) DeepCopyInto(out *UserParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserSpec ¶
type UserSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider UserParameters `json:"forProvider"` }
A UserSpec defines the desired state of a User.
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserStatus ¶
type UserStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider UserObservation `json:"atProvider,omitempty"` }
A UserStatus represents the observed state of a User.
func (*UserStatus) DeepCopy ¶
func (in *UserStatus) DeepCopy() *UserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus.
func (*UserStatus) DeepCopyInto ¶
func (in *UserStatus) DeepCopyInto(out *UserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.