Documentation ¶
Overview ¶
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package cloudbuildv2 defines operations in the declarative SDK.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func DCLConnectionSchema() *dcl.Schema
- func DCLRepositorySchema() *dcl.Schema
- type Client
- func (c *Client) ApplyConnection(ctx context.Context, rawDesired *Connection, opts ...dcl.ApplyOption) (*Connection, error)
- func (c *Client) ApplyRepository(ctx context.Context, rawDesired *Repository, opts ...dcl.ApplyOption) (*Repository, error)
- func (c *Client) DeleteAllConnection(ctx context.Context, project, location string, filter func(*Connection) bool) error
- func (c *Client) DeleteAllRepository(ctx context.Context, project, location, connection string, ...) error
- func (c *Client) DeleteConnection(ctx context.Context, r *Connection) error
- func (c *Client) DeleteRepository(ctx context.Context, r *Repository) error
- func (c *Client) GetConnection(ctx context.Context, r *Connection) (*Connection, error)
- func (c *Client) GetRepository(ctx context.Context, r *Repository) (*Repository, error)
- func (c *Client) ListConnection(ctx context.Context, project, location string) (*ConnectionList, error)
- func (c *Client) ListConnectionWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*ConnectionList, error)
- func (c *Client) ListRepository(ctx context.Context, project, location, connection string) (*RepositoryList, error)
- func (c *Client) ListRepositoryWithMaxResults(ctx context.Context, project, location, connection string, pageSize int32) (*RepositoryList, error)
- type Connection
- type ConnectionGithubConfig
- type ConnectionGithubConfigAuthorizerCredential
- type ConnectionGithubEnterpriseConfig
- type ConnectionGithubEnterpriseConfigServiceDirectoryConfig
- func (r *ConnectionGithubEnterpriseConfigServiceDirectoryConfig) Empty() bool
- func (r *ConnectionGithubEnterpriseConfigServiceDirectoryConfig) HashCode() string
- func (r *ConnectionGithubEnterpriseConfigServiceDirectoryConfig) String() string
- func (r *ConnectionGithubEnterpriseConfigServiceDirectoryConfig) UnmarshalJSON(data []byte) error
- type ConnectionGitlabConfig
- type ConnectionGitlabConfigAuthorizerCredential
- type ConnectionGitlabConfigReadAuthorizerCredential
- func (r *ConnectionGitlabConfigReadAuthorizerCredential) Empty() bool
- func (r *ConnectionGitlabConfigReadAuthorizerCredential) HashCode() string
- func (r *ConnectionGitlabConfigReadAuthorizerCredential) String() string
- func (r *ConnectionGitlabConfigReadAuthorizerCredential) UnmarshalJSON(data []byte) error
- type ConnectionGitlabConfigServiceDirectoryConfig
- type ConnectionInstallationState
- type ConnectionInstallationStateStageEnum
- type ConnectionList
- type Repository
- type RepositoryList
Constants ¶
const ConnectionMaxPage = -1
const RepositoryMaxPage = -1
Variables ¶
var YAML_connection = []byte("info:\n title: Cloudbuildv2/Connection\n description: The Cloudbuildv2 Connection resource\n x-dcl-struct-name: Connection\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Connection\n parameters:\n - name: connection\n required: true\n description: A full instance of a Connection\n apply:\n description: The function used to apply information about a Connection\n parameters:\n - name: connection\n required: true\n description: A full instance of a Connection\n delete:\n description: The function used to delete a Connection\n parameters:\n - name: connection\n required: true\n description: A full instance of a Connection\n deleteAll:\n description: The function used to delete all Connection\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Connection\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Connection:\n title: Connection\n x-dcl-id: projects/{{project}}/locations/{{location}}/connections/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - name\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: Allows clients to store small amounts of arbitrary data.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Server assigned timestamp for when the connection\n was created.\n x-kubernetes-immutable: true\n disabled:\n type: boolean\n x-dcl-go-name: Disabled\n description: If disabled is set to true, functionality is disabled for this\n connection. Repository based API methods and webhooks processing for repositories\n in this connection will be disabled.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: This checksum is computed by the server based on the value\n of other fields, and may be sent on update and delete requests to ensure\n the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n githubConfig:\n type: object\n x-dcl-go-name: GithubConfig\n x-dcl-go-type: ConnectionGithubConfig\n description: Configuration for connections to github.com.\n x-dcl-conflicts:\n - githubEnterpriseConfig\n - gitlabConfig\n properties:\n appInstallationId:\n type: integer\n format: int64\n x-dcl-go-name: AppInstallationId\n description: GitHub App installation id.\n authorizerCredential:\n type: object\n x-dcl-go-name: AuthorizerCredential\n x-dcl-go-type: ConnectionGithubConfigAuthorizerCredential\n description: OAuth credential of the account that authorized the Cloud\n Build GitHub App. It is recommended to use a robot account instead\n of a human user account. The OAuth token must be tied to the Cloud\n Build GitHub App.\n properties:\n oauthTokenSecretVersion:\n type: string\n x-dcl-go-name: OAuthTokenSecretVersion\n description: 'A SecretManager resource containing the OAuth token\n that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.'\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: selfLink\n username:\n type: string\n x-dcl-go-name: Username\n readOnly: true\n description: Output only. The username associated to this token.\n githubEnterpriseConfig:\n type: object\n x-dcl-go-name: GithubEnterpriseConfig\n x-dcl-go-type: ConnectionGithubEnterpriseConfig\n description: Configuration for connections to an instance of GitHub Enterprise.\n x-dcl-conflicts:\n - githubConfig\n - gitlabConfig\n required:\n - hostUri\n properties:\n appId:\n type: integer\n format: int64\n x-dcl-go-name: AppId\n description: Id of the GitHub App created from the manifest.\n appInstallationId:\n type: integer\n format: int64\n x-dcl-go-name: AppInstallationId\n description: ID of the installation of the GitHub App.\n appSlug:\n type: string\n x-dcl-go-name: AppSlug\n description: The URL-friendly name of the GitHub App.\n hostUri:\n type: string\n x-dcl-go-name: HostUri\n description: Required. The URI of the GitHub Enterprise host this connection\n is for.\n privateKeySecretVersion:\n type: string\n x-dcl-go-name: PrivateKeySecretVersion\n description: SecretManager resource containing the private key of the\n GitHub App, formatted as `projects/*/secrets/*/versions/*`.\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: selfLink\n serviceDirectoryConfig:\n type: object\n x-dcl-go-name: ServiceDirectoryConfig\n x-dcl-go-type: ConnectionGithubEnterpriseConfigServiceDirectoryConfig\n description: Configuration for using Service Directory to privately\n connect to a GitHub Enterprise server. This should only be set if\n the GitHub Enterprise server is hosted on-premises and not reachable\n by public internet. If this field is left empty, calls to the GitHub\n Enterprise server will be made over the public internet.\n required:\n - service\n properties:\n service:\n type: string\n x-dcl-go-name: Service\n description: 'Required. The Service Directory service name. Format:\n projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.'\n x-dcl-references:\n - resource: Servicedirectory/Service\n field: selfLink\n sslCa:\n type: string\n x-dcl-go-name: SslCa\n description: SSL certificate to use for requests to GitHub Enterprise.\n webhookSecretSecretVersion:\n type: string\n x-dcl-go-name: WebhookSecretSecretVersion\n description: SecretManager resource containing the webhook secret of\n the GitHub App, formatted as `projects/*/secrets/*/versions/*`.\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: selfLink\n gitlabConfig:\n type: object\n x-dcl-go-name: GitlabConfig\n x-dcl-go-type: ConnectionGitlabConfig\n description: Configuration for connections to gitlab.com or an instance\n of GitLab Enterprise.\n x-dcl-conflicts:\n - githubConfig\n - githubEnterpriseConfig\n required:\n - webhookSecretSecretVersion\n - readAuthorizerCredential\n - authorizerCredential\n properties:\n authorizerCredential:\n type: object\n x-dcl-go-name: AuthorizerCredential\n x-dcl-go-type: ConnectionGitlabConfigAuthorizerCredential\n description: Required. A GitLab personal access token with the `api`\n scope access.\n required:\n - userTokenSecretVersion\n properties:\n userTokenSecretVersion:\n type: string\n x-dcl-go-name: UserTokenSecretVersion\n description: 'Required. A SecretManager resource containing the\n user token that authorizes the Cloud Build connection. Format:\n `projects/*/secrets/*/versions/*`.'\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: selfLink\n username:\n type: string\n x-dcl-go-name: Username\n readOnly: true\n description: Output only. The username associated to this token.\n hostUri:\n type: string\n x-dcl-go-name: HostUri\n description: The URI of the GitLab Enterprise host this connection is\n for. If not specified, the default value is https://gitlab.com.\n x-dcl-server-default: true\n readAuthorizerCredential:\n type: object\n x-dcl-go-name: ReadAuthorizerCredential\n x-dcl-go-type: ConnectionGitlabConfigReadAuthorizerCredential\n description: Required. A GitLab personal access token with the minimum\n `read_api` scope access.\n required:\n - userTokenSecretVersion\n properties:\n userTokenSecretVersion:\n type: string\n x-dcl-go-name: UserTokenSecretVersion\n description: 'Required. A SecretManager resource containing the\n user token that authorizes the Cloud Build connection. Format:\n `projects/*/secrets/*/versions/*`.'\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: selfLink\n username:\n type: string\n x-dcl-go-name: Username\n readOnly: true\n description: Output only. The username associated to this token.\n serverVersion:\n type: string\n x-dcl-go-name: ServerVersion\n readOnly: true\n description: Output only. Version of the GitLab Enterprise server running\n on the `host_uri`.\n serviceDirectoryConfig:\n type: object\n x-dcl-go-name: ServiceDirectoryConfig\n x-dcl-go-type: ConnectionGitlabConfigServiceDirectoryConfig\n description: Configuration for using Service Directory to privately\n connect to a GitLab Enterprise server. This should only be set if\n the GitLab Enterprise server is hosted on-premises and not reachable\n by public internet. If this field is left empty, calls to the GitLab\n Enterprise server will be made over the public internet.\n required:\n - service\n properties:\n service:\n type: string\n x-dcl-go-name: Service\n description: 'Required. The Service Directory service name. Format:\n projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.'\n x-dcl-references:\n - resource: Servicedirectory/Service\n field: selfLink\n sslCa:\n type: string\n x-dcl-go-name: SslCa\n description: SSL certificate to use for requests to GitLab Enterprise.\n webhookSecretSecretVersion:\n type: string\n x-dcl-go-name: WebhookSecretSecretVersion\n description: Required. Immutable. SecretManager resource containing\n the webhook secret of a GitLab Enterprise project, formatted as `projects/*/secrets/*/versions/*`.\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: selfLink\n installationState:\n type: object\n x-dcl-go-name: InstallationState\n x-dcl-go-type: ConnectionInstallationState\n readOnly: true\n description: Output only. Installation state of the Connection.\n x-kubernetes-immutable: true\n properties:\n actionUri:\n type: string\n x-dcl-go-name: ActionUri\n readOnly: true\n description: Output only. Link to follow for next action. Empty string\n if the installation is already complete.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n readOnly: true\n description: Output only. Message of what the user should do next to\n continue the installation. Empty string if the installation is already\n complete.\n x-kubernetes-immutable: true\n stage:\n type: string\n x-dcl-go-name: Stage\n x-dcl-go-type: ConnectionInstallationStateStageEnum\n readOnly: true\n description: 'Output only. Current step of the installation process.\n Possible values: STAGE_UNSPECIFIED, PENDING_CREATE_APP, PENDING_USER_OAUTH,\n PENDING_INSTALL_APP, COMPLETE'\n x-kubernetes-immutable: true\n enum:\n - STAGE_UNSPECIFIED\n - PENDING_CREATE_APP\n - PENDING_USER_OAUTH\n - PENDING_INSTALL_APP\n - COMPLETE\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n x-dcl-parameter: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Immutable. The resource name of the connection, in the format\n `projects/{project}/locations/{location}/connections/{connection_id}`.\n x-kubernetes-immutable: true\n x-dcl-parameter: true\n x-dcl-has-long-form: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-parameter: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. Set to true when the connection is being set up\n or updated in the background.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Server assigned timestamp for when the connection\n was updated.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudbuildv2/connection.yaml
var YAML_repository = []byte("info:\n title: Cloudbuildv2/Repository\n description: The Cloudbuildv2 Repository resource\n x-dcl-struct-name: Repository\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Repository\n parameters:\n - name: repository\n required: true\n description: A full instance of a Repository\n apply:\n description: The function used to apply information about a Repository\n parameters:\n - name: repository\n required: true\n description: A full instance of a Repository\n delete:\n description: The function used to delete a Repository\n parameters:\n - name: repository\n required: true\n description: A full instance of a Repository\n deleteAll:\n description: The function used to delete all Repository\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: connection\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Repository\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: connection\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Repository:\n title: Repository\n x-dcl-id: projects/{{project}}/locations/{{location}}/connections/{{connection}}/repositories/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - name\n - remoteUri\n - connection\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: Allows clients to store small amounts of arbitrary data.\n x-kubernetes-immutable: true\n connection:\n type: string\n x-dcl-go-name: Connection\n description: The connection for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudbuildv2/Connection\n field: name\n parent: true\n x-dcl-parameter: true\n x-dcl-has-long-form: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Server assigned timestamp for when the connection\n was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: This checksum is computed by the server based on the value\n of other fields, and may be sent on update and delete requests to ensure\n the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n x-dcl-extract-if-empty: true\n x-dcl-parameter: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the repository.\n x-kubernetes-immutable: true\n x-dcl-has-long-form: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-extract-if-empty: true\n x-dcl-parameter: true\n remoteUri:\n type: string\n x-dcl-go-name: RemoteUri\n description: Required. Git Clone HTTPS URI.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Server assigned timestamp for when the connection\n was updated.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudbuildv2/repository.yaml
Functions ¶
func DCLConnectionSchema ¶
func DCLRepositorySchema ¶
Types ¶
type Client ¶
The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.
func (*Client) ApplyConnection ¶
func (c *Client) ApplyConnection(ctx context.Context, rawDesired *Connection, opts ...dcl.ApplyOption) (*Connection, error)
func (*Client) ApplyRepository ¶
func (c *Client) ApplyRepository(ctx context.Context, rawDesired *Repository, opts ...dcl.ApplyOption) (*Repository, error)
func (*Client) DeleteAllConnection ¶
func (c *Client) DeleteAllConnection(ctx context.Context, project, location string, filter func(*Connection) bool) error
DeleteAllConnection deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllRepository ¶
func (c *Client) DeleteAllRepository(ctx context.Context, project, location, connection string, filter func(*Repository) bool) error
DeleteAllRepository deletes all resources that the filter functions returns true on.
func (*Client) DeleteConnection ¶
func (c *Client) DeleteConnection(ctx context.Context, r *Connection) error
func (*Client) DeleteRepository ¶
func (c *Client) DeleteRepository(ctx context.Context, r *Repository) error
func (*Client) GetConnection ¶
func (c *Client) GetConnection(ctx context.Context, r *Connection) (*Connection, error)
func (*Client) GetRepository ¶
func (c *Client) GetRepository(ctx context.Context, r *Repository) (*Repository, error)
func (*Client) ListConnection ¶
func (*Client) ListConnectionWithMaxResults ¶
func (*Client) ListRepository ¶
func (*Client) ListRepositoryWithMaxResults ¶
type Connection ¶
type Connection struct { Name *string `json:"name"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` GithubConfig *ConnectionGithubConfig `json:"githubConfig"` GithubEnterpriseConfig *ConnectionGithubEnterpriseConfig `json:"githubEnterpriseConfig"` GitlabConfig *ConnectionGitlabConfig `json:"gitlabConfig"` InstallationState *ConnectionInstallationState `json:"installationState"` Disabled *bool `json:"disabled"` Reconciling *bool `json:"reconciling"` Annotations map[string]string `json:"annotations"` Etag *string `json:"etag"` Project *string `json:"project"` Location *string `json:"location"` }
func (*Connection) Describe ¶
func (r *Connection) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*Connection) ID ¶
func (r *Connection) ID() (string, error)
func (*Connection) String ¶
func (r *Connection) String() string
type ConnectionGithubConfig ¶
type ConnectionGithubConfig struct { AuthorizerCredential *ConnectionGithubConfigAuthorizerCredential `json:"authorizerCredential"` AppInstallationId *int64 `json:"appInstallationId"` // contains filtered or unexported fields }
var EmptyConnectionGithubConfig *ConnectionGithubConfig = &ConnectionGithubConfig{empty: true}
This object is used to assert a desired state where this ConnectionGithubConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionGithubConfig) Empty ¶
func (r *ConnectionGithubConfig) Empty() bool
func (*ConnectionGithubConfig) HashCode ¶
func (r *ConnectionGithubConfig) HashCode() string
func (*ConnectionGithubConfig) String ¶
func (r *ConnectionGithubConfig) String() string
func (*ConnectionGithubConfig) UnmarshalJSON ¶
func (r *ConnectionGithubConfig) UnmarshalJSON(data []byte) error
type ConnectionGithubConfigAuthorizerCredential ¶
type ConnectionGithubConfigAuthorizerCredential struct { OAuthTokenSecretVersion *string `json:"oauthTokenSecretVersion"` Username *string `json:"username"` // contains filtered or unexported fields }
var EmptyConnectionGithubConfigAuthorizerCredential *ConnectionGithubConfigAuthorizerCredential = &ConnectionGithubConfigAuthorizerCredential{empty: true}
This object is used to assert a desired state where this ConnectionGithubConfigAuthorizerCredential is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionGithubConfigAuthorizerCredential) Empty ¶
func (r *ConnectionGithubConfigAuthorizerCredential) Empty() bool
func (*ConnectionGithubConfigAuthorizerCredential) HashCode ¶
func (r *ConnectionGithubConfigAuthorizerCredential) HashCode() string
func (*ConnectionGithubConfigAuthorizerCredential) String ¶
func (r *ConnectionGithubConfigAuthorizerCredential) String() string
func (*ConnectionGithubConfigAuthorizerCredential) UnmarshalJSON ¶
func (r *ConnectionGithubConfigAuthorizerCredential) UnmarshalJSON(data []byte) error
type ConnectionGithubEnterpriseConfig ¶
type ConnectionGithubEnterpriseConfig struct { HostUri *string `json:"hostUri"` AppId *int64 `json:"appId"` AppSlug *string `json:"appSlug"` PrivateKeySecretVersion *string `json:"privateKeySecretVersion"` WebhookSecretSecretVersion *string `json:"webhookSecretSecretVersion"` AppInstallationId *int64 `json:"appInstallationId"` ServiceDirectoryConfig *ConnectionGithubEnterpriseConfigServiceDirectoryConfig `json:"serviceDirectoryConfig"` SslCa *string `json:"sslCa"` // contains filtered or unexported fields }
var EmptyConnectionGithubEnterpriseConfig *ConnectionGithubEnterpriseConfig = &ConnectionGithubEnterpriseConfig{empty: true}
This object is used to assert a desired state where this ConnectionGithubEnterpriseConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionGithubEnterpriseConfig) Empty ¶
func (r *ConnectionGithubEnterpriseConfig) Empty() bool
func (*ConnectionGithubEnterpriseConfig) HashCode ¶
func (r *ConnectionGithubEnterpriseConfig) HashCode() string
func (*ConnectionGithubEnterpriseConfig) String ¶
func (r *ConnectionGithubEnterpriseConfig) String() string
func (*ConnectionGithubEnterpriseConfig) UnmarshalJSON ¶
func (r *ConnectionGithubEnterpriseConfig) UnmarshalJSON(data []byte) error
type ConnectionGithubEnterpriseConfigServiceDirectoryConfig ¶
type ConnectionGithubEnterpriseConfigServiceDirectoryConfig struct { Service *string `json:"service"` // contains filtered or unexported fields }
var EmptyConnectionGithubEnterpriseConfigServiceDirectoryConfig *ConnectionGithubEnterpriseConfigServiceDirectoryConfig = &ConnectionGithubEnterpriseConfigServiceDirectoryConfig{empty: true}
This object is used to assert a desired state where this ConnectionGithubEnterpriseConfigServiceDirectoryConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionGithubEnterpriseConfigServiceDirectoryConfig) Empty ¶
func (r *ConnectionGithubEnterpriseConfigServiceDirectoryConfig) Empty() bool
func (*ConnectionGithubEnterpriseConfigServiceDirectoryConfig) HashCode ¶
func (r *ConnectionGithubEnterpriseConfigServiceDirectoryConfig) HashCode() string
func (*ConnectionGithubEnterpriseConfigServiceDirectoryConfig) String ¶
func (r *ConnectionGithubEnterpriseConfigServiceDirectoryConfig) String() string
func (*ConnectionGithubEnterpriseConfigServiceDirectoryConfig) UnmarshalJSON ¶
func (r *ConnectionGithubEnterpriseConfigServiceDirectoryConfig) UnmarshalJSON(data []byte) error
type ConnectionGitlabConfig ¶
type ConnectionGitlabConfig struct { HostUri *string `json:"hostUri"` WebhookSecretSecretVersion *string `json:"webhookSecretSecretVersion"` ReadAuthorizerCredential *ConnectionGitlabConfigReadAuthorizerCredential `json:"readAuthorizerCredential"` AuthorizerCredential *ConnectionGitlabConfigAuthorizerCredential `json:"authorizerCredential"` ServiceDirectoryConfig *ConnectionGitlabConfigServiceDirectoryConfig `json:"serviceDirectoryConfig"` SslCa *string `json:"sslCa"` ServerVersion *string `json:"serverVersion"` // contains filtered or unexported fields }
var EmptyConnectionGitlabConfig *ConnectionGitlabConfig = &ConnectionGitlabConfig{empty: true}
This object is used to assert a desired state where this ConnectionGitlabConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionGitlabConfig) Empty ¶
func (r *ConnectionGitlabConfig) Empty() bool
func (*ConnectionGitlabConfig) HashCode ¶
func (r *ConnectionGitlabConfig) HashCode() string
func (*ConnectionGitlabConfig) String ¶
func (r *ConnectionGitlabConfig) String() string
func (*ConnectionGitlabConfig) UnmarshalJSON ¶
func (r *ConnectionGitlabConfig) UnmarshalJSON(data []byte) error
type ConnectionGitlabConfigAuthorizerCredential ¶
type ConnectionGitlabConfigAuthorizerCredential struct { UserTokenSecretVersion *string `json:"userTokenSecretVersion"` Username *string `json:"username"` // contains filtered or unexported fields }
var EmptyConnectionGitlabConfigAuthorizerCredential *ConnectionGitlabConfigAuthorizerCredential = &ConnectionGitlabConfigAuthorizerCredential{empty: true}
This object is used to assert a desired state where this ConnectionGitlabConfigAuthorizerCredential is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionGitlabConfigAuthorizerCredential) Empty ¶
func (r *ConnectionGitlabConfigAuthorizerCredential) Empty() bool
func (*ConnectionGitlabConfigAuthorizerCredential) HashCode ¶
func (r *ConnectionGitlabConfigAuthorizerCredential) HashCode() string
func (*ConnectionGitlabConfigAuthorizerCredential) String ¶
func (r *ConnectionGitlabConfigAuthorizerCredential) String() string
func (*ConnectionGitlabConfigAuthorizerCredential) UnmarshalJSON ¶
func (r *ConnectionGitlabConfigAuthorizerCredential) UnmarshalJSON(data []byte) error
type ConnectionGitlabConfigReadAuthorizerCredential ¶
type ConnectionGitlabConfigReadAuthorizerCredential struct { UserTokenSecretVersion *string `json:"userTokenSecretVersion"` Username *string `json:"username"` // contains filtered or unexported fields }
var EmptyConnectionGitlabConfigReadAuthorizerCredential *ConnectionGitlabConfigReadAuthorizerCredential = &ConnectionGitlabConfigReadAuthorizerCredential{empty: true}
This object is used to assert a desired state where this ConnectionGitlabConfigReadAuthorizerCredential is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionGitlabConfigReadAuthorizerCredential) Empty ¶
func (r *ConnectionGitlabConfigReadAuthorizerCredential) Empty() bool
func (*ConnectionGitlabConfigReadAuthorizerCredential) HashCode ¶
func (r *ConnectionGitlabConfigReadAuthorizerCredential) HashCode() string
func (*ConnectionGitlabConfigReadAuthorizerCredential) String ¶
func (r *ConnectionGitlabConfigReadAuthorizerCredential) String() string
func (*ConnectionGitlabConfigReadAuthorizerCredential) UnmarshalJSON ¶
func (r *ConnectionGitlabConfigReadAuthorizerCredential) UnmarshalJSON(data []byte) error
type ConnectionGitlabConfigServiceDirectoryConfig ¶
type ConnectionGitlabConfigServiceDirectoryConfig struct { Service *string `json:"service"` // contains filtered or unexported fields }
var EmptyConnectionGitlabConfigServiceDirectoryConfig *ConnectionGitlabConfigServiceDirectoryConfig = &ConnectionGitlabConfigServiceDirectoryConfig{empty: true}
This object is used to assert a desired state where this ConnectionGitlabConfigServiceDirectoryConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionGitlabConfigServiceDirectoryConfig) Empty ¶
func (r *ConnectionGitlabConfigServiceDirectoryConfig) Empty() bool
func (*ConnectionGitlabConfigServiceDirectoryConfig) HashCode ¶
func (r *ConnectionGitlabConfigServiceDirectoryConfig) HashCode() string
func (*ConnectionGitlabConfigServiceDirectoryConfig) String ¶
func (r *ConnectionGitlabConfigServiceDirectoryConfig) String() string
func (*ConnectionGitlabConfigServiceDirectoryConfig) UnmarshalJSON ¶
func (r *ConnectionGitlabConfigServiceDirectoryConfig) UnmarshalJSON(data []byte) error
type ConnectionInstallationState ¶
type ConnectionInstallationState struct { Stage *ConnectionInstallationStateStageEnum `json:"stage"` Message *string `json:"message"` ActionUri *string `json:"actionUri"` // contains filtered or unexported fields }
var EmptyConnectionInstallationState *ConnectionInstallationState = &ConnectionInstallationState{empty: true}
This object is used to assert a desired state where this ConnectionInstallationState is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionInstallationState) Empty ¶
func (r *ConnectionInstallationState) Empty() bool
func (*ConnectionInstallationState) HashCode ¶
func (r *ConnectionInstallationState) HashCode() string
func (*ConnectionInstallationState) String ¶
func (r *ConnectionInstallationState) String() string
func (*ConnectionInstallationState) UnmarshalJSON ¶
func (r *ConnectionInstallationState) UnmarshalJSON(data []byte) error
type ConnectionInstallationStateStageEnum ¶
type ConnectionInstallationStateStageEnum string
The enum ConnectionInstallationStateStageEnum.
func ConnectionInstallationStateStageEnumRef ¶
func ConnectionInstallationStateStageEnumRef(s string) *ConnectionInstallationStateStageEnum
ConnectionInstallationStateStageEnumRef returns a *ConnectionInstallationStateStageEnum with the value of string s If the empty string is provided, nil is returned.
func (ConnectionInstallationStateStageEnum) Validate ¶
func (v ConnectionInstallationStateStageEnum) Validate() error
type ConnectionList ¶
type ConnectionList struct { Items []*Connection // contains filtered or unexported fields }
func (*ConnectionList) HasNext ¶
func (l *ConnectionList) HasNext() bool
type Repository ¶
type Repository struct { Name *string `json:"name"` RemoteUri *string `json:"remoteUri"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` Annotations map[string]string `json:"annotations"` Etag *string `json:"etag"` Project *string `json:"project"` Location *string `json:"location"` Connection *string `json:"connection"` }
func (*Repository) Describe ¶
func (r *Repository) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*Repository) ID ¶
func (r *Repository) ID() (string, error)
func (*Repository) String ¶
func (r *Repository) String() string
type RepositoryList ¶
type RepositoryList struct { Items []*Repository // contains filtered or unexported fields }
func (*RepositoryList) HasNext ¶
func (l *RepositoryList) HasNext() bool