v1alpha1

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the templates.kluctl.io v1alpha1 API group. +kubebuilder:object:generate=true +groupName=templates.kluctl.io

Package v1alpha1 contains API Schema definitions for the templates v1alpha1 API group +kubebuilder:object:generate=true +groupName=templates.kluctl.io

Index

Constants

View Source
const (
	ObjectTemplateFinalizer = "finalizers.templates.kluctl.io"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "templates.kluctl.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AppliedResourceInfo

type AppliedResourceInfo struct {
	Ref ObjectRef `json:"ref"`

	Success bool `json:"success"`

	// +optional
	Error string `json:"error,omitempty"`
}

func (*AppliedResourceInfo) DeepCopy

func (in *AppliedResourceInfo) DeepCopy() *AppliedResourceInfo

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

func (*AppliedResourceInfo) DeepCopyInto

func (in *AppliedResourceInfo) DeepCopyInto(out *AppliedResourceInfo)

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

type CommentSourceSpec

type CommentSourceSpec struct {
	// Text specifies a raw text comment.
	// +optional
	Text *string `json:"text,omitempty"`

	// ConfigMap specifies a ConfigMap and a key to load the source content from
	// +optional
	ConfigMap *ConfigMapRef `json:"configMap,omitempty"`

	// TextTemplate specifies a TextTemplate to load the source content from
	// +optional
	TextTemplate *LocalObjectReference `json:"textTemplate,omitempty"`
}

func (*CommentSourceSpec) DeepCopy

func (in *CommentSourceSpec) DeepCopy() *CommentSourceSpec

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

func (*CommentSourceSpec) DeepCopyInto

func (in *CommentSourceSpec) DeepCopyInto(out *CommentSourceSpec)

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

type CommentSpec

type CommentSpec struct {
	// Id specifies the identifier to be used by the controller when it needs to find the actual comment when it does
	// not know the internal id. This Id is written into the comment inside a comment, so that a simple text search
	// can reveal the comment
	// +optional
	Id *string `json:"id,omitempty"`

	// Source specifies the source content for the comment. Different source types are supported:
	// Text, ConfigMap and TextTemplate
	// +required
	Source CommentSourceSpec `json:"source"`
}

func (*CommentSpec) DeepCopy

func (in *CommentSpec) DeepCopy() *CommentSpec

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

func (*CommentSpec) DeepCopyInto

func (in *CommentSpec) DeepCopyInto(out *CommentSpec)

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

type ConfigMapRef

type ConfigMapRef struct {
	Name string `json:"name"`
	Key  string `json:"key"`
}

func (*ConfigMapRef) DeepCopy

func (in *ConfigMapRef) DeepCopy() *ConfigMapRef

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

func (*ConfigMapRef) DeepCopyInto

func (in *ConfigMapRef) DeepCopyInto(out *ConfigMapRef)

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

type GitFile

type GitFile struct {
	// Glob specifies a glob to use for filename matching.
	// +required
	Glob string `json:"glob"`

	// ParseYaml enables YAML parsing of matching files. The result is then available as `parsed` in the result for
	// the corresponding result file
	// +optional
	// +kubebuilder:default:=false
	ParseYaml bool `json:"parseYaml,omitempty"`
}

func (*GitFile) DeepCopy

func (in *GitFile) DeepCopy() *GitFile

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

func (*GitFile) DeepCopyInto

func (in *GitFile) DeepCopyInto(out *GitFile)

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

type GitProjector

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

	Spec   GitProjectorSpec   `json:"spec,omitempty"`
	Status GitProjectorStatus `json:"status,omitempty"`
}

GitProjector is the Schema for the gitprojectors API

func (*GitProjector) DeepCopy

func (in *GitProjector) DeepCopy() *GitProjector

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

func (*GitProjector) DeepCopyInto

func (in *GitProjector) DeepCopyInto(out *GitProjector)

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

func (*GitProjector) DeepCopyObject

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

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

type GitProjectorList

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

GitProjectorList contains a list of GitProjector

func (*GitProjectorList) DeepCopy

func (in *GitProjectorList) DeepCopy() *GitProjectorList

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

func (*GitProjectorList) DeepCopyInto

func (in *GitProjectorList) DeepCopyInto(out *GitProjectorList)

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

func (*GitProjectorList) DeepCopyObject

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

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

type GitProjectorResult

type GitProjectorResult struct {
	// +required
	Reference GitRef `json:"ref"`

	// +required
	Files []GitProjectorResultFile `json:"files"`
}

func (*GitProjectorResult) DeepCopy

func (in *GitProjectorResult) DeepCopy() *GitProjectorResult

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

func (*GitProjectorResult) DeepCopyInto

func (in *GitProjectorResult) DeepCopyInto(out *GitProjectorResult)

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

type GitProjectorResultFile

type GitProjectorResultFile struct {
	// +required
	Path string `json:"path"`

	// +optional
	Raw *string `json:"raw,omitempty"`

	// +optional
	// +kubebuilder:pruning:PreserveUnknownFields
	Parsed []*runtime.RawExtension `json:"parsed,omitempty"`
}

func (*GitProjectorResultFile) DeepCopy

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

func (*GitProjectorResultFile) DeepCopyInto

func (in *GitProjectorResultFile) DeepCopyInto(out *GitProjectorResultFile)

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

type GitProjectorSpec

type GitProjectorSpec struct {
	// Interval is the interval at which to scan the Git repository
	// Defaults to 5m.
	// +optional
	// +kubebuilder:default:="5m"
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
	Interval metav1.Duration `json:"interval"`

	// Suspend can be used to suspend the reconciliation of this object
	// +optional
	// +kubebuilder:default:=false
	Suspend bool `json:"suspend"`

	// URL specifies the Git url to scan and project
	// +required
	URL string `json:"url"`

	// Reference specifies the Git branch, tag or commit to scan. Branches and tags can contain regular expressions
	// +optional
	Reference *GitRef `json:"ref,omitempty"`

	// Files specifies the list of files to include in the projection
	// +optional
	Files []GitFile `json:"files,omitempty"`

	// SecretRefs specifies a Secret use for Git authentication. The contents of the secret must conform to:
	// https://kluctl.io/docs/flux/spec/v1alpha1/kluctldeployment/#git-authentication
	// +optional
	SecretRef *LocalObjectReference `json:"secretRef,omitempty"`
}

GitProjectorSpec defines the desired state of GitProjector

func (*GitProjectorSpec) DeepCopy

func (in *GitProjectorSpec) DeepCopy() *GitProjectorSpec

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

func (*GitProjectorSpec) DeepCopyInto

func (in *GitProjectorSpec) DeepCopyInto(out *GitProjectorSpec)

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

type GitProjectorStatus

type GitProjectorStatus struct {
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// +optional
	AllRefsHash string `json:"allRefsHash,omitempty"`

	// +optional
	Result []GitProjectorResult `json:"result"`
}

GitProjectorStatus defines the observed state of GitProjector

func (*GitProjectorStatus) DeepCopy

func (in *GitProjectorStatus) DeepCopy() *GitProjectorStatus

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

func (*GitProjectorStatus) DeepCopyInto

func (in *GitProjectorStatus) DeepCopyInto(out *GitProjectorStatus)

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

type GitRef

type GitRef struct {
	// Branch to filter for. Can also be a regex.
	// +optional
	Branch string `json:"branch,omitempty"`

	// Tag to filter for. Can also be a regex.
	// +optional
	Tag string `json:"tag,omitempty"`

	// Commit SHA to check out, takes precedence over all reference fields.
	// +optional
	Commit string `json:"commit,omitempty"`
}

func (*GitRef) DeepCopy

func (in *GitRef) DeepCopy() *GitRef

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

func (*GitRef) DeepCopyInto

func (in *GitRef) DeepCopyInto(out *GitRef)

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

func (*GitRef) Less

func (gr *GitRef) Less(o GitRef) bool

type GithubComment

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

	Spec   GithubCommentSpec   `json:"spec,omitempty"`
	Status GithubCommentStatus `json:"status,omitempty"`
}

GithubComment is the Schema for the githubcomments API

func (*GithubComment) DeepCopy

func (in *GithubComment) DeepCopy() *GithubComment

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

func (*GithubComment) DeepCopyInto

func (in *GithubComment) DeepCopyInto(out *GithubComment)

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

func (*GithubComment) DeepCopyObject

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

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

func (*GithubComment) GetCommentSourceSpec

func (gc *GithubComment) GetCommentSourceSpec() *CommentSourceSpec

type GithubCommentList

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

GithubCommentList contains a list of GithubComment

func (*GithubCommentList) DeepCopy

func (in *GithubCommentList) DeepCopy() *GithubCommentList

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

func (*GithubCommentList) DeepCopyInto

func (in *GithubCommentList) DeepCopyInto(out *GithubCommentList)

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

func (*GithubCommentList) DeepCopyObject

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

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

func (*GithubCommentList) GetItems

func (l *GithubCommentList) GetItems() []client.Object

type GithubCommentSpec

type GithubCommentSpec struct {
	GithubPullRequestRef `json:"github"`
	CommentSpec          `json:"comment"`

	// Suspend can be used to suspend the reconciliation of this object
	// +optional
	// +kubebuilder:default:=false
	Suspend bool `json:"suspend"`
}

GithubCommentSpec defines the desired state of GithubComment

func (*GithubCommentSpec) DeepCopy

func (in *GithubCommentSpec) DeepCopy() *GithubCommentSpec

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

func (*GithubCommentSpec) DeepCopyInto

func (in *GithubCommentSpec) DeepCopyInto(out *GithubCommentSpec)

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

type GithubCommentStatus

type GithubCommentStatus struct {
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// +optional
	CommentId string `json:"commentId,omitempty"`

	// +optional
	LastPostedBodyHash string `json:"lastPostedBodyHash,omitempty"`
}

GithubCommentStatus defines the observed state of GithubComment

