Documentation ¶
Overview ¶
+groupName=app.digitalocean.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type App
- func (in *App) DeepCopy() *App
- func (in *App) DeepCopyInto(out *App)
- func (in *App) DeepCopyObject() runtime.Object
- func (r *App) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *App) ValidateCreate() error
- func (r *App) ValidateDelete() error
- func (r *App) ValidateUpdate(old runtime.Object) error
- type AppList
- type AppSpec
- type AppSpecResource
- type AppSpecSpec
- type AppSpecSpecCodec
- type AppSpecSpecDatabase
- type AppSpecSpecDomain
- type AppSpecSpecEnv
- type AppSpecSpecJob
- type AppSpecSpecJobEnv
- type AppSpecSpecJobGit
- type AppSpecSpecJobGitCodec
- type AppSpecSpecJobGithub
- type AppSpecSpecJobGithubCodec
- type AppSpecSpecJobGitlab
- type AppSpecSpecJobGitlabCodec
- type AppSpecSpecJobImage
- type AppSpecSpecJobImageCodec
- type AppSpecSpecService
- type AppSpecSpecServiceCors
- type AppSpecSpecServiceCorsAllowOrigins
- type AppSpecSpecServiceCorsAllowOriginsCodec
- type AppSpecSpecServiceCorsCodec
- type AppSpecSpecServiceEnv
- type AppSpecSpecServiceGit
- type AppSpecSpecServiceGitCodec
- type AppSpecSpecServiceGithub
- type AppSpecSpecServiceGithubCodec
- type AppSpecSpecServiceGitlab
- type AppSpecSpecServiceGitlabCodec
- type AppSpecSpecServiceHealthCheck
- type AppSpecSpecServiceHealthCheckCodec
- type AppSpecSpecServiceImage
- type AppSpecSpecServiceImageCodec
- type AppSpecSpecServiceRoutes
- type AppSpecSpecStaticSite
- type AppSpecSpecStaticSiteCors
- type AppSpecSpecStaticSiteCorsAllowOrigins
- type AppSpecSpecStaticSiteCorsAllowOriginsCodec
- type AppSpecSpecStaticSiteCorsCodec
- type AppSpecSpecStaticSiteEnv
- type AppSpecSpecStaticSiteGit
- type AppSpecSpecStaticSiteGitCodec
- type AppSpecSpecStaticSiteGithub
- type AppSpecSpecStaticSiteGithubCodec
- type AppSpecSpecStaticSiteGitlab
- type AppSpecSpecStaticSiteGitlabCodec
- type AppSpecSpecStaticSiteRoutes
- type AppSpecSpecWorker
- type AppSpecSpecWorkerEnv
- type AppSpecSpecWorkerGit
- type AppSpecSpecWorkerGitCodec
- type AppSpecSpecWorkerGithub
- type AppSpecSpecWorkerGithubCodec
- type AppSpecSpecWorkerGitlab
- type AppSpecSpecWorkerGitlabCodec
- type AppSpecSpecWorkerImage
- type AppSpecSpecWorkerImageCodec
- type AppStatus
Constants ¶
This section is empty.
Variables ¶
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 )
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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new App.
func (*App) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*App) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*App) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*App) ValidateDelete ¶
ValidateDelete 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppList.
func (*AppList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpec.
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecJobGitCodec) Encode ¶
func (AppSpecSpecJobGitCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecJobGitCodec) IsEmpty ¶
func (AppSpecSpecJobGitCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecJobGithub) DeepCopy() *AppSpecSpecJobGithub
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecJobGithubCodec) Encode ¶
func (AppSpecSpecJobGithubCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecJobGithubCodec) IsEmpty ¶
func (AppSpecSpecJobGithubCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecJobGitlab) DeepCopy() *AppSpecSpecJobGitlab
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecJobGitlabCodec) Encode ¶
func (AppSpecSpecJobGitlabCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecJobGitlabCodec) IsEmpty ¶
func (AppSpecSpecJobGitlabCodec) IsEmpty(ptr unsafe.Pointer) bool
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecJobImageCodec) Encode ¶
func (AppSpecSpecJobImageCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecJobImageCodec) IsEmpty ¶
func (AppSpecSpecJobImageCodec) IsEmpty(ptr unsafe.Pointer) bool
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
func (in *AppSpecSpecServiceCors) DeepCopy() *AppSpecSpecServiceCors
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
func (in *AppSpecSpecServiceCorsAllowOrigins) DeepCopy() *AppSpecSpecServiceCorsAllowOrigins
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpecSpecServiceCorsAllowOrigins.
func (*AppSpecSpecServiceCorsAllowOrigins) DeepCopyInto ¶ added in v0.4.0
func (in *AppSpecSpecServiceCorsAllowOrigins) DeepCopyInto(out *AppSpecSpecServiceCorsAllowOrigins)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecServiceCorsAllowOriginsCodec) Encode ¶ added in v0.4.0
func (AppSpecSpecServiceCorsAllowOriginsCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecServiceCorsAllowOriginsCodec) IsEmpty ¶ added in v0.4.0
func (AppSpecSpecServiceCorsAllowOriginsCodec) IsEmpty(ptr unsafe.Pointer) bool
type AppSpecSpecServiceCorsCodec ¶ added in v0.4.0
type AppSpecSpecServiceCorsCodec struct { }
+k8s:deepcopy-gen=false
func (AppSpecSpecServiceCorsCodec) Decode ¶ added in v0.4.0
func (AppSpecSpecServiceCorsCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecServiceCorsCodec) Encode ¶ added in v0.4.0
func (AppSpecSpecServiceCorsCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecServiceCorsCodec) IsEmpty ¶ added in v0.4.0
func (AppSpecSpecServiceCorsCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecServiceEnv) DeepCopy() *AppSpecSpecServiceEnv
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 ¶
func (in *AppSpecSpecServiceGit) DeepCopy() *AppSpecSpecServiceGit
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecServiceGitCodec) Encode ¶
func (AppSpecSpecServiceGitCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecServiceGitCodec) IsEmpty ¶
func (AppSpecSpecServiceGitCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecServiceGithub) DeepCopy() *AppSpecSpecServiceGithub
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecServiceGithubCodec) Encode ¶
func (AppSpecSpecServiceGithubCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecServiceGithubCodec) IsEmpty ¶
func (AppSpecSpecServiceGithubCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecServiceGitlab) DeepCopy() *AppSpecSpecServiceGitlab
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecServiceGitlabCodec) Encode ¶
func (AppSpecSpecServiceGitlabCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecServiceGitlabCodec) IsEmpty ¶
func (AppSpecSpecServiceGitlabCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecServiceHealthCheck) DeepCopy() *AppSpecSpecServiceHealthCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpecSpecServiceHealthCheck.
func (*AppSpecSpecServiceHealthCheck) DeepCopyInto ¶
func (in *AppSpecSpecServiceHealthCheck) DeepCopyInto(out *AppSpecSpecServiceHealthCheck)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecServiceHealthCheckCodec) Encode ¶
func (AppSpecSpecServiceHealthCheckCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecServiceHealthCheckCodec) IsEmpty ¶
func (AppSpecSpecServiceHealthCheckCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecServiceImage) DeepCopy() *AppSpecSpecServiceImage
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecServiceImageCodec) Encode ¶
func (AppSpecSpecServiceImageCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecServiceImageCodec) IsEmpty ¶
func (AppSpecSpecServiceImageCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecServiceRoutes) DeepCopy() *AppSpecSpecServiceRoutes
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 ¶
func (in *AppSpecSpecStaticSite) DeepCopy() *AppSpecSpecStaticSite
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
func (in *AppSpecSpecStaticSiteCors) DeepCopy() *AppSpecSpecStaticSiteCors
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpecSpecStaticSiteCors.
func (*AppSpecSpecStaticSiteCors) DeepCopyInto ¶ added in v0.4.0
func (in *AppSpecSpecStaticSiteCors) DeepCopyInto(out *AppSpecSpecStaticSiteCors)
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
func (in *AppSpecSpecStaticSiteCorsAllowOrigins) DeepCopy() *AppSpecSpecStaticSiteCorsAllowOrigins
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpecSpecStaticSiteCorsAllowOrigins.
func (*AppSpecSpecStaticSiteCorsAllowOrigins) DeepCopyInto ¶ added in v0.4.0
func (in *AppSpecSpecStaticSiteCorsAllowOrigins) DeepCopyInto(out *AppSpecSpecStaticSiteCorsAllowOrigins)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecStaticSiteCorsAllowOriginsCodec) Encode ¶ added in v0.4.0
func (AppSpecSpecStaticSiteCorsAllowOriginsCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecStaticSiteCorsAllowOriginsCodec) IsEmpty ¶ added in v0.4.0
func (AppSpecSpecStaticSiteCorsAllowOriginsCodec) IsEmpty(ptr unsafe.Pointer) bool
type AppSpecSpecStaticSiteCorsCodec ¶ added in v0.4.0
type AppSpecSpecStaticSiteCorsCodec struct { }
+k8s:deepcopy-gen=false
func (AppSpecSpecStaticSiteCorsCodec) Decode ¶ added in v0.4.0
func (AppSpecSpecStaticSiteCorsCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecStaticSiteCorsCodec) Encode ¶ added in v0.4.0
func (AppSpecSpecStaticSiteCorsCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecStaticSiteCorsCodec) IsEmpty ¶ added in v0.4.0
func (AppSpecSpecStaticSiteCorsCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecStaticSiteEnv) DeepCopy() *AppSpecSpecStaticSiteEnv
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 ¶
func (in *AppSpecSpecStaticSiteGit) DeepCopy() *AppSpecSpecStaticSiteGit
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecStaticSiteGitCodec) Encode ¶
func (AppSpecSpecStaticSiteGitCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecStaticSiteGitCodec) IsEmpty ¶
func (AppSpecSpecStaticSiteGitCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecStaticSiteGithub) DeepCopy() *AppSpecSpecStaticSiteGithub
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpecSpecStaticSiteGithub.
func (*AppSpecSpecStaticSiteGithub) DeepCopyInto ¶
func (in *AppSpecSpecStaticSiteGithub) DeepCopyInto(out *AppSpecSpecStaticSiteGithub)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecStaticSiteGithubCodec) Encode ¶
func (AppSpecSpecStaticSiteGithubCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecStaticSiteGithubCodec) IsEmpty ¶
func (AppSpecSpecStaticSiteGithubCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecStaticSiteGitlab) DeepCopy() *AppSpecSpecStaticSiteGitlab
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpecSpecStaticSiteGitlab.
func (*AppSpecSpecStaticSiteGitlab) DeepCopyInto ¶
func (in *AppSpecSpecStaticSiteGitlab) DeepCopyInto(out *AppSpecSpecStaticSiteGitlab)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecStaticSiteGitlabCodec) Encode ¶
func (AppSpecSpecStaticSiteGitlabCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecStaticSiteGitlabCodec) IsEmpty ¶
func (AppSpecSpecStaticSiteGitlabCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecStaticSiteRoutes) DeepCopy() *AppSpecSpecStaticSiteRoutes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpecSpecStaticSiteRoutes.
func (*AppSpecSpecStaticSiteRoutes) DeepCopyInto ¶
func (in *AppSpecSpecStaticSiteRoutes) DeepCopyInto(out *AppSpecSpecStaticSiteRoutes)
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 ¶
func (in *AppSpecSpecWorkerEnv) DeepCopy() *AppSpecSpecWorkerEnv
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 ¶
func (in *AppSpecSpecWorkerGit) DeepCopy() *AppSpecSpecWorkerGit
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecWorkerGitCodec) Encode ¶
func (AppSpecSpecWorkerGitCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecWorkerGitCodec) IsEmpty ¶
func (AppSpecSpecWorkerGitCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecWorkerGithub) DeepCopy() *AppSpecSpecWorkerGithub
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecWorkerGithubCodec) Encode ¶
func (AppSpecSpecWorkerGithubCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecWorkerGithubCodec) IsEmpty ¶
func (AppSpecSpecWorkerGithubCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecWorkerGitlab) DeepCopy() *AppSpecSpecWorkerGitlab
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecWorkerGitlabCodec) Encode ¶
func (AppSpecSpecWorkerGitlabCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecWorkerGitlabCodec) IsEmpty ¶
func (AppSpecSpecWorkerGitlabCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *AppSpecSpecWorkerImage) DeepCopy() *AppSpecSpecWorkerImage
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AppSpecSpecWorkerImageCodec) Encode ¶
func (AppSpecSpecWorkerImageCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AppSpecSpecWorkerImageCodec) IsEmpty ¶
func (AppSpecSpecWorkerImageCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppStatus.