v1alpha1

package
v0.0.0-...-fcef64f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the pipecd v1alpha1 API group +kubebuilder:object:generate=true +groupName=pipecd.kanatakita.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "pipecd.kanatakita.com", 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 AnalysisProviderDatadogConfig

type AnalysisProviderDatadogConfig struct {
	Address string `json:"address"`

	// The path to the api key file.
	APIKeyFile string `json:"apiKeyFile"`

	// The path to the application key file.
	ApplicationKeyFile string `json:"applicationKeyFile"`
}

func (*AnalysisProviderDatadogConfig) DeepCopy

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

func (*AnalysisProviderDatadogConfig) DeepCopyInto

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

type AnalysisProviderPrometheusConfig

type AnalysisProviderPrometheusConfig struct {
	Address string `json:"address"`

	// The path to the username file.
	UsernameFile string `json:"usernameFile"`

	// The path to the password file.
	PasswordFile string `json:"passwordFile"`
}

func (*AnalysisProviderPrometheusConfig) DeepCopy

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

func (*AnalysisProviderPrometheusConfig) DeepCopyInto

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

type AnalysisProviderStackdriverConfig

type AnalysisProviderStackdriverConfig struct {

	// The path to the service account file.
	ServiceAccountFile string `json:"serviceAccountFile"`
}

func (*AnalysisProviderStackdriverConfig) DeepCopy

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

func (*AnalysisProviderStackdriverConfig) DeepCopyInto

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

type Application

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

	Spec   ApplicationSpec   `json:"spec,omitempty"`
	Status ApplicationStatus `json:"status,omitempty"`
}

Application is the Schema for the applications API

func (*Application) DeepCopy

func (in *Application) DeepCopy() *Application

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

func (*Application) DeepCopyInto

func (in *Application) DeepCopyInto(out *Application)

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

func (*Application) DeepCopyObject

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

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

type ApplicationList

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

ApplicationList contains a list of Application

func (*ApplicationList) DeepCopy

func (in *ApplicationList) DeepCopy() *ApplicationList

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

func (*ApplicationList) DeepCopyInto

func (in *ApplicationList) DeepCopyInto(out *ApplicationList)

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

func (*ApplicationList) DeepCopyObject

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

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

type ApplicationSpec

type ApplicationSpec struct {
	Name string `json:"name"`

	ProjectId string `json:"projectID"`

	Kind string `json:"kind"`

	EnvironmentRef EnvironmentRef `json:"environmentRef"`

	PipedRef PipedRef `json:"pipedRef"`

	Repository string `json:"repository"`

	Path string `json:"path"`

	ConfigFilename string `json:"configFilename"`

	CloudProvider string `json:"cloudProvider"`

	Insecure bool `json:"insecure"`
}

ApplicationSpec defines the desired state of Application

func (*ApplicationSpec) DeepCopy

func (in *ApplicationSpec) DeepCopy() *ApplicationSpec

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

func (*ApplicationSpec) DeepCopyInto

func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)

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

type ApplicationStatus

type ApplicationStatus struct {
	ApplicationId string `json:"applicationID"`
}

ApplicationStatus defines the observed state of Application

func (*ApplicationStatus) DeepCopy

func (in *ApplicationStatus) DeepCopy() *ApplicationStatus

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

func (*ApplicationStatus) DeepCopyInto

func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)

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

type CloudProviderCloudRunConfig

type CloudProviderCloudRunConfig struct {

	// The GCP project hosting the CloudRun service.
	Project string `json:"project"`

	// The region of running CloudRun service.
	Region string `json:"region"`

	// The path to the service account file for accessing CloudRun service.
	CredentialsFile string `json:"credentialsFile"`
}

func (*CloudProviderCloudRunConfig) DeepCopy

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

func (*CloudProviderCloudRunConfig) DeepCopyInto

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

type CloudProviderKubernetesConfig

type CloudProviderKubernetesConfig struct {

	// The master URL of the kubernetes cluster.
	// Empty means in-cluster.
	MasterURL string `json:"masterURL"`

	// The path to the kubeconfig file.
	// Empty means in-cluster.
	KubeConfigPath string `json:"kubeConfigPath"`

	// Configuration for application resource informer.
	AppStateInformer KubernetesAppStateInformer `json:"appStateInformer"`
}

func (*CloudProviderKubernetesConfig) DeepCopy

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

func (*CloudProviderKubernetesConfig) DeepCopyInto

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

type CloudProviderLambdaConfig

type CloudProviderLambdaConfig struct {
	Region string `json:"region"`
}

func (*CloudProviderLambdaConfig) DeepCopy

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

func (*CloudProviderLambdaConfig) DeepCopyInto

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

type CloudProviderTerraformConfig

type CloudProviderTerraformConfig struct {

	// List of variables that will be set directly on terraform commands with "-var" flag.
	// The variable must be formatted by "key=value" as below:
	// "image_id=ami-abc123"
	// 'image_id_list=["ami-abc123","ami-def456"]'
	// 'image_id_map={"us-east-1":"ami-abc123","us-east-2":"ami-def456"}'
	Vars []string `json:"vars"`
}

func (*CloudProviderTerraformConfig) DeepCopy

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

func (*CloudProviderTerraformConfig) DeepCopyInto

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

type ControlPlane

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

	Spec   ControlPlaneSpec   `json:"spec,omitempty"`
	Status ControlPlaneStatus `json:"status,omitempty"`
}

ControlPlane is the Schema for the controlplanes API

func (*ControlPlane) DeepCopy

func (in *ControlPlane) DeepCopy() *ControlPlane

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

func (*ControlPlane) DeepCopyInto

func (in *ControlPlane) DeepCopyInto(out *ControlPlane)

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

func (*ControlPlane) DeepCopyObject

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

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

type ControlPlaneCache

type ControlPlaneCache struct {
	TTL int64 `json:"ttl"`
}

func (*ControlPlaneCache) DeepCopy

func (in *ControlPlaneCache) DeepCopy() *ControlPlaneCache

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

func (*ControlPlaneCache) DeepCopyInto

func (in *ControlPlaneCache) DeepCopyInto(out *ControlPlaneCache)

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

type ControlPlaneConfig

type ControlPlaneConfig struct {
	Kind       string                 `json:"kind"`
	APIVersion string                 `json:"apiversion"`
	Spec       ControlPlaneConfigSpec `json:"spec"`
}

func (*ControlPlaneConfig) DeepCopy

func (in *ControlPlaneConfig) DeepCopy() *ControlPlaneConfig

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

func (*ControlPlaneConfig) DeepCopyInto

func (in *ControlPlaneConfig) DeepCopyInto(out *ControlPlaneConfig)

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

type ControlPlaneConfigSpec

type ControlPlaneConfigSpec struct {

	// The address to the control plane.
	// This is required if SSO is enabled.
	Address string `json:"address,omitempty"`

	// A randomly generated string used to sign oauth state.
	StateKey string `json:"stateKey,omitempty"`

	// The configuration of datastore for control plane
	Datastore ControlPlaneDataStore `json:"datastore,omitempty"`

	// The configuration of filestore for control plane.
	Filestore ControlPlaneFileStore `json:"filestore,omitempty"`

	// The configuration of cache for control plane.
	Cache ControlPlaneCache `json:"cache,omitempty"`

	// List of debugging/quickstart projects defined in Control Plane configuration.
	// Please note that do not use this to configure the projects running in the production.
	Projects []ControlPlaneProject `json:"projects,omitempty"`

	// List of shared SSO configurations that can be used by any projects.
	SharedSSOConfigs []SharedSSOConfig `json:"sharedSSOConfigs,omitempty"`
}

func (*ControlPlaneConfigSpec) DeepCopy

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

func (*ControlPlaneConfigSpec) DeepCopyInto

func (in *ControlPlaneConfigSpec) DeepCopyInto(out *ControlPlaneConfigSpec)

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

type ControlPlaneDataStore

type ControlPlaneDataStore struct {

	// The configuration in the case of Cloud Firestore.
	FirestoreConfig *DataStoreFireStoreConfig `json:"firestoreConfig"`

	// The configuration in the case of Amazon DynamoDB.
	DynamoDBConfig *DataStoreDynamoDBConfig `json:"dynamoDbConfig"`

	// The configuration in the case of general MongoDB.
	MongoDBConfig *DataStoreMongoDBConfig `json:"mongoDBConfig"`
}

func (*ControlPlaneDataStore) DeepCopy

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

func (*ControlPlaneDataStore) DeepCopyInto

func (in *ControlPlaneDataStore) DeepCopyInto(out *ControlPlaneDataStore)

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

func (*ControlPlaneDataStore) MarshalJSON

func (d *ControlPlaneDataStore) MarshalJSON() ([]byte, error)

type ControlPlaneDataStoreType

type ControlPlaneDataStoreType string
const (
	ControlPlaneDataStoreTypeFirestore ControlPlaneDataStoreType = "FILESTORE"
	ControlPlaneDataStoreTypeDynamoDB  ControlPlaneDataStoreType = "DYNAMODB"
	ControlPlaneDataStoreTypeMongoDB   ControlPlaneDataStoreType = "MONGODB"
)

type ControlPlaneFileStore

type ControlPlaneFileStore struct {

	// The configuration in the case of Google Cloud Storage.
	GCSConfig *FileStoreGCSConfig `json:"gcsConfig"`

	// The configuration in the case of Amazon S3.
	S3Config *FileStoreS3Config `json:"s3Config"`

	// The configuration in the case of Minio.
	MinioConfig *FileStoreMinioConfig `json:"minioConfig"`
}

func (*ControlPlaneFileStore) DeepCopy

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

func (*ControlPlaneFileStore) DeepCopyInto

func (in *ControlPlaneFileStore) DeepCopyInto(out *ControlPlaneFileStore)

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

func (*ControlPlaneFileStore) MarshalJSON

