v1alpha1

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the dreamkast v1alpha1 API group +kubebuilder:object:generate=true +groupName=dreamkast.cloudnativedays.jp

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "dreamkast.cloudnativedays.jp", 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 ApplicationTemplate

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

	Spec ApplicationTemplateSpec `json:"spec"`
}

ApplicationTemplate is the Schema for the applicationtemplates API

func (*ApplicationTemplate) DeepCopy

func (in *ApplicationTemplate) DeepCopy() *ApplicationTemplate

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

func (*ApplicationTemplate) DeepCopyInto

func (in *ApplicationTemplate) DeepCopyInto(out *ApplicationTemplate)

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

func (*ApplicationTemplate) DeepCopyObject

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

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

type ApplicationTemplateList

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

ApplicationTemplateList contains a list of ApplicationTemplate

func (*ApplicationTemplateList) DeepCopy

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

func (*ApplicationTemplateList) DeepCopyInto

func (in *ApplicationTemplateList) DeepCopyInto(out *ApplicationTemplateList)

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

func (*ApplicationTemplateList) DeepCopyObject

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

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

type ApplicationTemplateSpec

type ApplicationTemplateSpec struct {

	// CandidateTemplate is included ArgoCD Application manifest. (apiVersion, kind, metadata, spec, ...)
	CandidateTemplate string `json:"candidate,omitempty"`

	// StableTemplate is included ArgoCD Application manifest. (apiVersion, kind, metadata, spec, ...)
	StableTemplate string `json:"stable,omitempty"`
}

ApplicationTemplateSpec defines the desired state of ApplicationTemplate

func (*ApplicationTemplateSpec) DeepCopy

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

func (*ApplicationTemplateSpec) DeepCopyInto

func (in *ApplicationTemplateSpec) DeepCopyInto(out *ApplicationTemplateSpec)

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

type JobTemplate added in v0.0.7

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

	Spec JobTemplateSpec `json:"spec,omitempty"`
}

JobTemplate is the Schema for the jobtemplates API

func (*JobTemplate) DeepCopy added in v0.0.7

func (in *JobTemplate) DeepCopy() *JobTemplate

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

func (*JobTemplate) DeepCopyInto added in v0.0.7

func (in *JobTemplate) DeepCopyInto(out *JobTemplate)

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

func (*JobTemplate) DeepCopyObject added in v0.0.7

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

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

type JobTemplateList added in v0.0.7

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

JobTemplateList contains a list of JobTemplate

func (*JobTemplateList) DeepCopy added in v0.0.7

func (in *JobTemplateList) DeepCopy() *JobTemplateList

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

func (*JobTemplateList) DeepCopyInto added in v0.0.7

func (in *JobTemplateList) DeepCopyInto(out *JobTemplateList)

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

func (*JobTemplateList) DeepCopyObject added in v0.0.7

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

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

type JobTemplateSpec added in v0.0.7

type JobTemplateSpec struct {

	// Template is included Job manifest. (apiVersion, kind, metadata, spec, ...)
	Template string `json:"template,omitempty"`
}

JobTemplateSpec defines the desired state of JobTemplate

func (*JobTemplateSpec) DeepCopy added in v0.0.7

func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec

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

func (*JobTemplateSpec) DeepCopyInto added in v0.0.7

func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec)

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

type ManifestsCache added in v0.0.3

type ManifestsCache struct {

	// Application is manifest of ArgoCD Application resource
	Application string `json:"application,omitempty"`

	// Manifests is other manifests
	Manifests map[string]string `json:"manifests,omitempty"`
}

func (*ManifestsCache) DeepCopy added in v0.0.3

func (in *ManifestsCache) DeepCopy() *ManifestsCache

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

func (*ManifestsCache) DeepCopyInto added in v0.0.3

func (in *ManifestsCache) DeepCopyInto(out *ManifestsCache)

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

type ManifestsTemplate

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

	Spec ManifestsTemplateSpec `json:"spec"`
}

ManifestsTemplate is the Schema for the manifeststemplates API

func (*ManifestsTemplate) DeepCopy

func (in *ManifestsTemplate) DeepCopy() *ManifestsTemplate

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

func (*ManifestsTemplate) DeepCopyInto

func (in *ManifestsTemplate) DeepCopyInto(out *ManifestsTemplate)

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

func (*ManifestsTemplate) DeepCopyObject

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

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

type ManifestsTemplateList

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

ManifestsTemplateList contains a list of ManifestsTemplate

func (*ManifestsTemplateList) DeepCopy

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

func (*ManifestsTemplateList) DeepCopyInto

func (in *ManifestsTemplateList) DeepCopyInto(out *ManifestsTemplateList)

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