func (*GithubCommentStatus) DeepCopy

func (in *GithubCommentStatus) DeepCopy() *GithubCommentStatus

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

func (*GithubCommentStatus) DeepCopyInto

func (in *GithubCommentStatus) DeepCopyInto(out *GithubCommentStatus)

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

type GithubProject

type GithubProject struct {
	// Owner specifies the GitHub user or organisation that owns the repository
	// +required
	Owner string `json:"owner"`

	// Repo specifies the repository name.
	// +required
	Repo string `json:"repo"`

	// TokenRef specifies a secret and key to load the GitHub API token from
	// +optional
	TokenRef *SecretRef `json:"tokenRef"`
}

func (*GithubProject) DeepCopy

func (in *GithubProject) DeepCopy() *GithubProject

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

func (*GithubProject) DeepCopyInto

func (in *GithubProject) DeepCopyInto(out *GithubProject)

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

type GithubPullRequestRef

type GithubPullRequestRef struct {
	GithubProject `json:",inline"`

	// PullRequestId specifies the pull request ID.
	// +required
	PullRequestId *intstr.IntOrString `json:"pullRequestId"`
}

func (*GithubPullRequestRef) DeepCopy

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

func (*GithubPullRequestRef) DeepCopyInto

func (in *GithubPullRequestRef) DeepCopyInto(out *GithubPullRequestRef)

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

type GitlabComment

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

	Spec   GitlabCommentSpec   `json:"spec,omitempty"`
	Status GitlabCommentStatus `json:"status,omitempty"`
}

GitlabComment is the Schema for the gitlabcomments API

func (*GitlabComment) DeepCopy

func (in *GitlabComment) DeepCopy() *GitlabComment

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

func (*GitlabComment) DeepCopyInto

func (in *GitlabComment) DeepCopyInto(out *GitlabComment)

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

func (*GitlabComment) DeepCopyObject

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

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

func (*GitlabComment) GetCommentSourceSpec

func (gc *GitlabComment) GetCommentSourceSpec() *CommentSourceSpec

type GitlabCommentList

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

GitlabCommentList contains a list of GitlabComment

func (*GitlabCommentList) DeepCopy

func (in *GitlabCommentList) DeepCopy() *GitlabCommentList

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

func (*GitlabCommentList) DeepCopyInto

func (in *GitlabCommentList) DeepCopyInto(out *GitlabCommentList)

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

func (*GitlabCommentList) DeepCopyObject

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

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

func (*GitlabCommentList) GetItems

func (l *GitlabCommentList) GetItems() []client.Object

type GitlabCommentSpec

type GitlabCommentSpec struct {
	GitlabMergeRequestRef `json:"gitlab"`
	CommentSpec           `json:"comment"`

	// Suspend can be used to suspend the reconciliation of this object
	// +optional
	// +kubebuilder:default:=false
	Suspend bool `json:"suspend"`
}

GitlabCommentSpec defines the desired state of GitlabComment

func (*GitlabCommentSpec) DeepCopy

func (in *GitlabCommentSpec) DeepCopy() *GitlabCommentSpec

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

func (*GitlabCommentSpec) DeepCopyInto

func (in *GitlabCommentSpec) DeepCopyInto(out *GitlabCommentSpec)

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

type GitlabCommentStatus

type GitlabCommentStatus struct {
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// +optional
	NoteId string `json:"noteId,omitempty"`

	// +optional
	LastPostedBodyHash string `json:"lastPostedBodyHash,omitempty"`
}

GitlabCommentStatus defines the observed state of GitlabComment

func (*GitlabCommentStatus) DeepCopy

func (in *GitlabCommentStatus) DeepCopy() *GitlabCommentStatus

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

func (*GitlabCommentStatus) DeepCopyInto

func (in *GitlabCommentStatus) DeepCopyInto(out *GitlabCommentStatus)

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

type GitlabMergeRequestRef

type GitlabMergeRequestRef struct {
	GitlabProject `json:",inline"`

	// MergeRequestId specifies the Gitlab merge request internal ID
	// +required
	MergeRequestId *intstr.IntOrString `json:"mergeRequestId"`
}

func (*GitlabMergeRequestRef) DeepCopy

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

func (*GitlabMergeRequestRef) DeepCopyInto

func (in *GitlabMergeRequestRef) DeepCopyInto(out *GitlabMergeRequestRef)

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

type GitlabProject

type GitlabProject struct {
	// Project specifies the Gitlab group and project (separated by slash) to
	// use, or the numeric project id
	// +required
	Project *intstr.IntOrString `json:"project"`

	// API specifies the GitLab API URL to talk to.
	// If blank, uses https://gitlab.com/.
	// +optional
	API *string `json:"api,omitempty"`

	// TokenRef specifies a secret and key to load the Gitlab API token from
	// +optional
	TokenRef *SecretRef `json:"tokenRef"`
}

func (*GitlabProject) DeepCopy

func (in *GitlabProject) DeepCopy() *GitlabProject

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

func (*GitlabProject) DeepCopyInto