func (f *ControlPlaneFileStore) MarshalJSON() ([]byte, error)

type ControlPlaneFileStoreType

type ControlPlaneFileStoreType string
const (
	ControlPlaneFileStoreTypeGCS   ControlPlaneFileStoreType = "GCS"
	ControlPlaneFileStoreTypeS3    ControlPlaneFileStoreType = "S3"
	ControlPlaneFileStoreTypeMinio ControlPlaneFileStoreType = "MINIO"
)

type ControlPlaneList

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

ControlPlaneList contains a list of ControlPlane

func (*ControlPlaneList) DeepCopy

func (in *ControlPlaneList) DeepCopy() *ControlPlaneList

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

func (*ControlPlaneList) DeepCopyInto

func (in *ControlPlaneList) DeepCopyInto(out *ControlPlaneList)

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

func (*ControlPlaneList) DeepCopyObject

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

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

type ControlPlaneProject

type ControlPlaneProject struct {

	// The unique identifier of the project.
	Id string `json:"id"`

	// The description about the project.
	Desc string `json:"desc"`

	// Static admin account of the project.
	StaticAdmin ProjectStaticUser `json:"staticAdmin"`
}

func (*ControlPlaneProject) DeepCopy

func (in *ControlPlaneProject) DeepCopy() *ControlPlaneProject

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

func (*ControlPlaneProject) DeepCopyInto

func (in *ControlPlaneProject) DeepCopyInto(out *ControlPlaneProject)

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

type ControlPlaneSpec

type ControlPlaneSpec struct {

	// number of replicas of gateway
	ReplicasGateway *int32 `json:"replicasGateway,omitempty"`

	// number of replicas of server
	ReplicasServer *int32 `json:"replicasServer,omitempty"`

	// number of replicas of cache
	ReplicasCache *int32 `json:"replicasCache,omitempty"`

	// number of replicas of ops
	ReplicasOps *int32 `json:"replicasOps,omitempty"`

	// version of gcr.io/pipecd/api & gcr.io/pipecd/web & gcr.io/pipecd/ops
	Version string `json:"version"`

	// version of github.com/envoyproxy/envoy
	EnvoyVersion string `json:"envoyVersion"`

	// version of docker.io/redis
	RedisVersion string `json:"redisVersion"`

	// secret for PipeCD EncryptionKey & Minio AccessKey and SecretKey
	VolumeMounts []EmbeddedVolumeMount `json:"volumeMounts"`

	// Config is ControlPlane configuration of PipeCD
	Config ControlPlaneConfigSpec `json:"config"`
}

ControlPlaneSpec defines all configuration for all control-plane components.

func (*ControlPlaneSpec) DeepCopy

func (in *ControlPlaneSpec) DeepCopy() *ControlPlaneSpec

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

func (*ControlPlaneSpec) DeepCopyInto

func (in *ControlPlaneSpec) DeepCopyInto(out *ControlPlaneSpec)

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

type ControlPlaneStatus

type ControlPlaneStatus struct {

	// this is equal deployment.status.availableReplicas of gateway
	AvailableGatewayReplicas int32 `json:"availableGatewayReplicas"`

	// this is equal deployment.status.availableReplicas of server
	AvailableServerReplicas int32 `json:"availableServerReplicas"`

	// this is equal deployment.status.availableReplicas of cache
	AvailableCacheReplicas int32 `json:"availableCacheReplicas"`

	// this is equal deployment.status.availableReplicas of ops
	AvailableOpsReplicas int32 `json:"availableOpsReplicas"`
}

ControlPlaneStatus defines the observed state of ControlPlane

func (*ControlPlaneStatus) DeepCopy

func (in *ControlPlaneStatus) DeepCopy() *ControlPlaneStatus

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

func (*ControlPlaneStatus) DeepCopyInto

func (in *ControlPlaneStatus) DeepCopyInto(out *ControlPlaneStatus)

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

type DataStoreDynamoDBConfig

type DataStoreDynamoDBConfig struct {
}

TBD

func (*DataStoreDynamoDBConfig) DeepCopy

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

func (*DataStoreDynamoDBConfig) DeepCopyInto

func (in *DataStoreDynamoDBConfig) DeepCopyInto(out *DataStoreDynamoDBConfig)

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

type DataStoreFireStoreConfig

type DataStoreFireStoreConfig struct {
}

TBD

func (*DataStoreFireStoreConfig) DeepCopy

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

func (*DataStoreFireStoreConfig) DeepCopyInto

func (in *DataStoreFireStoreConfig) DeepCopyInto(out *DataStoreFireStoreConfig)

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

type DataStoreMongoDBConfig

type DataStoreMongoDBConfig struct {

	// The url of MongoDB. All of credentials can be specified via this field.
	URL string `json:"url"`

	// The name of the database.
	Database string `json:"database"`

	// The path to the username file.
	// For those who don't want to include the username in the URL.
	UsernameFile string `json:"usernameFile"`

	// The path to the password file.
	// For those who don't want to include the password in the URL.
	PasswordFile string `json:"passwordFile"`
}

func (*DataStoreMongoDBConfig) DeepCopy

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

func (*DataStoreMongoDBConfig) DeepCopyInto

func (in *DataStoreMongoDBConfig) DeepCopyInto(out *DataStoreMongoDBConfig)

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

type EmbeddedPersistentVolumeClaim

type EmbeddedPersistentVolumeClaim struct {
	metav1.TypeMeta `json:",inline"`

	// Spec defines the desired characteristics of a volume requested by a pod author.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	Spec v1.PersistentVolumeClaimSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

EmbeddedPersistentVolumeClaim is an embedded version of k8s.io/api/core/v1.PersistentVolumeClaim. It contains TypeMeta and a reduced ObjectMeta.

func (*EmbeddedPersistentVolumeClaim) DeepCopy

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

func (*EmbeddedPersistentVolumeClaim) DeepCopyInto

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

type EmbeddedVolumeMount

type EmbeddedVolumeMount struct {
	MountPath string `json:"mountPath"`

	Volume v1.Volume `json:"volume"`

	ReadOnly bool `json:"readOnly"`

	SubPath string `json:"subPath"`

	SubPathExpr string `json:"subPathExpr"`
}

func (*EmbeddedVolumeMount) DeepCopy

func (in *EmbeddedVolumeMount) DeepCopy() *EmbeddedVolumeMount

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

func (*EmbeddedVolumeMount) DeepCopyInto

func (in *EmbeddedVolumeMount) DeepCopyInto(out *EmbeddedVolumeMount)

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

type Environment

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

	Spec   EnvironmentSpec   `json:"spec,omitempty"`
	Status EnvironmentStatus `json:"status,omitempty"`
}

Environment is the Schema for the environments API

func (*Environment) DeepCopy

func (in *Environment) DeepCopy() *Environment

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

func (*Environment) DeepCopyInto

func (in *Environment) DeepCopyInto(out *Environment)

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

func (*Environment) DeepCopyObject

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

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

type EnvironmentList

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

EnvironmentList contains a list of Environment

func (*EnvironmentList) DeepCopy

func (in *EnvironmentList) DeepCopy() *EnvironmentList

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

func (*EnvironmentList) DeepCopyInto

func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)

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

func (*EnvironmentList) DeepCopyObject

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

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

type EnvironmentRef

type EnvironmentRef struct {
	ObjectName string `json:"objectName"`
	Name       string `json:"name"`
}

func (*EnvironmentRef) DeepCopy

func (in *EnvironmentRef) DeepCopy() *EnvironmentRef

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

func (*EnvironmentRef) DeepCopyInto

func (in *EnvironmentRef) DeepCopyInto(out *EnvironmentRef)

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

type EnvironmentSpec

type EnvironmentSpec struct {
	Name string `json:"name"`

	Description string `json:"description"`

	ProjectId string `json:"projectID"`

	Insecure bool `json:"insecure"`
}

EnvironmentSpec defines the desired state of Environment

func (*EnvironmentSpec) DeepCopy

func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec

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

func (*EnvironmentSpec) DeepCopyInto

func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)

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

type EnvironmentStatus

type EnvironmentStatus struct {
	EnvironmentId string `json:"environmentID"`
}

EnvironmentStatus defines the observed state of Environment

func (*EnvironmentStatus) DeepCopy

func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus

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

func (*EnvironmentStatus) DeepCopyInto

func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)

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

type FileStoreGCSConfig

type FileStoreGCSConfig struct {
}

TBD

func (*FileStoreGCSConfig) DeepCopy

func (in *FileStoreGCSConfig) DeepCopy() *FileStoreGCSConfig

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

func (*FileStoreGCSConfig) DeepCopyInto

func (in *FileStoreGCSConfig) DeepCopyInto(out *FileStoreGCSConfig)

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

type FileStoreMinioConfig

type FileStoreMinioConfig struct {

	// The address of Minio.
	Endpoint string `json:"endpoint"`

	// The bucket name to store.
	Bucket string `json:"bucket"`

	// The path to the access key file.
	AccessKeyFile string `json:"accessKeyFile"`

	// The path to the secret key file.
	SecretKeyFile string `json:"secretKeyFile"`

	// Whether the given bucket should be made automatically if not exists.
	AutoCreateBucket bool `json:"autoCreateBucket"`
}

func (*FileStoreMinioConfig) DeepCopy

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

func (*FileStoreMinioConfig) DeepCopyInto

func (in *FileStoreMinioConfig) DeepCopyInto(out *FileStoreMinioConfig)

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

type FileStoreS3Config

type FileStoreS3Config struct {
}

TBD

func (*FileStoreS3Config) DeepCopy

func (in *FileStoreS3Config) DeepCopy() *FileStoreS3Config

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

func (*FileStoreS3Config) DeepCopyInto

func (in *FileStoreS3Config) DeepCopyInto(out *FileStoreS3Config)

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

type HelmChartRepository

