Files
sdk/docs/PlatformCreateAppReq.md

12 KiB

PlatformCreateAppReq

Properties

Name Type Description Notes
BuildType Pointer to string BuildType is `pack` — the zero-config default that detects any project — or `dockerfile`, the explicit escape hatch. An image app never builds. [optional]
Description Pointer to string Description is free text about what the application is. [optional]
Dockerfile Pointer to string Dockerfile is the path to build from, for buildType `dockerfile`. [optional]
Domains Pointer to []string Domains are extra ingress hosts. The canonical default host is always attached; a bare custom host is refused here and must go through add-domain → verify first. [optional]
Env Pointer to []PlatformEnvVarJSON Env is the application's environment. Keys must match `^[A-Za-z_][A-Za-z0-9_]*$`; a variable marked `secret: true` is sealed into KMS and its plaintext is never written to the database. [optional]
Environment Pointer to string Environment is the deploy target this app names ("production" by default). [optional]
Image Pointer to PlatformImageOrigin Image is the container image to run, for source `image`. [optional]
Name Pointer to string Name is the application's display name. Required; the slug is derived from it when none is given. [optional]
Port Pointer to int64 Port is the container port the app listens on. [optional]
Project Pointer to string Project is the project to create the application under, from the path. [optional]
Replicas Pointer to int64 Replicas is how many copies to run; clamped to the deployment's limit rather than refused. [optional]
Repo Pointer to PlatformGitOrigin Repo is the git source to build from, for source `git`. [optional]
Slug Pointer to string Slug is the app's identity in the cluster — its CR name and part of its host. Given or derived from Name, it must match `^a-z0-9?$`, and one already used in this project is 409. [optional]
Source Pointer to string Source is `git`, which requires repo.url, or `image`, which requires image.repository. Anything else is 400. [optional]
StorageGb Pointer to int64 StorageGB is the persistent volume size in GiB; absent means stateless. Clamped to the deployment's limit rather than refused. [optional]

Methods

NewPlatformCreateAppReq

func NewPlatformCreateAppReq() *PlatformCreateAppReq

NewPlatformCreateAppReq instantiates a new PlatformCreateAppReq object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewPlatformCreateAppReqWithDefaults

func NewPlatformCreateAppReqWithDefaults() *PlatformCreateAppReq

NewPlatformCreateAppReqWithDefaults instantiates a new PlatformCreateAppReq object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetBuildType

func (o *PlatformCreateAppReq) GetBuildType() string

GetBuildType returns the BuildType field if non-nil, zero value otherwise.

GetBuildTypeOk

func (o *PlatformCreateAppReq) GetBuildTypeOk() (*string, bool)

GetBuildTypeOk returns a tuple with the BuildType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBuildType

func (o *PlatformCreateAppReq) SetBuildType(v string)

SetBuildType sets BuildType field to given value.

HasBuildType

func (o *PlatformCreateAppReq) HasBuildType() bool

HasBuildType returns a boolean if a field has been set.

GetDescription

func (o *PlatformCreateAppReq) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *PlatformCreateAppReq) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *PlatformCreateAppReq) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *PlatformCreateAppReq) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetDockerfile

func (o *PlatformCreateAppReq) GetDockerfile() string

GetDockerfile returns the Dockerfile field if non-nil, zero value otherwise.

GetDockerfileOk

func (o *PlatformCreateAppReq) GetDockerfileOk() (*string, bool)

GetDockerfileOk returns a tuple with the Dockerfile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDockerfile

func (o *PlatformCreateAppReq) SetDockerfile(v string)

SetDockerfile sets Dockerfile field to given value.

HasDockerfile

func (o *PlatformCreateAppReq) HasDockerfile() bool

HasDockerfile returns a boolean if a field has been set.

GetDomains

func (o *PlatformCreateAppReq) GetDomains() []string

GetDomains returns the Domains field if non-nil, zero value otherwise.

GetDomainsOk

func (o *PlatformCreateAppReq) GetDomainsOk() (*[]string, bool)

GetDomainsOk returns a tuple with the Domains field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDomains

func (o *PlatformCreateAppReq) SetDomains(v []string)

SetDomains sets Domains field to given value.

HasDomains

func (o *PlatformCreateAppReq) HasDomains() bool

HasDomains returns a boolean if a field has been set.

GetEnv

func (o *PlatformCreateAppReq) GetEnv() []PlatformEnvVarJSON

GetEnv returns the Env field if non-nil, zero value otherwise.

GetEnvOk

func (o *PlatformCreateAppReq) GetEnvOk() (*[]PlatformEnvVarJSON, bool)

GetEnvOk returns a tuple with the Env field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnv

func (o *PlatformCreateAppReq) SetEnv(v []PlatformEnvVarJSON)

SetEnv sets Env field to given value.

HasEnv

func (o *PlatformCreateAppReq) HasEnv() bool

HasEnv returns a boolean if a field has been set.

GetEnvironment