func (in *GitlabProject) DeepCopyInto(out *GitlabProject)

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

type Handler

type Handler struct {
	// +optional
	PullRequestComment *PullRequestCommentReporter `json:"pullRequestComment,omitempty"`
	// +optional
	PullRequestApprove *PullRequestApproveReporter `json:"pullRequestApprove,omitempty"`
	// +optional
	PullRequestCommand *PullRequestCommandHandler `json:"pullRequestCommand,omitempty"`
}

func (*Handler) BuildKey

func (r *Handler) BuildKey() string

func (*Handler) DeepCopy

func (in *Handler) DeepCopy() *Handler

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

func (*Handler) DeepCopyInto

func (in *Handler) DeepCopyInto(out *Handler)

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

type HandlerStatus

type HandlerStatus struct {
	Key string `json:"key"`

	// +optional
	Error string `json:"error,omitempty"`

	// +optional
	PullRequestComment *PullRequestCommentReporterStatus `json:"pullRequestComment,omitempty"`
	// +optional
	PullRequestApprove *PullRequestApproveReporterStatus `json:"pullRequestApprove,omitempty"`
	// +optional
	PullRequestCommand *PullRequestCommandHandlerStatus `json:"pullRequestCommand,omitempty"`
}

func (*HandlerStatus) DeepCopy

func (in *HandlerStatus) DeepCopy() *HandlerStatus

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

func (*HandlerStatus) DeepCopyInto

func (in *HandlerStatus) DeepCopyInto(out *HandlerStatus)

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

type ListGithubPullRequests

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

	Spec   ListGithubPullRequestsSpec   `json:"spec,omitempty"`
	Status ListGithubPullRequestsStatus `json:"status,omitempty"`
}

ListGithubPullRequests is the Schema for the listgithubpullrequests API

func (*ListGithubPullRequests) DeepCopy

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

func (*ListGithubPullRequests) DeepCopyInto

func (in *ListGithubPullRequests) DeepCopyInto(out *ListGithubPullRequests)

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

func (*ListGithubPullRequests) DeepCopyObject

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

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

type ListGithubPullRequestsList

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

ListGithubPullRequestsList contains a list of ListGithubPullRequests

func (*ListGithubPullRequestsList) DeepCopy

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

func (*ListGithubPullRequestsList) DeepCopyInto

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

func (*ListGithubPullRequestsList) DeepCopyObject

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

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

type ListGithubPullRequestsSpec

type ListGithubPullRequestsSpec struct {
	// Interval is the interval at which to query the Gitlab API.
	// Defaults to 5m.
	// +optional
	// +kubebuilder:default:="5m"
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
	Interval metav1.Duration `json:"interval"`

	GithubProject `json:",inline"`

	// Head specifies the head to filter for
	// +optional
	Head *string `json:"head,omitempty"`

	// Base specifies the base to filter for
	// +optional
	Base *string `json:"base,omitempty"`

	// Labels is used to filter the PRs that you want to target
	// +optional
	Labels []string `json:"labels,omitempty"`

	// State is an additional PR filter to get only those with a certain state. Default: "all"
	// +optional
	// +kubebuilder:validation:Enum=all;open;closed
	// +kubebuilder:default:="all"
	State string `json:"state,omitempty"`

	// Limit limits the maximum number of pull requests to fetch. Defaults to 100
	// +kubebuilder:default:=100
	Limit int `json:"limit"`
}

ListGithubPullRequestsSpec defines the desired state of ListGithubPullRequests

func (*ListGithubPullRequestsSpec) DeepCopy

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

func (*ListGithubPullRequestsSpec) DeepCopyInto

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

type ListGithubPullRequestsStatus

type ListGithubPullRequestsStatus struct {
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// +optional
	// +kubebuilder:pruning:PreserveUnknownFields
	PullRequests []runtime.RawExtension `json:"pullRequests,omitempty"`
}

ListGithubPullRequestsStatus defines the observed state of ListGithubPullRequests

func (*ListGithubPullRequestsStatus) DeepCopy

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

func (*ListGithubPullRequestsStatus) DeepCopyInto

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

type ListGitlabMergeRequests

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

	Spec   ListGitlabMergeRequestsSpec   `json:"spec,omitempty"`
	Status ListGitlabMergeRequestsStatus `json:"status,omitempty"`
}

ListGitlabMergeRequests is the Schema for the listgitlabmergerequests API

func (*ListGitlabMergeRequests) DeepCopy

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

func (*ListGitlabMergeRequests) DeepCopyInto

func (in *ListGitlabMergeRequests) DeepCopyInto(out *ListGitlabMergeRequests)

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

func (*ListGitlabMergeRequests) DeepCopyObject

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

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

type ListGitlabMergeRequestsList

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

ListGitlabMergeRequestsList contains a list of ListGitlabMergeRequests

func (*ListGitlabMergeRequestsList) DeepCopy

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

func (*ListGitlabMergeRequestsList) DeepCopyInto

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

func (*ListGitlabMergeRequestsList) DeepCopyObject

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

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