func (*ManifestsTemplateList) DeepCopyObject

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

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

type ManifestsTemplateSpec

type ManifestsTemplateSpec struct {
	// CandidateData is field that be given various resources' manifest.
	CandidateData map[string]string `json:"candidate,omitempty"`

	// StableData is field that be given various resources' manifest.
	StableData map[string]string `json:"stable,omitempty"`
}

func (*ManifestsTemplateSpec) DeepCopy

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

func (*ManifestsTemplateSpec) DeepCopyInto

func (in *ManifestsTemplateSpec) DeepCopyInto(out *ManifestsTemplateSpec)

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

type NamespacedName

type NamespacedName struct {
	Namespace string `json:"namespace"`
	Name      string `json:"name"`
}

func (*NamespacedName) DeepCopy

func (in *NamespacedName) DeepCopy() *NamespacedName

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

func (*NamespacedName) DeepCopyInto

func (in *NamespacedName) DeepCopyInto(out *NamespacedName)

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

type ReviewApp

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

	Spec   ReviewAppSpec   `json:"spec,omitempty"`
	Status ReviewAppStatus `json:"status,omitempty"`

	Tmp ReviewAppTmp `json:"-"`
}

ReviewApp is the Schema for the reviewapp API

func (*ReviewApp) DeepCopy

func (in *ReviewApp) DeepCopy() *ReviewApp

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

func (*ReviewApp) DeepCopyInto

func (in *ReviewApp) DeepCopyInto(out *ReviewApp)

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

func (*ReviewApp) DeepCopyObject

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

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

type ReviewAppList

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

ReviewAppList contains a list of ReviewApp

func (*ReviewAppList) DeepCopy

func (in *ReviewAppList) DeepCopy() *ReviewAppList

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

func (*ReviewAppList) DeepCopyInto

func (in *ReviewAppList) DeepCopyInto(out *ReviewAppList)

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

func (*ReviewAppList) DeepCopyObject

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

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

type ReviewAppManager

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

	Spec   ReviewAppManagerSpec   `json:"spec,omitempty"`
	Status ReviewAppManagerStatus `json:"status,omitempty"`
}

ReviewAppManager is the Schema for the reviewappmanagers API

func (*ReviewAppManager) DeepCopy

func (in *ReviewAppManager) DeepCopy() *ReviewAppManager

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

func (*ReviewAppManager) DeepCopyInto

func (in *ReviewAppManager) DeepCopyInto(out *ReviewAppManager)

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

func (*ReviewAppManager) DeepCopyObject

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

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

type ReviewAppManagerList

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

ReviewAppManagerList contains a list of ReviewAppManager

func (*ReviewAppManagerList) DeepCopy

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

func (*ReviewAppManagerList) DeepCopyInto

func (in *ReviewAppManagerList) DeepCopyInto(out *ReviewAppManagerList)

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

func (*ReviewAppManagerList) DeepCopyObject

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

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

type ReviewAppManagerSpec

type ReviewAppManagerSpec struct {

	// TODO
	AppTarget ReviewAppManagerSpecAppTarget `json:"appRepoTarget"`

	// TODO
	AppConfig ReviewAppManagerSpecAppConfig `json:"appRepoConfig"`

	// TODO
	InfraTarget ReviewAppManagerSpecInfraTarget `json:"infraRepoTarget"`

	// TODO
	InfraConfig ReviewAppManagerSpecInfraConfig `json:"infraRepoConfig"`

	// PreStopJob is specified JobTemplate that executed at previous of stopped ReviewApp
	PreStopJob NamespacedName `json:"preStopJob,omitempty"`

	// Variables is available to use input of Application & Manifest Template
	Variables []string `json:"variables,omitempty"`
}

ReviewAppManagerSpec defines the desired state of ReviewAppManager

func (*ReviewAppManagerSpec) DeepCopy

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

func (*ReviewAppManagerSpec) DeepCopyInto

func (in *ReviewAppManagerSpec) DeepCopyInto(out *ReviewAppManagerSpec)

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

type ReviewAppManagerSpecAppConfig

type ReviewAppManagerSpecAppConfig struct {

	// Message is output to specified App Repository's PR when reviewapp is synced
	// +optional
	Message string `json:"message,omitempty"`

	// SendMessageEveryTime is flag. Controller send comment to App Repository's PR only first time if flag is false.
	// +kubebuilder:default=false
	// +optional
	SendMessageEveryTime bool `json:"sendMessageEveryTime,omitempty"`
}

func (*ReviewAppManagerSpecAppConfig) DeepCopy

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

func (*ReviewAppManagerSpecAppConfig) DeepCopyInto

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

type ReviewAppManagerSpecAppTarget

type ReviewAppManagerSpecAppTarget struct {

	// TODO
	Organization string `json:"organization"`

	// TODO
	Repository string `json:"repository"`

	// TODO
	Username string `json:"username"`

	// GitSecretRef is specifying secret for accessing Git remote-repo
	GitSecretRef *corev1.SecretKeySelector `json:"gitSecretRef,omitempty"`

	// IgnoreLabels is TODO
	IgnoreLabels []string `json:"ignoreLabels,omitempty"`

	// IgnoreTitleExp is TODO
	IgnoreTitleExp string `json:"ignoreTitleExp,omitempty"`
}

func (*ReviewAppManagerSpecAppTarget) DeepCopy

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

func (*ReviewAppManagerSpecAppTarget) DeepCopyInto

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

type ReviewAppManagerSpecInfraArgoCDApp

type ReviewAppManagerSpecInfraArgoCDApp struct {

	// Template is specifying ApplicationTemplate resources
	Template NamespacedName `json:"template,omitempty"`

	// Filepath is file path of deploying ApplicationTemplate
	// Allow Go-Template notation
	Filepath string `json:"filepath,omitempty"`
}

func (*ReviewAppManagerSpecInfraArgoCDApp) DeepCopy

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

func (*ReviewAppManagerSpecInfraArgoCDApp) DeepCopyInto

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

type ReviewAppManagerSpecInfraConfig

type ReviewAppManagerSpecInfraConfig struct {

	// TODO
	Manifests ReviewAppManagerSpecInfraManifests `json:"manifests,omitempty"`

	// TODO
	ArgoCDApp ReviewAppManagerSpecInfraArgoCDApp `json:"argocdApp,omitempty"`
}

func (*ReviewAppManagerSpecInfraConfig) DeepCopy

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

func (*ReviewAppManagerSpecInfraConfig) DeepCopyInto

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

type ReviewAppManagerSpecInfraManifests

type ReviewAppManagerSpecInfraManifests struct {
	// Templates is specifying list of ManifestTemplate resources
	Templates []NamespacedName `json:"templates,omitempty"`

	// Dirpath is directory path of deploying TemplateManifests
	// Allow Go-Template notation
	Dirpath string `json:"dirpath,omitempty"`
}

func (*ReviewAppManagerSpecInfraManifests) DeepCopy

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

func (*ReviewAppManagerSpecInfraManifests) DeepCopyInto

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

type ReviewAppManagerSpecInfraTarget

type ReviewAppManagerSpecInfraTarget struct {

	// TODO
	Organization string `json:"organization"`

	// TODO
	Repository string `json:"repository"`

	// TODO
	Username string `json:"username"`

	// TODO
	Branch string `json:"branch"`

	// GitSecretRef is specifying secret for accessing Git remote-repo
	GitSecretRef *corev1.SecretKeySelector `json:"gitSecretRef,omitempty"`
}

func (*ReviewAppManagerSpecInfraTarget) DeepCopy

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

func (*ReviewAppManagerSpecInfraTarget) DeepCopyInto

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

type ReviewAppManagerStatus

type ReviewAppManagerStatus struct {

	// TODO
	SyncedPullRequests []ReviewAppManagerStatusSyncedPullRequests `json:"syncedPullRequests,omitempty"`
}

ReviewAppManagerStatus defines the observed state of ReviewAppManager

func (*ReviewAppManagerStatus) DeepCopy

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

func (*ReviewAppManagerStatus) DeepCopyInto

func (in *ReviewAppManagerStatus) DeepCopyInto(out *ReviewAppManagerStatus)

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

type ReviewAppManagerStatusSyncedPullRequests

type ReviewAppManagerStatusSyncedPullRequests struct {

	// TODO
	Organization string `json:"organization,omitempty"`

	// TODO
	Repository string `json:"repository,omitempty"`

	// TODO
	Number int `json:"number,omitempty"`

	// TODO
	ReviewAppName string `json:"reviewAppName,omitempty"`
}

func (*ReviewAppManagerStatusSyncedPullRequests) DeepCopy

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

func (*ReviewAppManagerStatusSyncedPullRequests) DeepCopyInto

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

type ReviewAppSpec

type ReviewAppSpec struct {

	// TODO
	AppTarget ReviewAppManagerSpecAppTarget `json:"appRepoTarget"`

	// TODO
	AppConfig ReviewAppManagerSpecAppConfig `json:"appRepoConfig"`

	// TODO
	InfraTarget ReviewAppManagerSpecInfraTarget `json:"infraRepoTarget"`

	// TODO
	InfraConfig ReviewAppManagerSpecInfraConfig `json:"infraRepoConfig"`

	// PreStopJob is specified JobTemplate that executed at previous of stopped ReviewApp
	PreStopJob NamespacedName `json:"preStopJob,omitempty"`

	// Variables is available to use input of Application & Manifest Template
	Variables []string `json:"variables,omitempty"`

	// AppPrNum is watched PR's number by this RA
	AppPrNum int `json:"appRepoPrNum"`
}

ReviewAppSpec defines the desired state of ReviewApp

func (*ReviewAppSpec) DeepCopy

func (in *ReviewAppSpec) DeepCopy() *ReviewAppSpec

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

func (*ReviewAppSpec) DeepCopyInto

func (in *ReviewAppSpec) DeepCopyInto(out *ReviewAppSpec)

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

type ReviewAppStatus

type ReviewAppStatus struct {
	// TODO
	Sync SyncStatus `json:"sync,omitempty"`

	// ManifestsCache is used in "confirm Templates Are Updated" for confirm templates updated
	ManifestsCache ManifestsCache `json:"manifestsCache,omitempty"`

	// AlreadySentMessage is used to decide sending message to AppRepo's PR when Spec.AppConfig.SendMessageOnlyFirstTime is true.
	AlreadySentMessage bool `json:"alreadySentMessage,omitempty"`
}

ReviewAppStatus defines the observed state of ReviewApp

func (*ReviewAppStatus) DeepCopy

func (in *ReviewAppStatus) DeepCopy() *ReviewAppStatus

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

func (*ReviewAppStatus) DeepCopyInto

func (in *ReviewAppStatus) DeepCopyInto(out *ReviewAppStatus)

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

type ReviewAppTmp added in v0.0.3

type ReviewAppTmp struct {
	PullRequest                ReviewAppTmpPr
	Application                string
	ApplicationWithAnnotations string
	Manifests                  map[string]string
}

func (*ReviewAppTmp) DeepCopy added in v0.0.3

func (in *ReviewAppTmp) DeepCopy() *ReviewAppTmp

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

func (*ReviewAppTmp) DeepCopyInto added in v0.0.3

func (in *ReviewAppTmp) DeepCopyInto(out *ReviewAppTmp)

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

type ReviewAppTmpPr added in v0.0.3

type ReviewAppTmpPr struct {
	Organization  string
	Repository    string
	Branch        string
	Number        int
	HeadCommitSha string
	Title         string
	Labels        []string
}

func (*ReviewAppTmpPr) DeepCopy added in v0.0.3

func (in *ReviewAppTmpPr) DeepCopy() *ReviewAppTmpPr

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

func (*ReviewAppTmpPr) DeepCopyInto added in v0.0.3

func (in *ReviewAppTmpPr) DeepCopyInto(out *ReviewAppTmpPr)

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

type SyncStatus

type SyncStatus struct {

	// Status is the sync state of the comparison
	Status SyncStatusCode `json:"status"`

	// TODO
	ApplicationName string `json:"applicationName,omitempty"`

	// TODO
	ApplicationNamespace string `json:"applicationNamespace,omitempty"`

	// TODO
	AppRepoBranch string `json:"appRepoBranch,omitempty"`

	// TODO
	AppRepoLatestCommitSha string `json:"appRepoLatestCommitSha,omitempty"`

	// TODO
	InfraRepoLatestCommitSha string `json:"infraRepoLatestCommitSha,omitempty"`
}

func (*SyncStatus) DeepCopy

func (in *SyncStatus) DeepCopy() *SyncStatus

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

func (*SyncStatus) DeepCopyInto

func (in *SyncStatus) DeepCopyInto(out *SyncStatus)

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

type SyncStatusCode

type SyncStatusCode string

SyncStatusCode is a type which represents possible comparison results

const (
	// SyncStatusCodeUnknown indicates that the status of a sync could not be reliably determined
	SyncStatusCodeUnknown SyncStatusCode = "Unknown"
	// SyncStatusCodeWatchingAppRepo indicates that TODO
	SyncStatusCodeWatchingAppRepo SyncStatusCode = "WatchingAppRepo"
	// SyncStatusCodeWatchingTemplates indicates that TODO
	SyncStatusCodeWatchingTemplates SyncStatusCode = "WatchingTemplates"
	// SyncStatusCodeNeedToUpdateInfraRepo indicates that watched updated app repo & will update manifests to infra repo
	SyncStatusCodeNeedToUpdateInfraRepo SyncStatusCode = "NeedToUpdateInfraRepo"
	// SyncStatusCodeUpdatedInfraRepo indicates that watched updated manifest repo & wait ArgoCD Application updated
	SyncStatusCodeUpdatedInfraRepo SyncStatusCode = "UpdatedInfraRepo"
)

Possible comparison results

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL