v1alpha1

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Overview

+groupName=app.digitalocean.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: app.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type App

type App struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AppSpec   `json:"spec,omitempty"`
	Status            AppStatus `json:"status,omitempty"`
}

func (*App) DeepCopy

func (in *App) DeepCopy() *App

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

func (*App) DeepCopyInto

func (in *App) DeepCopyInto(out *App)

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

func (*App) DeepCopyObject

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

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

func (*App) SetupWebhookWithManager

func (r *App) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*App) ValidateCreate

func (r *App) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*App) ValidateDelete

func (r *App) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*App) ValidateUpdate

func (r *App) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AppList

type AppList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of App CRD objects
	Items []App `json:"items,omitempty"`
}

AppList is a list of Apps

func (*AppList) DeepCopy

func (in *AppList) DeepCopy() *AppList

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

func (*AppList) DeepCopyInto

func (in *AppList) DeepCopyInto(out *AppList)

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

func (*AppList) DeepCopyObject

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

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

type AppSpec

type AppSpec struct {
	State *AppSpecResource `json:"state,omitempty" tf:"-"`

	Resource AppSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*AppSpec) DeepCopy

func (in *AppSpec) DeepCopy() *AppSpec

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

func (*AppSpec) DeepCopyInto

func (in *AppSpec) DeepCopyInto(out *AppSpec)

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

type AppSpecResource

type AppSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// The ID the App's currently active deployment
	// +optional
	ActiveDeploymentID *string `json:"activeDeploymentID,omitempty" tf:"active_deployment_id"`
	// The date and time of when the App was created
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// The default URL to access the App
	// +optional
	DefaultIngress *string `json:"defaultIngress,omitempty" tf:"default_ingress"`
	// +optional
	LiveURL *string `json:"liveURL,omitempty" tf:"live_url"`
	// A DigitalOcean App Platform Spec
	// +optional
	Spec *AppSpecSpec `json:"spec,omitempty" tf:"spec"`
	// The date and time of when the App was last updated
	// +optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"`
}

func (*AppSpecResource) DeepCopy

func (in *AppSpecResource) DeepCopy() *AppSpecResource

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

func (*AppSpecResource) DeepCopyInto

func (in *AppSpecResource) DeepCopyInto(out *AppSpecResource)

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

type AppSpecSpec

type AppSpecSpec struct {
	// +optional
	Database []AppSpecSpecDatabase `json:"database,omitempty" tf:"database"`
	// +optional
	Domain []AppSpecSpecDomain `json:"domain,omitempty" tf:"domain"`
	// +optional
	// Deprecated
	Domains []string `json:"domains,omitempty" tf:"domains"`
	// +optional
	Env []AppSpecSpecEnv `json:"env,omitempty" tf:"env"`
	// +optional
	Job []AppSpecSpecJob `json:"job,omitempty" tf:"job"`
	// The name of the app. Must be unique across all apps in the same account.
	Name *string `json:"name" tf:"name"`
	// The slug for the DigitalOcean data center region hosting the app
	// +optional
	Region *string `json:"region,omitempty" tf:"region"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	Service []AppSpecSpecService `json:"service,omitempty" tf:"service"`
	// +optional
	StaticSite []AppSpecSpecStaticSite `json:"staticSite,omitempty" tf:"static_site"`
	// +optional
	Worker []AppSpecSpecWorker `json:"worker,omitempty" tf:"worker"`
}

func (*AppSpecSpec) DeepCopy

func (in *AppSpecSpec) DeepCopy() *AppSpecSpec

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

func (*AppSpecSpec) DeepCopyInto

func (in *AppSpecSpec) DeepCopyInto(out *AppSpecSpec)

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

type AppSpecSpecCodec

type AppSpecSpecCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecCodec) Decode

func (AppSpecSpecCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)

func (AppSpecSpecCodec) Encode

func (AppSpecSpecCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (AppSpecSpecCodec) IsEmpty

func (AppSpecSpecCodec) IsEmpty(ptr unsafe.Pointer) bool

type AppSpecSpecDatabase

type AppSpecSpecDatabase struct {
	// The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if cluster_name is not set, a new cluster will be provisioned.
	// +optional
	ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name"`
	// The name of the MySQL or PostgreSQL database to configure.
	// +optional
	DbName *string `json:"dbName,omitempty" tf:"db_name"`
	// The name of the MySQL or PostgreSQL user to configure.
	// +optional
	DbUser *string `json:"dbUser,omitempty" tf:"db_user"`
	// The database engine to use.
	// +optional
	Engine *string `json:"engine,omitempty" tf:"engine"`
	// The name of the component
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Whether this is a production or dev database.
	// +optional
	Production *bool `json:"production,omitempty" tf:"production"`
	// The version of the database engine.
	// +optional
	Version *string `json:"version,omitempty" tf:"version"`
}

func (*AppSpecSpecDatabase) DeepCopy

func (in *AppSpecSpecDatabase) DeepCopy() *AppSpecSpecDatabase

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

func (*AppSpecSpecDatabase) DeepCopyInto

func (in *AppSpecSpecDatabase) DeepCopyInto(out *AppSpecSpecDatabase)

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

type AppSpecSpecDomain

