v1alpha1

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains managed resources. +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 (
	RepoKind             = reflect.TypeOf(Repo{}).Name()
	RepoGroupKind        = schema.GroupKind{Group: Group, Kind: RepoKind}.String()
	RepoKindAPIVersion   = RepoKind + "." + SchemeGroupVersion.String()
	RepoGroupVersionKind = SchemeGroupVersion.WithKind(RepoKind)
)

Firewall type metadata.

Functions

This section is empty.

Types

type Repo

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

	Spec   RepoSpec   `json:"spec"`
	Status RepoStatus `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="STATE",type="string",JSONPath=".status.atProvider.state" +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 (*Repo) DeepCopy

func (in *Repo) DeepCopy() *Repo

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

func (*Repo) DeepCopyInto

func (in *Repo) DeepCopyInto(out *Repo)

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

func (*Repo) DeepCopyObject

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

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

func (*Repo) GetCondition

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

GetCondition of this Repo.

func (*Repo) GetDeletionPolicy

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

GetDeletionPolicy of this Repo.

func (*Repo) GetProviderConfigReference

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

GetProviderConfigReference of this Repo.

func (*Repo) GetProviderReference

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

GetProviderReference of this Repo. Deprecated: Use GetProviderConfigReference.

func (*Repo) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Repo.

func (*Repo) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Repo.

func (*Repo) SetConditions

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

SetConditions of this Repo.

func (*Repo) SetDeletionPolicy

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

SetDeletionPolicy of this Repo.

func (*Repo) SetProviderConfigReference

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

SetProviderConfigReference of this Repo.

func (*Repo) SetProviderReference

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

SetProviderReference of this Repo. Deprecated: Use SetProviderConfigReference.

func (*Repo) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Repo.

func (*Repo) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Repo.

type RepoList

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

RepoList contains a list of Repo.

func (*RepoList) DeepCopy

func (in *RepoList) DeepCopy() *RepoList

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

func (*RepoList) DeepCopyInto

func (in *RepoList) DeepCopyInto(out *RepoList)

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

func (*RepoList) DeepCopyObject

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

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

func (*RepoList) GetItems

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

GetItems of this RepoList.

type RepoObservation

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

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

	// State: the repository state.
	State *string `json:"state,omitempty"`
}

func (*RepoObservation) DeepCopy

func (in *RepoObservation) DeepCopy() *RepoObservation

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

func (*RepoObservation) DeepCopyInto

func (in *RepoObservation) DeepCopyInto(out *RepoObservation)

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

type RepoParams

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

	// Name: the name of the repository.
	// +immutable
	Name string `json:"name"`

	// Private: whether the repository is private (default: true).
	// +optional
	Private *bool `json:"private,omitempty"`

	// Initialize: whether the repository must be initialized (default: true).
	// +optional
	Initialize *bool `json:"initialize,omitempty"`
}

func (*RepoParams) DeepCopy

func (in *RepoParams) DeepCopy() *RepoParams

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

func (*RepoParams) DeepCopyInto

func (in *RepoParams) DeepCopyInto(out *RepoParams)

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

type RepoSpec

type RepoSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       RepoParams `json:"forProvider"`
}

A RepoSpec defines the desired state of a Repo.

func (*RepoSpec) DeepCopy

func (in *RepoSpec) DeepCopy() *RepoSpec

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

func (*RepoSpec) DeepCopyInto

func (in *RepoSpec) DeepCopyInto(out *RepoSpec)

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

type RepoStatus

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

A RepoStatus represents the observed state of a Repo.

func (*RepoStatus) DeepCopy

func (in *RepoStatus) DeepCopy() *RepoStatus

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

func (*RepoStatus) DeepCopyInto

func (in *RepoStatus) DeepCopyInto(out *RepoStatus)

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