Name | Type | Description | Notes |
---|---|---|---|
Repository | Pointer to string | A url to a git repository (contains the provider as well) .e.g: github.com/koyeb/test. | [optional] |
Branch | Pointer to string | [optional] | |
Tag | Pointer to string | [optional] | |
Sha | Pointer to string | [optional] | |
BuildCommand | Pointer to string | [optional] | |
RunCommand | Pointer to string | [optional] | |
NoDeployOnPush | Pointer to bool | [optional] | |
Workdir | Pointer to string | [optional] | |
Buildpack | Pointer to BuildpackBuilder | [optional] | |
Docker | Pointer to DockerBuilder | [optional] |
func NewGitSource() *GitSource
NewGitSource instantiates a new GitSource 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
func NewGitSourceWithDefaults() *GitSource
NewGitSourceWithDefaults instantiates a new GitSource 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
func (o *GitSource) GetRepository() string
GetRepository returns the Repository field if non-nil, zero value otherwise.
func (o *GitSource) GetRepositoryOk() (*string, bool)
GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitSource) SetRepository(v string)
SetRepository sets Repository field to given value.
func (o *GitSource) HasRepository() bool
HasRepository returns a boolean if a field has been set.
func (o *GitSource) GetBranch() string
GetBranch returns the Branch field if non-nil, zero value otherwise.
func (o *GitSource) GetBranchOk() (*string, bool)
GetBranchOk returns a tuple with the Branch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitSource) SetBranch(v string)
SetBranch sets Branch field to given value.
func (o *GitSource) HasBranch() bool
HasBranch returns a boolean if a field has been set.
func (o *GitSource) GetTag() string
GetTag returns the Tag field if non-nil, zero value otherwise.
func (o *GitSource) GetTagOk() (*string, bool)
GetTagOk returns a tuple with the Tag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitSource) SetTag(v string)
SetTag sets Tag field to given value.
func (o *GitSource) HasTag() bool
HasTag returns a boolean if a field has been set.
func (o *GitSource) GetSha() string
GetSha returns the Sha field if non-nil, zero value otherwise.
func (o *GitSource) GetShaOk() (*string, bool)
GetShaOk returns a tuple with the Sha field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitSource) SetSha(v string)
SetSha sets Sha field to given value.
func (o *GitSource) HasSha() bool
HasSha returns a boolean if a field has been set.
func (o *GitSource) GetBuildCommand() string
GetBuildCommand returns the BuildCommand field if non-nil, zero value otherwise.
func (o *GitSource) GetBuildCommandOk() (*string, bool)
GetBuildCommandOk returns a tuple with the BuildCommand field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitSource) SetBuildCommand(v string)
SetBuildCommand sets BuildCommand field to given value.
func (o *GitSource) HasBuildCommand() bool
HasBuildCommand returns a boolean if a field has been set.
func (o *GitSource) GetRunCommand() string
GetRunCommand returns the RunCommand field if non-nil, zero value otherwise.
func (o *GitSource) GetRunCommandOk() (*string, bool)
GetRunCommandOk returns a tuple with the RunCommand field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitSource) SetRunCommand(v string)
SetRunCommand sets RunCommand field to given value.
func (o *GitSource) HasRunCommand() bool
HasRunCommand returns a boolean if a field has been set.
func (o *GitSource) GetNoDeployOnPush() bool
GetNoDeployOnPush returns the NoDeployOnPush field if non-nil, zero value otherwise.
func (o *GitSource) GetNoDeployOnPushOk() (*bool, bool)
GetNoDeployOnPushOk returns a tuple with the NoDeployOnPush field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitSource) SetNoDeployOnPush(v bool)
SetNoDeployOnPush sets NoDeployOnPush field to given value.
func (o *GitSource) HasNoDeployOnPush() bool
HasNoDeployOnPush returns a boolean if a field has been set.
func (o *GitSource) GetWorkdir() string
GetWorkdir returns the Workdir field if non-nil, zero value otherwise.
func (o *GitSource) GetWorkdirOk() (*string, bool)
GetWorkdirOk returns a tuple with the Workdir field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitSource) SetWorkdir(v string)
SetWorkdir sets Workdir field to given value.
func (o *GitSource) HasWorkdir() bool
HasWorkdir returns a boolean if a field has been set.
func (o *GitSource) GetBuildpack() BuildpackBuilder
GetBuildpack returns the Buildpack field if non-nil, zero value otherwise.
func (o *GitSource) GetBuildpackOk() (*BuildpackBuilder, bool)
GetBuildpackOk returns a tuple with the Buildpack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitSource) SetBuildpack(v BuildpackBuilder)
SetBuildpack sets Buildpack field to given value.
func (o *GitSource) HasBuildpack() bool
HasBuildpack returns a boolean if a field has been set.
func (o *GitSource) GetDocker() DockerBuilder
GetDocker returns the Docker field if non-nil, zero value otherwise.
func (o *GitSource) GetDockerOk() (*DockerBuilder, bool)
GetDockerOk returns a tuple with the Docker field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitSource) SetDocker(v DockerBuilder)
SetDocker sets Docker field to given value.
func (o *GitSource) HasDocker() bool
HasDocker returns a boolean if a field has been set.