type AppSpecSpecDomain struct {
	// The hostname for the domain.
	Name *string `json:"name" tf:"name"`
	// The type of the domain.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// Indicates whether the domain includes all sub-domains, in addition to the given domain.
	// +optional
	Wildcard *bool `json:"wildcard,omitempty" tf:"wildcard"`
	// If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
	// +optional
	Zone *string `json:"zone,omitempty" tf:"zone"`
}

func (*AppSpecSpecDomain) DeepCopy

func (in *AppSpecSpecDomain) DeepCopy() *AppSpecSpecDomain

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

func (*AppSpecSpecDomain) DeepCopyInto

func (in *AppSpecSpecDomain) DeepCopyInto(out *AppSpecSpecDomain)

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

type AppSpecSpecEnv

type AppSpecSpecEnv struct {
	// The name of the environment variable.
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// The visibility scope of the environment variable.
	// +optional
	Scope *string `json:"scope,omitempty" tf:"scope"`
	// The type of the environment variable.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// The value of the environment variable.
	// +optional
	Value *string `json:"-" sensitive:"true" tf:"value"`
}

func (*AppSpecSpecEnv) DeepCopy

func (in *AppSpecSpecEnv) DeepCopy() *AppSpecSpecEnv

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

func (*AppSpecSpecEnv) DeepCopyInto

func (in *AppSpecSpecEnv) DeepCopyInto(out *AppSpecSpecEnv)

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

type AppSpecSpecJob