type ListGitlabMergeRequestsSpec

type ListGitlabMergeRequestsSpec struct {
	// Interval is the interval at which to query the Gitlab API.
	// Defaults to 5m.
	// +optional
	// +kubebuilder:default:="5m"
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
	Interval metav1.Duration `json:"interval"`

	GitlabProject `json:",inline"`

	// TargetBranch specifies the target branch to filter for
	// +optional
	TargetBranch *string `json:"targetBranch,omitempty"`

	// +optional
	SourceBranch *string `json:"sourceBranch,omitempty"`

	// Labels is used to filter the MRs that you want to target
	// +optional
	Labels []string `json:"labels,omitempty"`

	// State is an additional MRs filter to get only those with a certain state. Default: "all"
	// +optional
	// +kubebuilder:validation:Enum=all;opened;closed;locked;merged
	// +kubebuilder:default:="all"
	State *string `json:"state,omitempty"`

	// Limit limits the maximum number of merge requests to fetch. Defaults to 100
	// +kubebuilder:default:=100
	Limit int `json:"limit"`
}

ListGitlabMergeRequestsSpec defines the desired state of ListGitlabMergeRequests

func (*ListGitlabMergeRequestsSpec) DeepCopy

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

func (*ListGitlabMergeRequestsSpec) DeepCopyInto

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

type ListGitlabMergeRequestsStatus

type ListGitlabMergeRequestsStatus struct {
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// +optional
	// +kubebuilder:pruning:PreserveUnknownFields
	MergeRequests []runtime.RawExtension `json:"mergeRequests,omitempty"`
}

ListGitlabMergeRequestsStatus defines the observed state of ListGitlabMergeRequests

func (*ListGitlabMergeRequestsStatus) DeepCopy

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

func (*ListGitlabMergeRequestsStatus) DeepCopyInto

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

type LocalObjectReference

type LocalObjectReference struct {
	// Name of the referent.
	// +required
	Name string `json:"name"`
}

func (*LocalObjectReference) DeepCopy

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

func (*LocalObjectReference) DeepCopyInto

func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference)

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

type MatrixEntry

type MatrixEntry struct {
	// Name specifies the name this matrix input is available while rendering templates
	// +required
	Name string `json:"name"`

	// Object specifies an object to load and make available while rendering templates. The object can be accessed
	// through the name specified above. The service account used by the ObjectTemplate must have proper permissions
	// to get this object
	// +optional
	Object *MatrixEntryObject `json:"object,omitempty"`

	// List specifies a list of plain YAML values which are made available while rendering templates. The list can be
	// accessed through the name specified above
	// +optional
	// +kubebuilder:pruning:PreserveUnknownFields
	List []runtime.RawExtension `json:"list,omitempty"`
}

func (*MatrixEntry) DeepCopy

func (in *MatrixEntry) DeepCopy() *MatrixEntry

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

func (*MatrixEntry) DeepCopyInto

func (in *MatrixEntry) DeepCopyInto(out *MatrixEntry)

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

type MatrixEntryObject

type MatrixEntryObject struct {
	// Ref specifies the apiVersion, kind, namespace and name of the object to load. The service account used by the
	// ObjectTemplate must have proper permissions to get this object
	// +required
	Ref ObjectRef `json:"ref"`

	// JsonPath optionally specifies a sub-field to load. When specified, the sub-field (and not the whole object)
	// is made available while rendering templates
	// +optional
	JsonPath *string `json:"jsonPath,omitempty"`

	// ExpandLists enables optional expanding of list. Expanding means, that each list entry is interpreted as
	// individual matrix input instead of interpreting the whole list as one matrix input. This feature is only useful
	// when used in combination with `jsonPath`
	// +optional
	ExpandLists bool `json:"expandLists,omitempty"`
}

func (*MatrixEntryObject) DeepCopy

func (in *MatrixEntryObject) DeepCopy() *MatrixEntryObject

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

func (*MatrixEntryObject) DeepCopyInto

func (in *MatrixEntryObject) DeepCopyInto(out *MatrixEntryObject)

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

type ObjectHandler

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

	Spec   ObjectHandlerSpec   `json:"spec,omitempty"`
	Status ObjectHandlerStatus `json:"status,omitempty"`
}

ObjectHandler is the Schema for the objecthandlers API

func (*ObjectHandler) DeepCopy

func (in *ObjectHandler) DeepCopy() *ObjectHandler

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

func (*ObjectHandler) DeepCopyInto

func (in *ObjectHandler) DeepCopyInto(out *ObjectHandler)

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

func (*ObjectHandler) DeepCopyObject

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

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

type ObjectHandlerList

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

ObjectHandlerList contains a list of ObjectHandler

func (*ObjectHandlerList) DeepCopy

func (in *ObjectHandlerList) DeepCopy() *ObjectHandlerList

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

func (*ObjectHandlerList) DeepCopyInto

func (in *ObjectHandlerList) DeepCopyInto(out *ObjectHandlerList)

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

func (*ObjectHandlerList) DeepCopyObject

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

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

type ObjectHandlerSpec

type ObjectHandlerSpec struct {
	// +kubebuilder:default:="1m"
	Interval metav1.Duration `json:"interval"`

	// +required
	ForObject ObjectRef `json:"forObject"`

	// +required
	Handlers []Handler `json:"handlers"`
}

ObjectHandlerSpec defines the desired state of ObjectHandler

func (*ObjectHandlerSpec) DeepCopy

func (in *ObjectHandlerSpec) DeepCopy() *ObjectHandlerSpec

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

func (*ObjectHandlerSpec) DeepCopyInto

func (in *ObjectHandlerSpec) DeepCopyInto(out *ObjectHandlerSpec)

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

type ObjectHandlerStatus

type ObjectHandlerStatus struct {
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// +optional
	HandlerStatus []*HandlerStatus `json:"handlerStatus"`
}

ObjectHandlerStatus defines the observed state of ObjectHandler

func (*ObjectHandlerStatus) DeepCopy

func (in *ObjectHandlerStatus) DeepCopy() *ObjectHandlerStatus

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

func (*ObjectHandlerStatus) DeepCopyInto

func (in *ObjectHandlerStatus) DeepCopyInto(out *ObjectHandlerStatus)

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

type ObjectRef

type ObjectRef struct {
	APIVersion string `json:"apiVersion"`
	Kind       string `json:"kind"`

	// +optional
	Namespace string `json:"namespace,omitempty"`
	Name      string `json:"name"`
}

func ObjectRefFromObject

func ObjectRefFromObject(object client.Object) ObjectRef

func (*ObjectRef) DeepCopy

func (in *ObjectRef) DeepCopy() *ObjectRef

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

func (*ObjectRef) DeepCopyInto

func (in *ObjectRef) DeepCopyInto(out *ObjectRef)

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

func (*ObjectRef) GroupVersionKind

func (r *ObjectRef) GroupVersionKind() (schema.GroupVersionKind, error)

func (*ObjectRef) String

func (r *ObjectRef) String() string

func (*ObjectRef) WithoutVersion

func (r *ObjectRef) WithoutVersion() ObjectRef

type ObjectTemplate

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

	Spec   ObjectTemplateSpec   `json:"spec,omitempty"`
	Status ObjectTemplateStatus `json:"status,omitempty"`
}

ObjectTemplate is the Schema for the objecttemplates API

func (*ObjectTemplate) DeepCopy

func (in *ObjectTemplate) DeepCopy() *ObjectTemplate

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

func (*ObjectTemplate) DeepCopyInto

func (in *ObjectTemplate) DeepCopyInto(out *ObjectTemplate)

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

func (*ObjectTemplate) DeepCopyObject

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

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

func (*ObjectTemplate) GetConditions

func (in *ObjectTemplate) GetConditions() []metav1.Condition

GetConditions returns the status conditions of the object.

func (*ObjectTemplate) SetConditions

func (in *ObjectTemplate) SetConditions(conditions []metav1.Condition)

SetConditions sets the status conditions on the object.

type ObjectTemplateList

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

ObjectTemplateList contains a list of ObjectTemplate

func (*ObjectTemplateList) DeepCopy

func (in *ObjectTemplateList) DeepCopy() *ObjectTemplateList

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

func (*ObjectTemplateList) DeepCopyInto

func (in *ObjectTemplateList) DeepCopyInto(out *ObjectTemplateList)

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

func (*ObjectTemplateList) DeepCopyObject

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

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

type ObjectTemplateSpec

type ObjectTemplateSpec struct {
	// +kubebuilder:default:="30s"
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
	Interval metav1.Duration `json:"interval"`

	// Suspend can be used to suspend the reconciliation of this object
	// +optional
	// +kubebuilder:default:=false
	Suspend bool `json:"suspend"`

	// ServiceAccountName specifies the name of the Kubernetes service account to impersonate
	// when reconciling this ObjectTemplate. If omitted, the "default" service account is used
	// +optional
	ServiceAccountName string `json:"serviceAccountName,omitempty"`

	// Prune enables pruning of previously created objects when these disappear from the list of rendered objects
	// +kubebuilder:default:=false
	// +optional
	Prune bool `json:"prune"`

	// Matrix specifies the input matrix
	// +required
	Matrix []*MatrixEntry `json:"matrix"`

	// Templates specifies a list of templates to render and deploy
	// +required
	Templates []Template `json:"templates"`
}

ObjectTemplateSpec defines the desired state of ObjectTemplate

func (*ObjectTemplateSpec) DeepCopy

func (in *ObjectTemplateSpec) DeepCopy() *ObjectTemplateSpec

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

func (*ObjectTemplateSpec) DeepCopyInto

func (in *ObjectTemplateSpec) DeepCopyInto(out *ObjectTemplateSpec)

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

type ObjectTemplateStatus

type ObjectTemplateStatus struct {
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// +optional
	AppliedResources []AppliedResourceInfo `json:"appliedResources,omitempty"`
}

