Reference documentation and code samples for the Google Cloud Deploy V1 Client class SkaffoldModules.
Skaffold Config modules and their remote source.
Generated from protobuf message google.cloud.deploy.v1.SkaffoldModules
Namespace
Google \ Cloud \ Deploy \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ configs |
array
Optional. The Skaffold Config modules to use from the specified source. |
↳ git |
Google\Cloud\Deploy\V1\SkaffoldModules\SkaffoldGitSource
Remote git repository containing the Skaffold Config modules. |
↳ google_cloud_storage |
Google\Cloud\Deploy\V1\SkaffoldModules\SkaffoldGCSSource
Cloud Storage bucket containing the Skaffold Config modules. |
↳ google_cloud_build_repo |
Google\Cloud\Deploy\V1\SkaffoldModules\SkaffoldGCBRepoSource
Cloud Build V2 repository containing the Skaffold Config modules. |
getConfigs
Optional. The Skaffold Config modules to use from the specified source.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setConfigs
Optional. The Skaffold Config modules to use from the specified source.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getGit
Remote git repository containing the Skaffold Config modules.
Returns | |
---|---|
Type | Description |
Google\Cloud\Deploy\V1\SkaffoldModules\SkaffoldGitSource|null |
hasGit
setGit
Remote git repository containing the Skaffold Config modules.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Deploy\V1\SkaffoldModules\SkaffoldGitSource
|
Returns | |
---|---|
Type | Description |
$this |
getGoogleCloudStorage
Cloud Storage bucket containing the Skaffold Config modules.
Returns | |
---|---|
Type | Description |
Google\Cloud\Deploy\V1\SkaffoldModules\SkaffoldGCSSource|null |
hasGoogleCloudStorage
setGoogleCloudStorage
Cloud Storage bucket containing the Skaffold Config modules.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Deploy\V1\SkaffoldModules\SkaffoldGCSSource
|
Returns | |
---|---|
Type | Description |
$this |
getGoogleCloudBuildRepo
Cloud Build V2 repository containing the Skaffold Config modules.
Returns | |
---|---|
Type | Description |
Google\Cloud\Deploy\V1\SkaffoldModules\SkaffoldGCBRepoSource|null |
hasGoogleCloudBuildRepo
setGoogleCloudBuildRepo
Cloud Build V2 repository containing the Skaffold Config modules.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Deploy\V1\SkaffoldModules\SkaffoldGCBRepoSource
|
Returns | |
---|---|
Type | Description |
$this |
getSource
Returns | |
---|---|
Type | Description |
string |