type AppSpecSpecJob struct {
	// An optional build command to run while building this component from source.
	// +optional
	BuildCommand *string `json:"buildCommand,omitempty" tf:"build_command"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	// +optional
	DockerfilePath *string `json:"dockerfilePath,omitempty" tf:"dockerfile_path"`
	// +optional
	Env []AppSpecSpecJobEnv `json:"env,omitempty" tf:"env"`
	// An environment slug describing the type of this app.
	// +optional
	EnvironmentSlug *string `json:"environmentSlug,omitempty" tf:"environment_slug"`
	// +optional
	Git *AppSpecSpecJobGit `json:"git,omitempty" tf:"git"`
	// +optional
	Github *AppSpecSpecJobGithub `json:"github,omitempty" tf:"github"`
	// +optional
	Gitlab *AppSpecSpecJobGitlab `json:"gitlab,omitempty" tf:"gitlab"`
	// +optional
	Image *AppSpecSpecJobImage `json:"image,omitempty" tf:"image"`
	// The amount of instances that this component should be scaled to.
	// +optional
	InstanceCount *int64 `json:"instanceCount,omitempty" tf:"instance_count"`
	// The instance size to use for this component.
	// +optional
	InstanceSizeSlug *string `json:"instanceSizeSlug,omitempty" tf:"instance_size_slug"`
	// The type of job and when it will be run during the deployment process.
	// +optional
	Kind *string `json:"kind,omitempty" tf:"kind"`
	// The name of the component
	Name *string `json:"name" tf:"name"`
	// An optional run command to override the component's default.
	// +optional
	RunCommand *string `json:"runCommand,omitempty" tf:"run_command"`
	// An optional path to the working directory to use for the build.
	// +optional
	SourceDir *string `json:"sourceDir,omitempty" tf:"source_dir"`
}

func (*AppSpecSpecJob) DeepCopy

func (in *AppSpecSpecJob) DeepCopy() *AppSpecSpecJob

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

func (*AppSpecSpecJob) DeepCopyInto

func (in *AppSpecSpecJob) DeepCopyInto(out *AppSpecSpecJob)

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

type AppSpecSpecJobEnv

type AppSpecSpecJobEnv struct {
	// The name of the environment variable.
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// The visibility scope of the environment variable.
	// +optional
	Scope *string `json:"scope,omitempty" tf:"scope"`
	// The type of the environment variable.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// The value of the environment variable.
	// +optional
	Value *string `json:"-" sensitive:"true" tf:"value"`
}

func (*AppSpecSpecJobEnv) DeepCopy

func (in *AppSpecSpecJobEnv) DeepCopy() *AppSpecSpecJobEnv

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

func (*AppSpecSpecJobEnv) DeepCopyInto

func (in *AppSpecSpecJobEnv) DeepCopyInto(out *AppSpecSpecJobEnv)

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

type AppSpecSpecJobGit

type AppSpecSpecJobGit struct {
	// The name of the branch to use.
	// +optional
	Branch *string `json:"branch,omitempty" tf:"branch"`
	// The clone URL of the repo.
	// +optional
	RepoCloneURL *string `json:"repoCloneURL,omitempty" tf:"repo_clone_url"`
}

func (*AppSpecSpecJobGit) DeepCopy

func (in *AppSpecSpecJobGit) DeepCopy() *AppSpecSpecJobGit

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

func (*AppSpecSpecJobGit) DeepCopyInto

func (in *AppSpecSpecJobGit) DeepCopyInto(out *AppSpecSpecJobGit)

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

type AppSpecSpecJobGitCodec

type AppSpecSpecJobGitCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecJobGitCodec) Decode

func (AppSpecSpecJobGitCodec) Encode

func (AppSpecSpecJobGitCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (AppSpecSpecJobGitCodec) IsEmpty

type AppSpecSpecJobGithub

type AppSpecSpecJobGithub struct {
	// The name of the branch to use.
	// +optional
	Branch *string `json:"branch,omitempty" tf:"branch"`
	// Whether to automatically deploy new commits made to the repo
	// +optional
	DeployOnPush *bool `json:"deployOnPush,omitempty" tf:"deploy_on_push"`
	// The name of the repo in the format `owner/repo`.
	// +optional
	Repo *string `json:"repo,omitempty" tf:"repo"`
}

func (*AppSpecSpecJobGithub) DeepCopy

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

func (*AppSpecSpecJobGithub) DeepCopyInto

func (in *AppSpecSpecJobGithub) DeepCopyInto(out *AppSpecSpecJobGithub)

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

type AppSpecSpecJobGithubCodec

type AppSpecSpecJobGithubCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecJobGithubCodec) Decode

func (AppSpecSpecJobGithubCodec) Encode

func (AppSpecSpecJobGithubCodec) IsEmpty

type AppSpecSpecJobGitlab

type AppSpecSpecJobGitlab struct {
	// The name of the branch to use.
	// +optional
	Branch *string `json:"branch,omitempty" tf:"branch"`
	// Whether to automatically deploy new commits made to the repo
	// +optional
	DeployOnPush *bool `json:"deployOnPush,omitempty" tf:"deploy_on_push"`
	// The name of the repo in the format `owner/repo`.
	// +optional
	Repo *string `json:"repo,omitempty" tf:"repo"`
}

func (*AppSpecSpecJobGitlab) DeepCopy

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

func (*AppSpecSpecJobGitlab) DeepCopyInto

func (in *AppSpecSpecJobGitlab) DeepCopyInto(out *AppSpecSpecJobGitlab)

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

type AppSpecSpecJobGitlabCodec

type AppSpecSpecJobGitlabCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecJobGitlabCodec) Decode

func (AppSpecSpecJobGitlabCodec) Encode

func (AppSpecSpecJobGitlabCodec) IsEmpty

type AppSpecSpecJobImage

type AppSpecSpecJobImage struct {
	// The registry name. Must be left empty for the DOCR registry type.
	// +optional
	Registry *string `json:"registry,omitempty" tf:"registry"`
	// The registry type.
	RegistryType *string `json:"registryType" tf:"registry_type"`
	// The repository name.
	Repository *string `json:"repository" tf:"repository"`
	// The repository tag. Defaults to latest if not provided.
	// +optional
	Tag *string `json:"tag,omitempty" tf:"tag"`
}

func (*AppSpecSpecJobImage) DeepCopy

func (in *AppSpecSpecJobImage) DeepCopy() *AppSpecSpecJobImage

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

func (*AppSpecSpecJobImage) DeepCopyInto

func (in *AppSpecSpecJobImage) DeepCopyInto(out *AppSpecSpecJobImage)

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

type AppSpecSpecJobImageCodec

type AppSpecSpecJobImageCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecJobImageCodec) Decode

func (AppSpecSpecJobImageCodec) Encode

func (AppSpecSpecJobImageCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (AppSpecSpecJobImageCodec) IsEmpty

type AppSpecSpecService

type AppSpecSpecService struct {
	// An optional build command to run while building this component from source.
	// +optional
	BuildCommand *string `json:"buildCommand,omitempty" tf:"build_command"`
	// +optional
	Cors *AppSpecSpecServiceCors `json:"cors,omitempty" tf:"cors"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	// +optional
	DockerfilePath *string `json:"dockerfilePath,omitempty" tf:"dockerfile_path"`
	// +optional
	Env []AppSpecSpecServiceEnv `json:"env,omitempty" tf:"env"`
	// An environment slug describing the type of this app.
	// +optional
	EnvironmentSlug *string `json:"environmentSlug,omitempty" tf:"environment_slug"`
	// +optional
	Git *AppSpecSpecServiceGit `json:"git,omitempty" tf:"git"`
	// +optional
	Github *AppSpecSpecServiceGithub `json:"github,omitempty" tf:"github"`
	// +optional
	Gitlab *AppSpecSpecServiceGitlab `json:"gitlab,omitempty" tf:"gitlab"`
	// +optional
	HealthCheck *AppSpecSpecServiceHealthCheck `json:"healthCheck,omitempty" tf:"health_check"`
	// The internal port on which this service's run command will listen.
	// +optional
	HttpPort *int64 `json:"httpPort,omitempty" tf:"http_port"`
	// +optional
	Image *AppSpecSpecServiceImage `json:"image,omitempty" tf:"image"`
	// The amount of instances that this component should be scaled to.
	// +optional
	InstanceCount *int64 `json:"instanceCount,omitempty" tf:"instance_count"`
	// The instance size to use for this component.
	// +optional
	InstanceSizeSlug *string `json:"instanceSizeSlug,omitempty" tf:"instance_size_slug"`
	// +optional
	InternalPorts []int64 `json:"internalPorts,omitempty" tf:"internal_ports"`
	// The name of the component
	Name *string `json:"name" tf:"name"`
	// +optional
	Routes []AppSpecSpecServiceRoutes `json:"routes,omitempty" tf:"routes"`
	// An optional run command to override the component's default.
	// +optional
	RunCommand *string `json:"runCommand,omitempty" tf:"run_command"`
	// An optional path to the working directory to use for the build.
	// +optional
	SourceDir *string `json:"sourceDir,omitempty" tf:"source_dir"`
}