ObjectTemplateStatus defines the observed state of ObjectTemplate

func (*ObjectTemplateStatus) DeepCopy

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

func (*ObjectTemplateStatus) DeepCopyInto

func (in *ObjectTemplateStatus) DeepCopyInto(out *ObjectTemplateStatus)

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

type PullRequestApproveReporter

type PullRequestApproveReporter struct {
	PullRequestRefHolder `json:",inline"`

	// +optional
	// +kubebuilder:default:=false
	MissingReadyConditionIsError bool `json:"missingReadyConditionIsError"`
}

func (*PullRequestApproveReporter) DeepCopy

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

func (*PullRequestApproveReporter) DeepCopyInto

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

type PullRequestApproveReporterStatus

type PullRequestApproveReporterStatus struct {
	// +optional
	Approved *bool `json:"approved,omitempty"`
}

func (*PullRequestApproveReporterStatus) DeepCopy

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

func (*PullRequestApproveReporterStatus) DeepCopyInto

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

type PullRequestCommandHandler

type PullRequestCommandHandler struct {
	PullRequestRefHolder `json:",inline"`

	// +optional
	PostHelpComment bool `json:"postHelpComment"`

	// +required
	Commands []PullRequestCommandHandlerCommandSpec `json:"commands"`
}

func (*PullRequestCommandHandler) DeepCopy

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

func (*PullRequestCommandHandler) DeepCopyInto

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

type PullRequestCommandHandlerActionAnnotateSpec

type PullRequestCommandHandlerActionAnnotateSpec struct {
	// +required
	Annotation string `json:"annotation"`
	// +required
	Value string `json:"value"`
}

func (*PullRequestCommandHandlerActionAnnotateSpec) DeepCopy

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

func (*PullRequestCommandHandlerActionAnnotateSpec) DeepCopyInto

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

type PullRequestCommandHandlerActionSpec

type PullRequestCommandHandlerActionSpec struct {
	// +optional
	Annotate *PullRequestCommandHandlerActionAnnotateSpec `json:"annotate"`
	// +optional
	// +kubebuilder:pruning:PreserveUnknownFields
	JsonPatch *[]runtime.RawExtension `json:"jsonPatch"`
}

func (*PullRequestCommandHandlerActionSpec) DeepCopy

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

func (*PullRequestCommandHandlerActionSpec) DeepCopyInto

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

type PullRequestCommandHandlerCommandSpec

type PullRequestCommandHandlerCommandSpec struct {
	// +required
	Name string `json:"name"`
	// +optional
	Description string `json:"description,omitempty"`
	// +required
	Actions []PullRequestCommandHandlerActionSpec `json:"actions"`
}

func (*PullRequestCommandHandlerCommandSpec) DeepCopy

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

func (*PullRequestCommandHandlerCommandSpec) DeepCopyInto

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

type PullRequestCommandHandlerStatus

type PullRequestCommandHandlerStatus struct {
	// +optional
	LastProcessedCommentTime *string `json:"lastProcessedCommentTime"`

	// +optional
	HelpNoteId string `json:"helpNoteId,omitempty"`

	// +optional
	HelpNoteBodyHash string `json:"helpNoteBodyHash,omitempty"`
}

func (*PullRequestCommandHandlerStatus) DeepCopy

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

func (*PullRequestCommandHandlerStatus) DeepCopyInto

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

type PullRequestCommentReporter

type PullRequestCommentReporter struct {
	PullRequestRefHolder `json:",inline"`
}

func (*PullRequestCommentReporter) DeepCopy

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

func (*PullRequestCommentReporter) DeepCopyInto

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

type PullRequestCommentReporterStatus

type PullRequestCommentReporterStatus struct {
	// +optional
	LastPostedStatusHash string `json:"lastPostedStatusHash,omitempty"`

	// +optional
	NoteId string `json:"noteId,omitempty"`
}

func (*PullRequestCommentReporterStatus) DeepCopy

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

func (*PullRequestCommentReporterStatus) DeepCopyInto

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

type PullRequestRefHolder

type PullRequestRefHolder struct {
	// +optional
	Gitlab *GitlabMergeRequestRef `json:"gitlab,omitempty"`

	// +optional
	Github *GithubPullRequestRef `json:"github,omitempty"`
}

func (*PullRequestRefHolder) DeepCopy

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

func (*PullRequestRefHolder) DeepCopyInto

func (in *PullRequestRefHolder) DeepCopyInto(out *PullRequestRefHolder)

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

type SecretRef

type SecretRef struct {
	SecretName string `json:"secretName"`
	Key        string `json:"key"`
}

Utility struct for a reference to a secret key.

func (*SecretRef) DeepCopy

func (in *SecretRef) DeepCopy() *SecretRef

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

func (*SecretRef) DeepCopyInto

func (in *SecretRef) DeepCopyInto(out *SecretRef)

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

type Template

