Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group AccessKey resources of the Bitbucket Service provider. +kubebuilder:object:generate=true +groupName=accesskey.bitbucket-server.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AccessKey
- func (a AccessKey) AccessKey() bitbucket.AccessKey
- func (in *AccessKey) DeepCopy() *AccessKey
- func (in *AccessKey) DeepCopyInto(out *AccessKey)
- func (in *AccessKey) DeepCopyObject() runtime.Object
- func (mg *AccessKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *AccessKey) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *AccessKey) GetProviderConfigReference() *xpv1.Reference
- func (mg *AccessKey) GetProviderReference() *xpv1.Reference
- func (mg *AccessKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (a AccessKey) Repo() bitbucket.Repo
- func (mg *AccessKey) SetConditions(c ...xpv1.Condition)
- func (mg *AccessKey) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *AccessKey) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *AccessKey) SetProviderReference(r *xpv1.Reference)
- func (mg *AccessKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AccessKeyList
- type AccessKeyObservation
- type AccessKeyParameters
- type AccessKeySpec
- type AccessKeyStatus
- type PublicKey
Constants ¶
const ( Group = "accesskey.bitbucket-server.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 ( AccessKeyKind = reflect.TypeOf(AccessKey{}).Name() AccessKeyGroupKind = schema.GroupKind{Group: Group, Kind: AccessKeyKind}.String() AccessKeyKindAPIVersion = AccessKeyKind + "." + SchemeGroupVersion.String() AccessKeyGroupVersionKind = SchemeGroupVersion.WithKind(AccessKeyKind) )
AccessKey type metadata.
Functions ¶
This section is empty.
Types ¶
type AccessKey ¶
type AccessKey struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AccessKeySpec `json:"spec"` Status AccessKeyStatus `json:"status,omitempty"` }
An AccessKey is an SSH key with read or write access to a bitbucket git repo. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="PROJECT",type="string",JSONPath=".spec.forProvider.projectKey" +kubebuilder:printcolumn:name="REPO-NAME",type="string",JSONPath=".spec.forProvider.repoName" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster
func (*AccessKey) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessKey.
func (*AccessKey) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessKey) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccessKey) GetCondition ¶
func (mg *AccessKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this AccessKey.
func (*AccessKey) GetDeletionPolicy ¶
func (mg *AccessKey) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this AccessKey.
func (*AccessKey) GetProviderConfigReference ¶
GetProviderConfigReference of this AccessKey.
func (*AccessKey) GetProviderReference ¶
GetProviderReference of this AccessKey. Deprecated: Use GetProviderConfigReference.
func (*AccessKey) GetWriteConnectionSecretToReference ¶
func (mg *AccessKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this AccessKey.
func (*AccessKey) SetConditions ¶
SetConditions of this AccessKey.
func (*AccessKey) SetDeletionPolicy ¶
func (mg *AccessKey) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this AccessKey.
func (*AccessKey) SetProviderConfigReference ¶
SetProviderConfigReference of this AccessKey.
func (*AccessKey) SetProviderReference ¶
SetProviderReference of this AccessKey. Deprecated: Use SetProviderConfigReference.
func (*AccessKey) SetWriteConnectionSecretToReference ¶
func (mg *AccessKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this AccessKey.
type AccessKeyList ¶
type AccessKeyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AccessKey `json:"items"` }
AccessKeyList contains a list of AccessKey
func (*AccessKeyList) DeepCopy ¶
func (in *AccessKeyList) DeepCopy() *AccessKeyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessKeyList.
func (*AccessKeyList) DeepCopyInto ¶
func (in *AccessKeyList) DeepCopyInto(out *AccessKeyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessKeyList) DeepCopyObject ¶
func (in *AccessKeyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccessKeyList) GetItems ¶
func (l *AccessKeyList) GetItems() []resource.Managed
GetItems of this AccessKeyList.
type AccessKeyObservation ¶
type AccessKeyObservation struct { // +kubebuilder:validation:Optional ID int `json:"id,omitempty"` // +kubebuilder:validation:Optional Key *PublicKey `json:"publicKey,omitempty"` }
AccessKeyObservation are the observable fields of an AccessKey.
func (*AccessKeyObservation) DeepCopy ¶
func (in *AccessKeyObservation) DeepCopy() *AccessKeyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessKeyObservation.
func (*AccessKeyObservation) DeepCopyInto ¶
func (in *AccessKeyObservation) DeepCopyInto(out *AccessKeyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessKeyParameters ¶
type AccessKeyParameters struct { // The project key is the short name for the project for a // repository. Typically the key for a project called "Foo Bar" // would be "FB". // +immutable ProjectKey string `json:"projectKey"` // The repoName is the name of the git repository. // +immutable RepoName string `json:"repoName"` PublicKey PublicKey `json:"publicKey"` }
AccessKeyParameters are the configurable fields of a AccessKey.
func (*AccessKeyParameters) DeepCopy ¶
func (in *AccessKeyParameters) DeepCopy() *AccessKeyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessKeyParameters.
func (*AccessKeyParameters) DeepCopyInto ¶
func (in *AccessKeyParameters) DeepCopyInto(out *AccessKeyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessKeySpec ¶
type AccessKeySpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider AccessKeyParameters `json:"forProvider"` }
An AccessKeySpec defines the desired state of an AccessKey.
func (*AccessKeySpec) DeepCopy ¶
func (in *AccessKeySpec) DeepCopy() *AccessKeySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessKeySpec.
func (*AccessKeySpec) DeepCopyInto ¶
func (in *AccessKeySpec) DeepCopyInto(out *AccessKeySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessKeyStatus ¶
type AccessKeyStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider AccessKeyObservation `json:"atProvider,omitempty"` }
An AccessKeyStatus represents the observed state of an AccessKey.
func (*AccessKeyStatus) DeepCopy ¶
func (in *AccessKeyStatus) DeepCopy() *AccessKeyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessKeyStatus.
func (*AccessKeyStatus) DeepCopyInto ¶
func (in *AccessKeyStatus) DeepCopyInto(out *AccessKeyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublicKey ¶
type PublicKey struct { // Label Label string `json:"label"` // The ssh-key with access to the git repo. Leave empty to get a ssh-privatekey in the connection details // +kubebuilder:validation:Optional // +kubebuilder:validation:Pattern=((ssh|ecdsa)-[a-z0-9-]+ .*|) Key string `json:"key,omitempty"` // +kubebuilder:validation:Enum=REPO_READ;REPO_WRITE Permission string `json:"permission"` }
PublicKey contains the information about the public key. Only the permission field is mutable.
func (*PublicKey) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKey.
func (*PublicKey) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.