v1alpha1

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1alpha1 contains managed resources for Git services such as Repo. +kubebuilder:object:generate=true +groupName=git.krateo.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "git.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 Krateo Git Repository +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="DEPLOYMENT_ID",type="string",JSONPath=".status.atProvider.deploymentId" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,krateo,git}

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 {
	// DeploymentId: correlation identifier with UI
	DeploymentId *string `json:"deploymentId,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 RepoOpts

type RepoOpts struct {
	// Url: the repository URL.
	// +immutable
	Url string `json:"url"`

	// Path: name of the folder in the git repository
	// to copy from (or to).
	// +optional
	// +immutable
	Path *string `json:"path,omitempty"`
}

func (*RepoOpts) DeepCopy

func (in *RepoOpts) DeepCopy() *RepoOpts

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

func (*RepoOpts) DeepCopyInto

func (in *RepoOpts) DeepCopyInto(out *RepoOpts)

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

type RepoParameters

type RepoParameters struct {
	// FromRepo: .
	// +immutable
	FromRepo RepoOpts `json:"fromRepo"`

	// ToRepo: .
	// +immutable
	ToRepo RepoOpts `json:"toRepo"`

	// ConfigMapKeyRef: holds template values
	// +optional
	ConfigMapKeyRef *helpers.ConfigMapKeySelector `json:"configMapKeyRef,omitempty"`
}

func (*RepoParameters) DeepCopy

func (in *RepoParameters) DeepCopy() *RepoParameters

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

func (*RepoParameters) DeepCopyInto

func (in *RepoParameters) DeepCopyInto(out *RepoParameters)

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       RepoParameters `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