type Template struct {
	// Object specifies a structured object in YAML form. Each field value is rendered independently.
	// +optional
	// +kubebuilder:pruning:PreserveUnknownFields
	Object *unstructured.Unstructured `json:"object,omitempty"`

	// Raw specifies a raw string to be interpreted/parsed as YAML. The whole string is rendered in one go, allowing to
	// use advanced Jinja2 control structures. Raw object might also be required when a templated value must not be
	// interpreted as a string (which would be done in Object).
	// +optional
	Raw *string `json:"raw,omitempty"`
}

func (*Template) DeepCopy

func (in *Template) DeepCopy() *Template

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

func (*Template) DeepCopyInto

func (in *Template) DeepCopyInto(out *Template)

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

type TemplateRef

type TemplateRef struct {
	// +optional
	ConfigMap *TemplateRefConfigMap `json:"configMap,omitempty"`
}

func (*TemplateRef) DeepCopy

func (in *TemplateRef) DeepCopy() *TemplateRef

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

func (*TemplateRef) DeepCopyInto

func (in *TemplateRef) DeepCopyInto(out *TemplateRef)

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

type TemplateRefConfigMap

type TemplateRefConfigMap struct {
	// +required
	Name string `json:"name"`

	// +optional
	Namespace string `json:"namespace,omitempty"`

	// +required
	Key string `json:"key"`
}

func (*TemplateRefConfigMap) DeepCopy

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

func (*TemplateRefConfigMap) DeepCopyInto

func (in *TemplateRefConfigMap) DeepCopyInto(out *TemplateRefConfigMap)

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

type TextTemplate

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

	Spec   TextTemplateSpec   `json:"spec,omitempty"`
	Status TextTemplateStatus `json:"status,omitempty"`
}

TextTemplate is the Schema for the texttemplates API

func (*TextTemplate) DeepCopy

func (in *TextTemplate) DeepCopy() *TextTemplate

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

func (*TextTemplate) DeepCopyInto

func (in *TextTemplate) DeepCopyInto(out *TextTemplate)

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

func (*TextTemplate) DeepCopyObject

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

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

func (*TextTemplate) GetConditions

func (in *TextTemplate) GetConditions() []metav1.Condition

GetConditions returns the status conditions of the object.

func (*TextTemplate) SetConditions

func (in *TextTemplate) SetConditions(conditions []metav1.Condition)

SetConditions sets the status conditions on the object.

type TextTemplateInput

type TextTemplateInput struct {
	// +required
	Name string `json:"name"`

	// +optional
	Object *TextTemplateInputObject `json:"object,omitempty"`
}

func (*TextTemplateInput) DeepCopy

func (in *TextTemplateInput) DeepCopy() *TextTemplateInput

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

func (*TextTemplateInput) DeepCopyInto

func (in *TextTemplateInput) DeepCopyInto(out *TextTemplateInput)

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

type TextTemplateInputObject

type TextTemplateInputObject struct {
	// +required
	Ref ObjectRef `json:"ref"`

	// +optional
	JsonPath *string `json:"jsonPath,omitempty"`
}

func (*TextTemplateInputObject) DeepCopy

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

func (*TextTemplateInputObject) DeepCopyInto

func (in *TextTemplateInputObject) DeepCopyInto(out *TextTemplateInputObject)

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

type TextTemplateList

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

TextTemplateList contains a list of TextTemplate

func (*TextTemplateList) DeepCopy

func (in *TextTemplateList) DeepCopy() *TextTemplateList

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

func (*TextTemplateList) DeepCopyInto

func (in *TextTemplateList) DeepCopyInto(out *TextTemplateList)

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

func (*TextTemplateList) DeepCopyObject

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

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

type TextTemplateSpec

type TextTemplateSpec struct {
	// Suspend can be used to suspend the reconciliation of this object.
	// +optional
	// +kubebuilder:default:=false
	Suspend bool `json:"suspend"`

	// The name of the Kubernetes service account to impersonate
	// when reconciling this TextTemplate. If omitted, the "default" service account is used.
	// +optional
	ServiceAccountName string `json:"serviceAccountName,omitempty"`

	// +optional
	Inputs []*TextTemplateInput `json:"inputs,omitempty"`

	// +optional
	Template *string `json:"template,omitempty"`

	// +optional
	TemplateRef *TemplateRef `json:"templateRef,omitempty"`
}

TextTemplateSpec defines the desired state of TextTemplate

func (*TextTemplateSpec) DeepCopy

func (in *TextTemplateSpec) DeepCopy() *TextTemplateSpec

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

func (*TextTemplateSpec) DeepCopyInto

func (in *TextTemplateSpec) DeepCopyInto(out *TextTemplateSpec)

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

type TextTemplateStatus

type TextTemplateStatus struct {
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// +optional
	Result string `json:"result,omitempty"`
}

TextTemplateStatus defines the observed state of TextTemplate

func (*TextTemplateStatus) DeepCopy

func (in *TextTemplateStatus) DeepCopy() *TextTemplateStatus

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

func (*TextTemplateStatus) DeepCopyInto

func (in *TextTemplateStatus) DeepCopyInto(out *TextTemplateStatus)

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