v1alpha1

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains the resources of the provider. +kubebuilder:object:generate=true +groupName=bitbucket.krateo.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "bitbucket.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 (
	RepoPermissionUserKind             = reflect.TypeOf(RepoPermissionUser{}).Name()
	RepoPermissionUserGroupKind        = schema.GroupKind{Group: Group, Kind: RepoPermissionUserKind}.String()
	RepoPermissionUserKindAPIVersion   = RepoPermissionUserKind + "." + SchemeGroupVersion.String()
	RepoPermissionUserGroupVersionKind = SchemeGroupVersion.WithKind(RepoPermissionUserKind)
)

Functions

This section is empty.

Types

type RepoPermissionUser

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

	Spec   RepoPermissionUserSpec   `json:"spec"`
	Status RepoPermissionUserStatus `json:"status,omitempty"`
}

A Repo is a managed resource that represents a bitbucket repository +kubebuilder:printcolumn:name="PROJECT",type="string",JSONPath=".status.atProvider.project" +kubebuilder:printcolumn:name="SLUG",type="string",JSONPath=".status.atProvider.repoSlug" +kubebuilder:printcolumn:name="USER",type="string",JSONPath=".status.atProvider.user" +kubebuilder:printcolumn:name="PERM",type="string",JSONPath=".status.atProvider.permission" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",priority=1 +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status",priority=1 +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,krateo,bitbucket}

func (*RepoPermissionUser) DeepCopy

func (in *RepoPermissionUser) DeepCopy() *RepoPermissionUser

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

func (*RepoPermissionUser) DeepCopyInto

func (in *RepoPermissionUser) DeepCopyInto(out *RepoPermissionUser)

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

func (*RepoPermissionUser) DeepCopyObject

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

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

func (*RepoPermissionUser) GetCondition

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

GetCondition of this RepoPermissionUser.

func (*RepoPermissionUser) GetDeletionPolicy

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

GetDeletionPolicy of this RepoPermissionUser.

func (*RepoPermissionUser) GetProviderConfigReference

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

GetProviderConfigReference of this RepoPermissionUser.

func (*RepoPermissionUser) GetProviderReference

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

GetProviderReference of this RepoPermissionUser. Deprecated: Use GetProviderConfigReference.

func (*RepoPermissionUser) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RepoPermissionUser.

func (*RepoPermissionUser) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RepoPermissionUser.

func (*RepoPermissionUser) SetConditions

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

SetConditions of this RepoPermissionUser.

func (*RepoPermissionUser) SetDeletionPolicy

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

SetDeletionPolicy of this RepoPermissionUser.

func (*RepoPermissionUser) SetProviderConfigReference

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

SetProviderConfigReference of this RepoPermissionUser.

func (*RepoPermissionUser) SetProviderReference

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

SetProviderReference of this RepoPermissionUser. Deprecated: Use SetProviderConfigReference.

func (*RepoPermissionUser) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RepoPermissionUser.

func (*RepoPermissionUser) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RepoPermissionUser.

type RepoPermissionUserList

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

RepoList contains a list of Repo.

func (*RepoPermissionUserList) DeepCopy

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

func (*RepoPermissionUserList) DeepCopyInto

func (in *RepoPermissionUserList) DeepCopyInto(out *RepoPermissionUserList)

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

func (*RepoPermissionUserList) DeepCopyObject

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

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

func (*RepoPermissionUserList) GetItems

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

GetItems of this RepoPermissionUserList.

type RepoPermissionUserParams

type RepoPermissionUserParams struct {
	// Project: the project key.
	// +immutable
	Project string `json:"project"`

	// RepoSlug: slug format of repository name.
	// +immutable
	RepoSlug string `json:"repoSlug"`

	// User: the user to grant permission.
	// +immutable
	User string `json:"user"`

	// Permission: the permission granted to the user (REPO_READ, REPO_WRITE, REPO_ADMIN).
	// +immutable
	Permission string `json:"permission"`
}

func (*RepoPermissionUserParams) DeepCopy

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

func (*RepoPermissionUserParams) DeepCopyInto

func (in *RepoPermissionUserParams) DeepCopyInto(out *RepoPermissionUserParams)

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

type RepoPermissionUserSpec

type RepoPermissionUserSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       RepoPermissionUserParams `json:"forProvider"`
}

A RepoUserPermissionSpec defines the desired state of a RepoPermissionUser.

func (*RepoPermissionUserSpec) DeepCopy

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

func (*RepoPermissionUserSpec) DeepCopyInto

func (in *RepoPermissionUserSpec) DeepCopyInto(out *RepoPermissionUserSpec)

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

type RepoPermissionUserStatus

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

A RepoPermissionUserStatus represents the observed state of a Repo.

func (*RepoPermissionUserStatus) DeepCopy

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

func (*RepoPermissionUserStatus) DeepCopyInto

func (in *RepoPermissionUserStatus) DeepCopyInto(out *RepoPermissionUserStatus)

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

type RepoPersmissionUserObservation

type RepoPersmissionUserObservation struct {
	// Project: the project key
	Project *string `json:"project,omitempty"`

	// RepoSlug: the repository name slug.
	RepoSlug *string `json:"repoSlug,omitempty"`

	// User: the user to grant permission.
	User *string `json:"user,omitempty"`

	// Permission: the permission granted to the user.
	Permission *string `json:"permission,omitempty"`
}

func (*RepoPersmissionUserObservation) DeepCopy

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

func (*RepoPersmissionUserObservation) DeepCopyInto

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