func (*AppSpecSpecService) DeepCopy

func (in *AppSpecSpecService) DeepCopy() *AppSpecSpecService

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

func (*AppSpecSpecService) DeepCopyInto

func (in *AppSpecSpecService) DeepCopyInto(out *AppSpecSpecService)

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

type AppSpecSpecServiceCors added in v0.4.0

type AppSpecSpecServiceCors struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.
	// +optional
	AllowCredentials *bool `json:"allowCredentials,omitempty" tf:"allow_credentials"`
	// The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
	// +optional
	AllowHeaders []string `json:"allowHeaders,omitempty" tf:"allow_headers"`
	// The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
	// +optional
	AllowMethods []string `json:"allowMethods,omitempty" tf:"allow_methods"`
	// The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
	// +optional
	AllowOrigins *AppSpecSpecServiceCorsAllowOrigins `json:"allowOrigins,omitempty" tf:"allow_origins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
	// +optional
	ExposeHeaders []string `json:"exposeHeaders,omitempty" tf:"expose_headers"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	// +optional
	MaxAge *string `json:"maxAge,omitempty" tf:"max_age"`
}

func (*AppSpecSpecServiceCors) DeepCopy added in v0.4.0

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

func (*AppSpecSpecServiceCors) DeepCopyInto added in v0.4.0

func (in *AppSpecSpecServiceCors) DeepCopyInto(out *AppSpecSpecServiceCors)

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

type AppSpecSpecServiceCorsAllowOrigins added in v0.4.0

type AppSpecSpecServiceCorsAllowOrigins struct {
	// Exact string match.
	// +optional
	Exact *string `json:"exact,omitempty" tf:"exact"`
	// Prefix-based match.
	// +optional
	Prefix *string `json:"prefix,omitempty" tf:"prefix"`
	// RE2 style regex-based match.
	// +optional
	Regex *string `json:"regex,omitempty" tf:"regex"`
}

func (*AppSpecSpecServiceCorsAllowOrigins) DeepCopy added in v0.4.0

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

func (*AppSpecSpecServiceCorsAllowOrigins) DeepCopyInto added in v0.4.0

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

type AppSpecSpecServiceCorsAllowOriginsCodec added in v0.4.0

type AppSpecSpecServiceCorsAllowOriginsCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecServiceCorsAllowOriginsCodec) Decode added in v0.4.0

func (AppSpecSpecServiceCorsAllowOriginsCodec) Encode added in v0.4.0

func (AppSpecSpecServiceCorsAllowOriginsCodec) IsEmpty added in v0.4.0

type AppSpecSpecServiceCorsCodec added in v0.4.0

type AppSpecSpecServiceCorsCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecServiceCorsCodec) Decode added in v0.4.0

func (AppSpecSpecServiceCorsCodec) Encode added in v0.4.0

func (AppSpecSpecServiceCorsCodec) IsEmpty added in v0.4.0

type AppSpecSpecServiceEnv

type AppSpecSpecServiceEnv struct {
	// The name of the environment variable.
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// The visibility scope of the environment variable.
	// +optional
	Scope *string `json:"scope,omitempty" tf:"scope"`
	// The type of the environment variable.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// The value of the environment variable.
	// +optional
	Value *string `json:"-" sensitive:"true" tf:"value"`
}

func (*AppSpecSpecServiceEnv) DeepCopy

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

func (*AppSpecSpecServiceEnv) DeepCopyInto

func (in *AppSpecSpecServiceEnv) DeepCopyInto(out *AppSpecSpecServiceEnv)

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

type AppSpecSpecServiceGit

type AppSpecSpecServiceGit struct {
	// The name of the branch to use.
	// +optional
	Branch *string `json:"branch,omitempty" tf:"branch"`
	// The clone URL of the repo.
	// +optional
	RepoCloneURL *string `json:"repoCloneURL,omitempty" tf:"repo_clone_url"`
}

func (*AppSpecSpecServiceGit) DeepCopy

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

func (*AppSpecSpecServiceGit) DeepCopyInto

func (in *AppSpecSpecServiceGit) DeepCopyInto(out *AppSpecSpecServiceGit)

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

type AppSpecSpecServiceGitCodec

type AppSpecSpecServiceGitCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecServiceGitCodec) Decode

func (AppSpecSpecServiceGitCodec) Encode

func (AppSpecSpecServiceGitCodec) IsEmpty

type AppSpecSpecServiceGithub

type AppSpecSpecServiceGithub struct {
	// The name of the branch to use.
	// +optional
	Branch *string `json:"branch,omitempty" tf:"branch"`
	// Whether to automatically deploy new commits made to the repo
	// +optional
	DeployOnPush *bool `json:"deployOnPush,omitempty" tf:"deploy_on_push"`
	// The name of the repo in the format `owner/repo`.
	// +optional
	Repo *string `json:"repo,omitempty" tf:"repo"`
}

func (*AppSpecSpecServiceGithub) DeepCopy

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

func (*AppSpecSpecServiceGithub) DeepCopyInto

func (in *AppSpecSpecServiceGithub) DeepCopyInto(out *AppSpecSpecServiceGithub)

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

type AppSpecSpecServiceGithubCodec

type AppSpecSpecServiceGithubCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecServiceGithubCodec) Decode

func (AppSpecSpecServiceGithubCodec) Encode

func (AppSpecSpecServiceGithubCodec) IsEmpty

type AppSpecSpecServiceGitlab

type AppSpecSpecServiceGitlab struct {
	// The name of the branch to use.
	// +optional
	Branch *string `json:"branch,omitempty" tf:"branch"`
	// Whether to automatically deploy new commits made to the repo
	// +optional
	DeployOnPush *bool `json:"deployOnPush,omitempty" tf:"deploy_on_push"`
	// The name of the repo in the format `owner/repo`.
	// +optional
	Repo *string `json:"repo,omitempty" tf:"repo"`
}

func (*AppSpecSpecServiceGitlab) DeepCopy

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

func (*AppSpecSpecServiceGitlab) DeepCopyInto

func (in *AppSpecSpecServiceGitlab) DeepCopyInto(out *AppSpecSpecServiceGitlab)

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

type AppSpecSpecServiceGitlabCodec

type AppSpecSpecServiceGitlabCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecServiceGitlabCodec) Decode

func (AppSpecSpecServiceGitlabCodec) Encode

func (AppSpecSpecServiceGitlabCodec) IsEmpty

type AppSpecSpecServiceHealthCheck

type AppSpecSpecServiceHealthCheck struct {
	// The number of failed health checks before considered unhealthy.
	// +optional
	FailureThreshold *int64 `json:"failureThreshold,omitempty" tf:"failure_threshold"`
	// The route path used for the HTTP health check ping.
	// +optional
	HttpPath *string `json:"httpPath,omitempty" tf:"http_path"`
	// The number of seconds to wait before beginning health checks.
	// +optional
	InitialDelaySeconds *int64 `json:"initialDelaySeconds,omitempty" tf:"initial_delay_seconds"`
	// The number of seconds to wait between health checks.
	// +optional
	PeriodSeconds *int64 `json:"periodSeconds,omitempty" tf:"period_seconds"`
	// The number of successful health checks before considered healthy.
	// +optional
	SuccessThreshold *int64 `json:"successThreshold,omitempty" tf:"success_threshold"`
	// The number of seconds after which the check times out.
	// +optional
	TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds"`
}

func (*AppSpecSpecServiceHealthCheck) DeepCopy

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

func (*AppSpecSpecServiceHealthCheck) DeepCopyInto

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

type AppSpecSpecServiceHealthCheckCodec

type AppSpecSpecServiceHealthCheckCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecServiceHealthCheckCodec) Decode

func (AppSpecSpecServiceHealthCheckCodec) Encode

func (AppSpecSpecServiceHealthCheckCodec) IsEmpty

type AppSpecSpecServiceImage

type AppSpecSpecServiceImage struct {
	// The registry name. Must be left empty for the DOCR registry type.
	// +optional
	Registry *string `json:"registry,omitempty" tf:"registry"`
	// The registry type.
	RegistryType *string `json:"registryType" tf:"registry_type"`
	// The repository name.
	Repository *string `json:"repository" tf:"repository"`
	// The repository tag. Defaults to latest if not provided.
	// +optional
	Tag *string `json:"tag,omitempty" tf:"tag"`
}

func (*AppSpecSpecServiceImage) DeepCopy

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

func (*AppSpecSpecServiceImage) DeepCopyInto

func (in *AppSpecSpecServiceImage) DeepCopyInto(out *AppSpecSpecServiceImage)

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

type AppSpecSpecServiceImageCodec

type AppSpecSpecServiceImageCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecServiceImageCodec) Decode

func (AppSpecSpecServiceImageCodec) Encode

func (AppSpecSpecServiceImageCodec) IsEmpty

type AppSpecSpecServiceRoutes

type AppSpecSpecServiceRoutes struct {
	// Path specifies an route by HTTP path prefix. Paths must start with / and must be unique within the app.
	// +optional
	Path *string `json:"path,omitempty" tf:"path"`
	//  An optional flag to preserve the path that is forwarded to the backend service.
	// +optional
	PreservePathPrefix *bool `json:"preservePathPrefix,omitempty" tf:"preserve_path_prefix"`
}

func (*AppSpecSpecServiceRoutes) DeepCopy

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

func (*AppSpecSpecServiceRoutes) DeepCopyInto

func (in *AppSpecSpecServiceRoutes) DeepCopyInto(out *AppSpecSpecServiceRoutes)

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

type AppSpecSpecStaticSite

type AppSpecSpecStaticSite struct {
	// An optional build command to run while building this component from source.
	// +optional
	BuildCommand *string `json:"buildCommand,omitempty" tf:"build_command"`
	// The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
	// +optional
	CatchallDocument *string `json:"catchallDocument,omitempty" tf:"catchall_document"`
	// +optional
	Cors *AppSpecSpecStaticSiteCors `json:"cors,omitempty" tf:"cors"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	// +optional
	DockerfilePath *string `json:"dockerfilePath,omitempty" tf:"dockerfile_path"`
	// +optional
	Env []AppSpecSpecStaticSiteEnv `json:"env,omitempty" tf:"env"`
	// An environment slug describing the type of this app.
	// +optional
	EnvironmentSlug *string `json:"environmentSlug,omitempty" tf:"environment_slug"`
	// The name of the error document to use when serving this static site.
	// +optional
	ErrorDocument *string `json:"errorDocument,omitempty" tf:"error_document"`
	// +optional
	Git *AppSpecSpecStaticSiteGit `json:"git,omitempty" tf:"git"`
	// +optional
	Github *AppSpecSpecStaticSiteGithub `json:"github,omitempty" tf:"github"`
	// +optional
	Gitlab *AppSpecSpecStaticSiteGitlab `json:"gitlab,omitempty" tf:"gitlab"`
	// The name of the index document to use when serving this static site.
	// +optional
	IndexDocument *string `json:"indexDocument,omitempty" tf:"index_document"`
	// The name of the component
	Name *string `json:"name" tf:"name"`
	// An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names: `_static`, `dist`, `public`.
	// +optional
	OutputDir *string `json:"outputDir,omitempty" tf:"output_dir"`
	// +optional
	Routes []AppSpecSpecStaticSiteRoutes `json:"routes,omitempty" tf:"routes"`
	// An optional path to the working directory to use for the build.
	// +optional
	SourceDir *string `json:"sourceDir,omitempty" tf:"source_dir"`
}

func (*AppSpecSpecStaticSite) DeepCopy

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

func (*AppSpecSpecStaticSite) DeepCopyInto

func (in *AppSpecSpecStaticSite) DeepCopyInto(out *AppSpecSpecStaticSite)

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

type AppSpecSpecStaticSiteCors added in v0.4.0

type AppSpecSpecStaticSiteCors struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.
	// +optional
	AllowCredentials *bool `json:"allowCredentials,omitempty" tf:"allow_credentials"`
	// The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
	// +optional
	AllowHeaders []string `json:"allowHeaders,omitempty" tf:"allow_headers"`
	// The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
	// +optional
	AllowMethods []string `json:"allowMethods,omitempty" tf:"allow_methods"`
	// The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
	// +optional
	AllowOrigins *AppSpecSpecStaticSiteCorsAllowOrigins `json:"allowOrigins,omitempty" tf:"allow_origins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
	// +optional
	ExposeHeaders []string `json:"exposeHeaders,omitempty" tf:"expose_headers"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	// +optional
	MaxAge *string `json:"maxAge,omitempty" tf:"max_age"`
}

func (*AppSpecSpecStaticSiteCors) DeepCopy added in v0.4.0

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

func (*AppSpecSpecStaticSiteCors) DeepCopyInto added in v0.4.0

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

type AppSpecSpecStaticSiteCorsAllowOrigins added in v0.4.0

type AppSpecSpecStaticSiteCorsAllowOrigins struct {
	// Exact string match.
	// +optional
	Exact *string `json:"exact,omitempty" tf:"exact"`
	// Prefix-based match.
	// +optional
	Prefix *string `json:"prefix,omitempty" tf:"prefix"`
	// RE2 style regex-based match.
	// +optional
	Regex *string `json:"regex,omitempty" tf:"regex"`
}

func (*AppSpecSpecStaticSiteCorsAllowOrigins) DeepCopy added in v0.4.0

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

func (*AppSpecSpecStaticSiteCorsAllowOrigins) DeepCopyInto added in v0.4.0

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

type AppSpecSpecStaticSiteCorsAllowOriginsCodec added in v0.4.0

type AppSpecSpecStaticSiteCorsAllowOriginsCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecStaticSiteCorsAllowOriginsCodec) Decode added in v0.4.0

func (AppSpecSpecStaticSiteCorsAllowOriginsCodec) Encode added in v0.4.0

func (AppSpecSpecStaticSiteCorsAllowOriginsCodec) IsEmpty added in v0.4.0

type AppSpecSpecStaticSiteCorsCodec added in v0.4.0

type AppSpecSpecStaticSiteCorsCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecStaticSiteCorsCodec) Decode added in v0.4.0

func (AppSpecSpecStaticSiteCorsCodec) Encode added in v0.4.0

func (AppSpecSpecStaticSiteCorsCodec) IsEmpty added in v0.4.0

type AppSpecSpecStaticSiteEnv

type AppSpecSpecStaticSiteEnv struct {
	// The name of the environment variable.
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// The visibility scope of the environment variable.
	// +optional
	Scope *string `json:"scope,omitempty" tf:"scope"`
	// The type of the environment variable.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// The value of the environment variable.
	// +optional
	Value *string `json:"-" sensitive:"true" tf:"value"`
}

func (*AppSpecSpecStaticSiteEnv) DeepCopy

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

func (*AppSpecSpecStaticSiteEnv) DeepCopyInto

func (in *AppSpecSpecStaticSiteEnv) DeepCopyInto(out *AppSpecSpecStaticSiteEnv)

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

type AppSpecSpecStaticSiteGit

type AppSpecSpecStaticSiteGit struct {
	// The name of the branch to use.
	// +optional
	Branch *string `json:"branch,omitempty" tf:"branch"`
	// The clone URL of the repo.
	// +optional
	RepoCloneURL *string `json:"repoCloneURL,omitempty" tf:"repo_clone_url"`
}

func (*AppSpecSpecStaticSiteGit) DeepCopy

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

func (*AppSpecSpecStaticSiteGit) DeepCopyInto

func (in *AppSpecSpecStaticSiteGit) DeepCopyInto(out *AppSpecSpecStaticSiteGit)

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

type AppSpecSpecStaticSiteGitCodec

type AppSpecSpecStaticSiteGitCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecStaticSiteGitCodec) Decode

func (AppSpecSpecStaticSiteGitCodec) Encode

func (AppSpecSpecStaticSiteGitCodec) IsEmpty

type AppSpecSpecStaticSiteGithub

type AppSpecSpecStaticSiteGithub struct {
	// The name of the branch to use.
	// +optional
	Branch *string `json:"branch,omitempty" tf:"branch"`
	// Whether to automatically deploy new commits made to the repo
	// +optional
	DeployOnPush *bool `json:"deployOnPush,omitempty" tf:"deploy_on_push"`
	// The name of the repo in the format `owner/repo`.
	// +optional
	Repo *string `json:"repo,omitempty" tf:"repo"`
}

func (*AppSpecSpecStaticSiteGithub) DeepCopy

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

func (*AppSpecSpecStaticSiteGithub) DeepCopyInto

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

type AppSpecSpecStaticSiteGithubCodec

type AppSpecSpecStaticSiteGithubCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecStaticSiteGithubCodec) Decode

func (AppSpecSpecStaticSiteGithubCodec) Encode

func (AppSpecSpecStaticSiteGithubCodec) IsEmpty

type AppSpecSpecStaticSiteGitlab

type AppSpecSpecStaticSiteGitlab struct {
	// The name of the branch to use.
	// +optional
	Branch *string `json:"branch,omitempty" tf:"branch"`
	// Whether to automatically deploy new commits made to the repo
	// +optional
	DeployOnPush *bool `json:"deployOnPush,omitempty" tf:"deploy_on_push"`
	// The name of the repo in the format `owner/repo`.
	// +optional
	Repo *string `json:"repo,omitempty" tf:"repo"`
}

func (*AppSpecSpecStaticSiteGitlab) DeepCopy

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

func (*AppSpecSpecStaticSiteGitlab) DeepCopyInto

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

type AppSpecSpecStaticSiteGitlabCodec

type AppSpecSpecStaticSiteGitlabCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecStaticSiteGitlabCodec) Decode

func (AppSpecSpecStaticSiteGitlabCodec) Encode

func (AppSpecSpecStaticSiteGitlabCodec) IsEmpty

type AppSpecSpecStaticSiteRoutes

type AppSpecSpecStaticSiteRoutes struct {
	// Path specifies an route by HTTP path prefix. Paths must start with / and must be unique within the app.
	// +optional
	Path *string `json:"path,omitempty" tf:"path"`
	//  An optional flag to preserve the path that is forwarded to the backend service.
	// +optional
	PreservePathPrefix *bool `json:"preservePathPrefix,omitempty" tf:"preserve_path_prefix"`
}

func (*AppSpecSpecStaticSiteRoutes) DeepCopy

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

func (*AppSpecSpecStaticSiteRoutes) DeepCopyInto

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

type AppSpecSpecWorker

type AppSpecSpecWorker struct {
	// An optional build command to run while building this component from source.
	// +optional
	BuildCommand *string `json:"buildCommand,omitempty" tf:"build_command"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	// +optional
	DockerfilePath *string `json:"dockerfilePath,omitempty" tf:"dockerfile_path"`
	// +optional
	Env []AppSpecSpecWorkerEnv `json:"env,omitempty" tf:"env"`
	// An environment slug describing the type of this app.
	// +optional
	EnvironmentSlug *string `json:"environmentSlug,omitempty" tf:"environment_slug"`
	// +optional
	Git *AppSpecSpecWorkerGit `json:"git,omitempty" tf:"git"`
	// +optional
	Github *AppSpecSpecWorkerGithub `json:"github,omitempty" tf:"github"`
	// +optional
	Gitlab *AppSpecSpecWorkerGitlab `json:"gitlab,omitempty" tf:"gitlab"`
	// +optional
	Image *AppSpecSpecWorkerImage `json:"image,omitempty" tf:"image"`
	// The amount of instances that this component should be scaled to.
	// +optional
	InstanceCount *int64 `json:"instanceCount,omitempty" tf:"instance_count"`
	// The instance size to use for this component.
	// +optional
	InstanceSizeSlug *string `json:"instanceSizeSlug,omitempty" tf:"instance_size_slug"`
	// The name of the component
	Name *string `json:"name" tf:"name"`
	// An optional run command to override the component's default.
	// +optional
	RunCommand *string `json:"runCommand,omitempty" tf:"run_command"`
	// An optional path to the working directory to use for the build.
	// +optional
	SourceDir *string `json:"sourceDir,omitempty" tf:"source_dir"`
}

func (*AppSpecSpecWorker) DeepCopy

func (in *AppSpecSpecWorker) DeepCopy() *AppSpecSpecWorker

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

func (*AppSpecSpecWorker) DeepCopyInto

func (in *AppSpecSpecWorker) DeepCopyInto(out *AppSpecSpecWorker)

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

type AppSpecSpecWorkerEnv

type AppSpecSpecWorkerEnv struct {
	// The name of the environment variable.
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// The visibility scope of the environment variable.
	// +optional
	Scope *string `json:"scope,omitempty" tf:"scope"`
	// The type of the environment variable.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// The value of the environment variable.
	// +optional
	Value *string `json:"-" sensitive:"true" tf:"value"`
}

func (*AppSpecSpecWorkerEnv) DeepCopy

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

func (*AppSpecSpecWorkerEnv) DeepCopyInto

func (in *AppSpecSpecWorkerEnv) DeepCopyInto(out *AppSpecSpecWorkerEnv)

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

type AppSpecSpecWorkerGit

type AppSpecSpecWorkerGit struct {
	// The name of the branch to use.
	// +optional
	Branch *string `json:"branch,omitempty" tf:"branch"`
	// The clone URL of the repo.
	// +optional
	RepoCloneURL *string `json:"repoCloneURL,omitempty" tf:"repo_clone_url"`
}