func (o *PlatformCreateAppReq) GetEnvironment() string

GetEnvironment returns the Environment field if non-nil, zero value otherwise.

GetEnvironmentOk

func (o *PlatformCreateAppReq) GetEnvironmentOk() (*string, bool)

GetEnvironmentOk returns a tuple with the Environment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnvironment

func (o *PlatformCreateAppReq) SetEnvironment(v string)

SetEnvironment sets Environment field to given value.

HasEnvironment

func (o *PlatformCreateAppReq) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

GetImage

func (o *PlatformCreateAppReq) GetImage() PlatformImageOrigin

GetImage returns the Image field if non-nil, zero value otherwise.

GetImageOk

func (o *PlatformCreateAppReq) GetImageOk() (*PlatformImageOrigin, bool)

GetImageOk returns a tuple with the Image field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImage

func (o *PlatformCreateAppReq) SetImage(v PlatformImageOrigin)

SetImage sets Image field to given value.

HasImage

func (o *PlatformCreateAppReq) HasImage() bool

HasImage returns a boolean if a field has been set.

GetName

func (o *PlatformCreateAppReq) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *PlatformCreateAppReq) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *PlatformCreateAppReq) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *PlatformCreateAppReq) HasName() bool

HasName returns a boolean if a field has been set.

GetPort

func (o *PlatformCreateAppReq) GetPort() int64

GetPort returns the Port field if non-nil, zero value otherwise.

GetPortOk

func (o *PlatformCreateAppReq) GetPortOk() (*int64, bool)

GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPort

func (o *PlatformCreateAppReq) SetPort(v int64)

SetPort sets Port field to given value.

HasPort

func (o *PlatformCreateAppReq) HasPort() bool

HasPort returns a boolean if a field has been set.

GetProject

func (o *PlatformCreateAppReq) GetProject() string

GetProject returns the Project field if non-nil, zero value otherwise.

GetProjectOk

func (o *PlatformCreateAppReq) GetProjectOk() (*string, bool)

GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProject

func (o *PlatformCreateAppReq) SetProject(v string)

SetProject sets Project field to given value.

HasProject

func (o *PlatformCreateAppReq) HasProject() bool

HasProject returns a boolean if a field has been set.

GetReplicas

func (o *PlatformCreateAppReq) GetReplicas() int64

GetReplicas returns the Replicas field if non-nil, zero value otherwise.

GetReplicasOk

func (o *PlatformCreateAppReq) GetReplicasOk() (*int64, bool)

GetReplicasOk returns a tuple with the Replicas field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetReplicas

func (o *PlatformCreateAppReq) SetReplicas(v int64)

SetReplicas sets Replicas field to given value.

HasReplicas

func (o *PlatformCreateAppReq) HasReplicas() bool

HasReplicas returns a boolean if a field has been set.

GetRepo

func (o *PlatformCreateAppReq) GetRepo() PlatformGitOrigin

GetRepo returns the Repo field if non-nil, zero value otherwise.

GetRepoOk

func (o *PlatformCreateAppReq) GetRepoOk() (*PlatformGitOrigin, bool)

GetRepoOk returns a tuple with the Repo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRepo

func (o *PlatformCreateAppReq) SetRepo(v PlatformGitOrigin)

SetRepo sets Repo field to given value.

HasRepo

func (o *PlatformCreateAppReq) HasRepo() bool

HasRepo returns a boolean if a field has been set.

GetSlug

func (o *PlatformCreateAppReq) GetSlug() string

GetSlug returns the Slug field if non-nil, zero value otherwise.

GetSlugOk

func (o *PlatformCreateAppReq) GetSlugOk() (*string, bool)

GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSlug

func (o *PlatformCreateAppReq) SetSlug(v string)

SetSlug sets Slug field to given value.

HasSlug

func (o *PlatformCreateAppReq) HasSlug() bool

HasSlug returns a boolean if a field has been set.

GetSource

func (o *PlatformCreateAppReq) GetSource() string

GetSource returns the Source field if non-nil, zero value otherwise.

GetSourceOk

func (o *PlatformCreateAppReq) GetSourceOk() (*string, bool)

GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSource

func (o *PlatformCreateAppReq) SetSource(v string)

SetSource sets Source field to given value.

HasSource

func (o *PlatformCreateAppReq) HasSource() bool

HasSource returns a boolean if a field has been set.

GetStorageGb

func (o *PlatformCreateAppReq) GetStorageGb() int64

GetStorageGb returns the StorageGb field if non-nil, zero value otherwise.

GetStorageGbOk

func (o *PlatformCreateAppReq) GetStorageGbOk() (*int64, bool)

GetStorageGbOk returns a tuple with the StorageGb field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStorageGb

func (o *PlatformCreateAppReq) SetStorageGb(v int64)

SetStorageGb sets StorageGb field to given value.

HasStorageGb

func (o *PlatformCreateAppReq) HasStorageGb() bool

HasStorageGb returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]