type HelmChartRepository struct {

	// The name of the Helm chart repository.
	Name string `json:"name"`

	// The address to the Helm chart repository.
	Address string `json:"address"`

	// Username used for the repository backed by HTTP basic authentication.
	Username string `json:"username"`

	// Password used for the repository backed by HTTP basic authentication.
	Password string `json:"password"`
}

func (*HelmChartRepository) DeepCopy

func (in *HelmChartRepository) DeepCopy() *HelmChartRepository

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

func (*HelmChartRepository) DeepCopyInto

func (in *HelmChartRepository) DeepCopyInto(out *HelmChartRepository)

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

type KubernetesAppStateInformer

type KubernetesAppStateInformer struct {

	// Only watches the specified namespace.
	// Empty means watching all namespaces.
	Namespace string `json:"namespace"`

	// List of resources that should be added to the watching targets.
	IncludeResources []KubernetesResourceMatcher `json:"includeResources"`

	// List of resources that should be ignored from the watching targets.
	ExcludeResources []KubernetesResourceMatcher `json:"excludeResources"`
}

func (*KubernetesAppStateInformer) DeepCopy

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

func (*KubernetesAppStateInformer) DeepCopyInto

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

type KubernetesResourceMatcher

type KubernetesResourceMatcher struct {

	// The APIVersion of the kubernetes resource.
	APIVersion string `json:"apiVersion"`

	// The kind name of the kubernetes resource.
	// Empty means all kinds are matching.
	Kind string `json:"kind"`
}

func (*KubernetesResourceMatcher) DeepCopy

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

func (*KubernetesResourceMatcher) DeepCopyInto

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

type Minio

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

	Spec   MinioSpec   `json:"spec,omitempty"`
	Status MinioStatus `json:"status,omitempty"`
}

Minio is the Schema for the minios API

func (*Minio) DeepCopy

func (in *Minio) DeepCopy() *Minio

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

func (*Minio) DeepCopyInto

func (in *Minio) DeepCopyInto(out *Minio)

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

func (*Minio) DeepCopyObject

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

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

type MinioList

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

MinioList contains a list of Minio

func (*MinioList) DeepCopy

func (in *MinioList) DeepCopy() *MinioList

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

func (*MinioList) DeepCopyInto

func (in *MinioList) DeepCopyInto(out *MinioList)

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

func (*MinioList) DeepCopyObject

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

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

type MinioSpec

type MinioSpec struct {

	// number of replicas
	Replicas *int32 `json:"replicas,omitempty"`

	// version of docker.io/minio/minio
	Version string `json:"version"`

	// secret for PipeCD EncryptionKey & Minio AccessKey and SecretKey
	Secret *v1.SecretVolumeSource `json:"secret"`

	// Storage spec to specify how storage shall be used.
	// Reference of https://github.com/prometheus-operator/prometheus-operator
	Storage *StorageSpec `json:"storage,omitempty"`
}

MinioSpec defines the desired state of Minio

func (*MinioSpec) DeepCopy

func (in *MinioSpec) DeepCopy() *MinioSpec

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

func (*MinioSpec) DeepCopyInto

func (in *MinioSpec) DeepCopyInto(out *MinioSpec)

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

type MinioStatus

type MinioStatus struct {
	// this is equal deployment.status.availableReplicas of mongodb
	AvailableReplicas int32 `json:"availableReplicas"`
}

MinioStatus defines the observed state of Minio

func (*MinioStatus) DeepCopy

func (in *MinioStatus) DeepCopy() *MinioStatus

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

func (*MinioStatus) DeepCopyInto

func (in *MinioStatus) DeepCopyInto(out *MinioStatus)

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

type Mongo

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

	Spec   MongoSpec   `json:"spec,omitempty"`
	Status MongoStatus `json:"status,omitempty"`
}

Mongo is the Schema for the mongoes API

func (*Mongo) DeepCopy

func (in *Mongo) DeepCopy() *Mongo

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

func (*Mongo) DeepCopyInto

func (in *Mongo) DeepCopyInto(out *Mongo)

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

func (*Mongo) DeepCopyObject

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

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

type MongoList

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

MongoList contains a list of Mongo

func (*MongoList) DeepCopy

func (in *MongoList) DeepCopy() *MongoList

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

func (*MongoList) DeepCopyInto

func (in *MongoList) DeepCopyInto(out *MongoList)

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

func (*MongoList) DeepCopyObject

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

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

type MongoSpec

type MongoSpec struct {

	// number of replicas
	Replicas *int32 `json:"replicas,omitempty"`

	// version of docker.io/mongo
	Version string `json:"version"`

	// Storage spec to specify how storage shall be used.
	// Reference of https://github.com/prometheus-operator/prometheus-operator
	Storage *StorageSpec `json:"storage,omitempty"`
}

MongoSpec defines the desired state of Mongo

func (*MongoSpec) DeepCopy

func (in *MongoSpec) DeepCopy() *MongoSpec

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

func (*MongoSpec) DeepCopyInto

func (in *MongoSpec) DeepCopyInto(out *MongoSpec)

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

type MongoStatus

type MongoStatus struct {
	// this is equal deployment.status.availableReplicas of mongodb
	AvailableReplicas int32 `json:"availableReplicas"`
}

MongoStatus defines the observed state of Mongo

func (*MongoStatus) DeepCopy

func (in *MongoStatus) DeepCopy() *MongoStatus

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

func (*MongoStatus) DeepCopyInto

func (in *MongoStatus) DeepCopyInto(out *MongoStatus)

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

type NotificationReceiver

type NotificationReceiver struct {

	// The name of the receiver.
	Name string `json:"name"`

	// Configuration for slack receiver.
	Slack *NotificationReceiverSlack `json:"slack"`

	// Configuration for webhook receiver.
	Webhook *NotificationReceiverWebhook `json:"webhook"`
}

func (*NotificationReceiver) DeepCopy

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

func (*NotificationReceiver) DeepCopyInto

func (in *NotificationReceiver) DeepCopyInto(out *NotificationReceiver)

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

type NotificationReceiverSlack

type NotificationReceiverSlack struct {

	// The hookURL of a slack channel.
	HookURL string `json:"hookURL"`
}

func (*NotificationReceiverSlack) DeepCopy

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

func (*NotificationReceiverSlack) DeepCopyInto

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

type NotificationReceiverWebhook

type NotificationReceiverWebhook struct {
	URL string `json:"url"`
}

func (*NotificationReceiverWebhook) DeepCopy

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

func (*NotificationReceiverWebhook) DeepCopyInto

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

type NotificationRoute

type NotificationRoute struct {

	// The name of the route.
	Name string `json:"name"`

	// The name of receiver who will receive all matched events.
	Receiver string `json:"receiver"`

	// List of events that should be routed to the receiver.
	Events []string `json:"events"`

	// List of events that should be ignored.
	IgnoreEvents []string `json:"ignoreEvents"`

	// List of event groups should be routed to the receiver.
	Groups []string `json:"groups"`

	// List of event groups should be ignored.
	IgnoreGroups []string `json:"ignoreGroups"`

	// List of applications where their events should be routed to the receiver.
	Apps []string `json:"apps"`

	// List of applications where their events should be ignored.
	IgnoreApps []string `json:"ignoreApps"`

	// List of environments where their events should be routed to the receiver.
	Envs []string `json:"envs"`

	// List of environments where their events should be ignored.
	IgnoreEnvs []string `json:"ignoreEnvs"`
}

func (*NotificationRoute) DeepCopy

func (in *NotificationRoute) DeepCopy() *NotificationRoute

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

func (*NotificationRoute) DeepCopyInto

func (in *NotificationRoute) DeepCopyInto(out *NotificationRoute)

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

type Notifications

type Notifications struct {

	// List of notification routes.
	Routes []NotificationRoute `json:"routes,omitempty"`

	// List of notification receivers.
	Receivers []NotificationReceiver `json:"receivers,omitempty"`
}

func (*Notifications) DeepCopy

func (in *Notifications) DeepCopy() *Notifications

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

func (*Notifications) DeepCopyInto

func (in *Notifications) DeepCopyInto(out *Notifications)

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

type Piped

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

	Spec   PipedSpec   `json:"spec,omitempty"`
	Status PipedStatus `json:"status,omitempty"`
}

Piped is the Schema for the pipeds API

func (*Piped) DeepCopy

func (in *Piped) DeepCopy() *Piped

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

func (*Piped) DeepCopyInto

func (in *Piped) DeepCopyInto(out *Piped)

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

func (*Piped) DeepCopyObject

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

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

type PipedAnalysisProvider

type PipedAnalysisProvider struct {

	// The name of the analysis provider.
	Name string `json:"name"`

	// Config of Prometheus
	PrometheusConfig *AnalysisProviderPrometheusConfig `json:"prometheus"`

	// Config of Datadog
	DatadogConfig *AnalysisProviderDatadogConfig `json:"datadog"`

	// Config of Stackdriver
	StackdriverConfig *AnalysisProviderStackdriverConfig `json:"stackdriver"`
}

func (*PipedAnalysisProvider) DeepCopy

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

func (*PipedAnalysisProvider) DeepCopyInto

func (in *PipedAnalysisProvider) DeepCopyInto(out *PipedAnalysisProvider)

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

func (*PipedAnalysisProvider) MarshalJSON

func (p *PipedAnalysisProvider) MarshalJSON() ([]byte, error)

type PipedAnalysisProviderType

type PipedAnalysisProviderType string
const (
	PipedAnalysisProviderTypePrometheus  PipedAnalysisProviderType = "PROMETHEUS"
	PipedAnalysisProviderTypeDatadog     PipedAnalysisProviderType = "DATADOG"
	PipedAnalysisProviderTypeStackdriver PipedAnalysisProviderType = "STACKDRIVER"
)

type PipedCloudProvider

type PipedCloudProvider struct {

	// The name of the cloud provider.
	Name string `json:"name"`

	// config of Kubernetes
	KubernetesConfig *CloudProviderKubernetesConfig `json:"kubernetesConfig"`

	// config of Terraform
	TerraformConfig *CloudProviderTerraformConfig `json:"terraformConfig"`

	// config of CloudRun
	CloudRunConfig *CloudProviderCloudRunConfig `json:"cloudRunConfig"`

	// config of Lambda
	LambdaConfig *CloudProviderLambdaConfig `json:"lambdaConfig"`
}

func (*PipedCloudProvider) DeepCopy

func (in *PipedCloudProvider) DeepCopy() *PipedCloudProvider

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

func (*PipedCloudProvider) DeepCopyInto

func (in *PipedCloudProvider) DeepCopyInto(out *PipedCloudProvider)

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

func (*PipedCloudProvider) MarshalJSON

func (p *PipedCloudProvider) MarshalJSON() ([]byte, error)

type PipedCloudProviderType

type PipedCloudProviderType string
const (
	PipedCloudProviderTypeKubernetes PipedCloudProviderType = "KUBERNETES"
	PipedCloudProviderTypeTerraform  PipedCloudProviderType = "TERRAFORM"
	PipedCloudProviderTypeCloudRun   PipedCloudProviderType = "CLOUDRUN"
	PipedCloudProviderTypeLambda     PipedCloudProviderType = "LAMBDA"
)

type PipedConfig

type PipedConfig struct {
	Kind       string          `json:"kind"`
	APIVersion string          `json:"apiversion"`
	Spec       PipedConfigSpec `json:"spec"`
}

func (*PipedConfig) DeepCopy

func (in *PipedConfig) DeepCopy() *PipedConfig

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

func (*PipedConfig) DeepCopyInto

func (in *PipedConfig) DeepCopyInto(out *PipedConfig)

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

type PipedConfigSpec

type PipedConfigSpec struct {

	// The identifier of the PipeCD project where this piped belongs to.
	ProjectID string `json:"projectID"`

	// The generated ID for this piped.
	PipedID string `json:"pipedID"`

	// The path to the file containing the generated Key string for this piped.
	PipedKeyFile string `json:"pipedKeyFile"`

	// The address used to connect to the control-plane's API.
	APIAddress string `json:"apiAddress"`

	// The address to the control-plane's Web.
	WebAddress string `json:"webAddress"`

	// How often to check whether an application should be synced.
	// Default is 1m.
	SyncInterval int64 `json:"syncInterval"`

	// Git configuration needed for git commands.
	Git PipedGit `json:"git,omitempty"`

	// List of git repositories this piped will handle.
	Repositories []PipedRepository `json:"repositories"`

	// List of helm chart repositories that should be added while starting up.
	ChartRepositories []HelmChartRepository `json:"chartRepositories,omitempty"`

	// List of cloud providers can be used by this piped.
	CloudProviders []PipedCloudProvider `json:"cloudProviders,omitempty"`

	// List of analysis providers can be used by this piped.
	AnalysisProviders []PipedAnalysisProvider `json:"analysisProviders,omitempty"`

	// Sending notification to Slack, Webhook…
	Notifications Notifications `json:"notifications"`
}

func (*PipedConfigSpec) DeepCopy

func (in *PipedConfigSpec) DeepCopy() *PipedConfigSpec

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

func (*PipedConfigSpec) DeepCopyInto

func (in *PipedConfigSpec) DeepCopyInto(out *PipedConfigSpec)

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

type PipedGit

type PipedGit struct {

	// The username that will be configured for `git` user.
	Username string `json:"username,omitempty"`

	// The email that will be configured for `git` user.
	Email string `json:"email,omitempty"`

	// Where to write ssh config file.
	// Default is "/home/pipecd/.ssh/config".
	SSHConfigFilePath string `json:"sshConfigFilePath,omitempty"`

	// The host name.
	// e.g. github.com, gitlab.com
	// Default is "github.com".
	Host string `json:"host,omitempty"`

	// The hostname or IP address of the remote git server.
	// e.g. github.com, gitlab.com
	// Default is the same value with Host.
	HostName string `json:"hostName,omitempty"`

	// The path to the private ssh key file.
	// This will be used to clone the source code of the specified git repositories.
	SSHKeyFile string `json:"sshKeyFile,omitempty"`
}

func (*PipedGit) DeepCopy

func (in *PipedGit) DeepCopy() *PipedGit

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

func (*PipedGit) DeepCopyInto

func (in *PipedGit) DeepCopyInto(out *PipedGit)

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

type PipedList

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

PipedList contains a list of Piped

func (*PipedList) DeepCopy

func (in *PipedList) DeepCopy() *PipedList

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

func (*PipedList) DeepCopyInto

func (in *PipedList) DeepCopyInto(out *PipedList)

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

func (*PipedList) DeepCopyObject

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

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

type PipedRef

type PipedRef struct {
	ObjectName string `json:"objectName"`
	Name       string `json:"name"`
}

func (*PipedRef) DeepCopy

func (in *PipedRef) DeepCopy() *PipedRef

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

func (*PipedRef) DeepCopyInto

func (in *PipedRef) DeepCopyInto(out *PipedRef)

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

type PipedRepository

type PipedRepository struct {

	// Unique identifier for this repository.
	// This must be unique in the piped scope.
	RepoID string `json:"repoId"`

	// Remote address of the repository used to clone the source code.
	// e.g. [email protected]:org/repo.git
	Remote string `json:"remote"`

	// The branch will be handled.
	Branch string `json:"branch"`
}

func (*PipedRepository) DeepCopy

func (in *PipedRepository) DeepCopy() *PipedRepository

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

func (*PipedRepository) DeepCopyInto

func (in *PipedRepository) DeepCopyInto(out *PipedRepository)

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

type PipedSpec

type PipedSpec struct {
	Version string `json:"version"`

	Name string `json:"name"`

	Description string `json:"description"`

	ProjectId string `json:"projectID"`

	EnvironmentRef EnvironmentRef `json:"environmentRef"`

	Insecure bool `json:"insecure"`

	// Config is Piped configuration of PipeCD
	Config PipedConfigSpec `json:"config"`
}

PipedSpec defines the desired state of Piped

func (*PipedSpec) DeepCopy

func (in *PipedSpec) DeepCopy() *PipedSpec

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

func (*PipedSpec) DeepCopyInto

func (in *PipedSpec) DeepCopyInto(out *PipedSpec)

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

type PipedStatus

type PipedStatus struct {

	// this is equal deployment.status.availableReplicas of piped
	AvailableReplicas int32 `json:"availableReplicas"`

	// Environment ID
	EnvironmentIds string `json:"environmentID"`

	// Piped ID
	PipedId string `json:"pipedID"`
}

PipedStatus defines the observed state of Piped

func (*PipedStatus) DeepCopy

func (in *PipedStatus) DeepCopy() *PipedStatus

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

func (*PipedStatus) DeepCopyInto

func (in *PipedStatus) DeepCopyInto(out *PipedStatus)

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

type ProjectStaticUser

type ProjectStaticUser struct {

	// The username string.
	Username string `json:"username"`

	// The bcrypt hashsed value of the password string.
	PasswordHash string `json:"passwordHash"`
}

func (*ProjectStaticUser) DeepCopy

func (in *ProjectStaticUser) DeepCopy() *ProjectStaticUser

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

func (*ProjectStaticUser) DeepCopyInto

func (in *ProjectStaticUser) DeepCopyInto(out *ProjectStaticUser)

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

type SSOConfigGitHub

type SSOConfigGitHub struct {
	ClientId string `json:"clientId"`

	ClientSecret string `json:"clientSecret"`

	BaseUrl string `json:"baseUrl"`

	UploadUrl string `json:"uploadUrl"`
}

func (*SSOConfigGitHub) DeepCopy

func (in *SSOConfigGitHub) DeepCopy() *SSOConfigGitHub

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

func (*SSOConfigGitHub) DeepCopyInto

func (in *SSOConfigGitHub) DeepCopyInto(out *SSOConfigGitHub)

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

type SSOConfigGoogle

type SSOConfigGoogle struct {
	ClientId string `json:"clientId"`

	ClientSecret string `json:"clientSecret"`
}

func (*SSOConfigGoogle) DeepCopy

func (in *SSOConfigGoogle) DeepCopy() *SSOConfigGoogle

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

func (*SSOConfigGoogle) DeepCopyInto

func (in *SSOConfigGoogle) DeepCopyInto(out *SSOConfigGoogle)

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

type SharedSSOConfig

type SharedSSOConfig struct {
	Name   string          `json:"name"`
	GitHub SSOConfigGitHub `json:"github"`
	Google SSOConfigGoogle `json:"google"`
}

func (*SharedSSOConfig) DeepCopy

func (in *SharedSSOConfig) DeepCopy() *SharedSSOConfig

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

func (*SharedSSOConfig) DeepCopyInto

func (in *SharedSSOConfig) DeepCopyInto(out *SharedSSOConfig)

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

type StorageSpec

type StorageSpec struct {
	// EmptyDirVolumeSource to be used by the Prometheus StatefulSets. If specified, used in place of any volumeClaimTemplate. More
	// info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
	EmptyDir *v1.EmptyDirVolumeSource `json:"emptyDir,omitempty"`

	// A PVC spec to be used by the Prometheus StatefulSets.
	VolumeClaimTemplate *EmbeddedPersistentVolumeClaim `json:"volumeClaimTemplate,omitempty"`
}

StorageSpec defines the configured storage for a group Mogno servers. If neither `emptyDir` nor `volumeClaimTemplate` is specified, then by default an [EmptyDir](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) will be used.

func (*StorageSpec) DeepCopy

func (in *StorageSpec) DeepCopy() *StorageSpec

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

func (*StorageSpec) DeepCopyInto

func (in *StorageSpec) DeepCopyInto(out *StorageSpec)

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
JackTT - Gopher 🇻🇳