func (*AppSpecSpecWorkerGit) DeepCopy

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

func (*AppSpecSpecWorkerGit) DeepCopyInto

func (in *AppSpecSpecWorkerGit) DeepCopyInto(out *AppSpecSpecWorkerGit)

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

type AppSpecSpecWorkerGitCodec

type AppSpecSpecWorkerGitCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecWorkerGitCodec) Decode

func (AppSpecSpecWorkerGitCodec) Encode

func (AppSpecSpecWorkerGitCodec) IsEmpty

type AppSpecSpecWorkerGithub

type AppSpecSpecWorkerGithub struct {
	// The name of the branch to use.
	// +optional
	Branch *string `json:"branch,omitempty" tf:"branch"`
	// Whether to automatically deploy new commits made to the repo
	// +optional
	DeployOnPush *bool `json:"deployOnPush,omitempty" tf:"deploy_on_push"`
	// The name of the repo in the format `owner/repo`.
	// +optional
	Repo *string `json:"repo,omitempty" tf:"repo"`
}

func (*AppSpecSpecWorkerGithub) DeepCopy

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

func (*AppSpecSpecWorkerGithub) DeepCopyInto

func (in *AppSpecSpecWorkerGithub) DeepCopyInto(out *AppSpecSpecWorkerGithub)

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

type AppSpecSpecWorkerGithubCodec

type AppSpecSpecWorkerGithubCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecWorkerGithubCodec) Decode

func (AppSpecSpecWorkerGithubCodec) Encode

func (AppSpecSpecWorkerGithubCodec) IsEmpty

type AppSpecSpecWorkerGitlab

type AppSpecSpecWorkerGitlab struct {
	// The name of the branch to use.
	// +optional
	Branch *string `json:"branch,omitempty" tf:"branch"`
	// Whether to automatically deploy new commits made to the repo
	// +optional
	DeployOnPush *bool `json:"deployOnPush,omitempty" tf:"deploy_on_push"`
	// The name of the repo in the format `owner/repo`.
	// +optional
	Repo *string `json:"repo,omitempty" tf:"repo"`
}

func (*AppSpecSpecWorkerGitlab) DeepCopy

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

func (*AppSpecSpecWorkerGitlab) DeepCopyInto

func (in *AppSpecSpecWorkerGitlab) DeepCopyInto(out *AppSpecSpecWorkerGitlab)

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

type AppSpecSpecWorkerGitlabCodec

type AppSpecSpecWorkerGitlabCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecWorkerGitlabCodec) Decode

func (AppSpecSpecWorkerGitlabCodec) Encode

func (AppSpecSpecWorkerGitlabCodec) IsEmpty

type AppSpecSpecWorkerImage

type AppSpecSpecWorkerImage struct {
	// The registry name. Must be left empty for the DOCR registry type.
	// +optional
	Registry *string `json:"registry,omitempty" tf:"registry"`
	// The registry type.
	RegistryType *string `json:"registryType" tf:"registry_type"`
	// The repository name.
	Repository *string `json:"repository" tf:"repository"`
	// The repository tag. Defaults to latest if not provided.
	// +optional
	Tag *string `json:"tag,omitempty" tf:"tag"`
}

func (*AppSpecSpecWorkerImage) DeepCopy

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

func (*AppSpecSpecWorkerImage) DeepCopyInto

func (in *AppSpecSpecWorkerImage) DeepCopyInto(out *AppSpecSpecWorkerImage)

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

type AppSpecSpecWorkerImageCodec

type AppSpecSpecWorkerImageCodec struct {
}

+k8s:deepcopy-gen=false

func (AppSpecSpecWorkerImageCodec) Decode

func (AppSpecSpecWorkerImageCodec) Encode

func (AppSpecSpecWorkerImageCodec) IsEmpty

type AppStatus

type AppStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*AppStatus) DeepCopy

func (in *AppStatus) DeepCopy() *AppStatus

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

func (*AppStatus) DeepCopyInto

func (in *AppStatus) DeepCopyInto(out *AppStatus)

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