Documentation
¶
Overview ¶
Copyright 2026 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 alpha defines operations in the declarative SDK.
Copyright 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 ConnectionBitbucketCloudConfig
- type ConnectionBitbucketCloudConfigAuthorizerCredential
- func (r *ConnectionBitbucketCloudConfigAuthorizerCredential) Empty() bool
- func (r *ConnectionBitbucketCloudConfigAuthorizerCredential) HashCode() string
- func (r *ConnectionBitbucketCloudConfigAuthorizerCredential) String() string
- func (r *ConnectionBitbucketCloudConfigAuthorizerCredential) UnmarshalJSON(data []byte) error
- type ConnectionBitbucketCloudConfigReadAuthorizerCredential
- func (r *ConnectionBitbucketCloudConfigReadAuthorizerCredential) Empty() bool
- func (r *ConnectionBitbucketCloudConfigReadAuthorizerCredential) HashCode() string
- func (r *ConnectionBitbucketCloudConfigReadAuthorizerCredential) String() string
- func (r *ConnectionBitbucketCloudConfigReadAuthorizerCredential) UnmarshalJSON(data []byte) error
- type ConnectionBitbucketDataCenterConfig
- type ConnectionBitbucketDataCenterConfigAuthorizerCredential
- func (r *ConnectionBitbucketDataCenterConfigAuthorizerCredential) Empty() bool
- func (r *ConnectionBitbucketDataCenterConfigAuthorizerCredential) HashCode() string
- func (r *ConnectionBitbucketDataCenterConfigAuthorizerCredential) String() string
- func (r *ConnectionBitbucketDataCenterConfigAuthorizerCredential) UnmarshalJSON(data []byte) error
- type ConnectionBitbucketDataCenterConfigReadAuthorizerCredential
- func (r *ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) Empty() bool
- func (r *ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) HashCode() string
- func (r *ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) String() string
- func (r *ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) UnmarshalJSON(data []byte) error
- type ConnectionBitbucketDataCenterConfigServiceDirectoryConfig
- func (r *ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) Empty() bool
- func (r *ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) HashCode() string
- func (r *ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) String() string
- func (r *ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) UnmarshalJSON(data []byte) error
- 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
var YAML_repository []byte
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"`
BitbucketDataCenterConfig *ConnectionBitbucketDataCenterConfig `json:"bitbucketDataCenterConfig"`
BitbucketCloudConfig *ConnectionBitbucketCloudConfig `json:"bitbucketCloudConfig"`
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 ConnectionBitbucketCloudConfig ¶ added in v1.61.0
type ConnectionBitbucketCloudConfig struct {
Workspace *string `json:"workspace"`
WebhookSecretSecretVersion *string `json:"webhookSecretSecretVersion"`
ReadAuthorizerCredential *ConnectionBitbucketCloudConfigReadAuthorizerCredential `json:"readAuthorizerCredential"`
AuthorizerCredential *ConnectionBitbucketCloudConfigAuthorizerCredential `json:"authorizerCredential"`
// contains filtered or unexported fields
}
var EmptyConnectionBitbucketCloudConfig *ConnectionBitbucketCloudConfig = &ConnectionBitbucketCloudConfig{empty: true}
This object is used to assert a desired state where this ConnectionBitbucketCloudConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionBitbucketCloudConfig) Empty ¶ added in v1.61.0
func (r *ConnectionBitbucketCloudConfig) Empty() bool
func (*ConnectionBitbucketCloudConfig) HashCode ¶ added in v1.61.0
func (r *ConnectionBitbucketCloudConfig) HashCode() string
func (*ConnectionBitbucketCloudConfig) String ¶ added in v1.61.0
func (r *ConnectionBitbucketCloudConfig) String() string
func (*ConnectionBitbucketCloudConfig) UnmarshalJSON ¶ added in v1.61.0
func (r *ConnectionBitbucketCloudConfig) UnmarshalJSON(data []byte) error
type ConnectionBitbucketCloudConfigAuthorizerCredential ¶ added in v1.61.0
type ConnectionBitbucketCloudConfigAuthorizerCredential struct {
UserTokenSecretVersion *string `json:"userTokenSecretVersion"`
Username *string `json:"username"`
// contains filtered or unexported fields
}
var EmptyConnectionBitbucketCloudConfigAuthorizerCredential *ConnectionBitbucketCloudConfigAuthorizerCredential = &ConnectionBitbucketCloudConfigAuthorizerCredential{empty: true}
This object is used to assert a desired state where this ConnectionBitbucketCloudConfigAuthorizerCredential is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionBitbucketCloudConfigAuthorizerCredential) Empty ¶ added in v1.61.0
func (r *ConnectionBitbucketCloudConfigAuthorizerCredential) Empty() bool
func (*ConnectionBitbucketCloudConfigAuthorizerCredential) HashCode ¶ added in v1.61.0
func (r *ConnectionBitbucketCloudConfigAuthorizerCredential) HashCode() string
func (*ConnectionBitbucketCloudConfigAuthorizerCredential) String ¶ added in v1.61.0
func (r *ConnectionBitbucketCloudConfigAuthorizerCredential) String() string
func (*ConnectionBitbucketCloudConfigAuthorizerCredential) UnmarshalJSON ¶ added in v1.61.0
func (r *ConnectionBitbucketCloudConfigAuthorizerCredential) UnmarshalJSON(data []byte) error
type ConnectionBitbucketCloudConfigReadAuthorizerCredential ¶ added in v1.61.0
type ConnectionBitbucketCloudConfigReadAuthorizerCredential struct {
UserTokenSecretVersion *string `json:"userTokenSecretVersion"`
Username *string `json:"username"`
// contains filtered or unexported fields
}
var EmptyConnectionBitbucketCloudConfigReadAuthorizerCredential *ConnectionBitbucketCloudConfigReadAuthorizerCredential = &ConnectionBitbucketCloudConfigReadAuthorizerCredential{empty: true}
This object is used to assert a desired state where this ConnectionBitbucketCloudConfigReadAuthorizerCredential is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionBitbucketCloudConfigReadAuthorizerCredential) Empty ¶ added in v1.61.0
func (r *ConnectionBitbucketCloudConfigReadAuthorizerCredential) Empty() bool
func (*ConnectionBitbucketCloudConfigReadAuthorizerCredential) HashCode ¶ added in v1.61.0
func (r *ConnectionBitbucketCloudConfigReadAuthorizerCredential) HashCode() string
func (*ConnectionBitbucketCloudConfigReadAuthorizerCredential) String ¶ added in v1.61.0
func (r *ConnectionBitbucketCloudConfigReadAuthorizerCredential) String() string
func (*ConnectionBitbucketCloudConfigReadAuthorizerCredential) UnmarshalJSON ¶ added in v1.61.0
func (r *ConnectionBitbucketCloudConfigReadAuthorizerCredential) UnmarshalJSON(data []byte) error
type ConnectionBitbucketDataCenterConfig ¶ added in v1.60.0
type ConnectionBitbucketDataCenterConfig struct {
HostUri *string `json:"hostUri"`
WebhookSecretSecretVersion *string `json:"webhookSecretSecretVersion"`
ReadAuthorizerCredential *ConnectionBitbucketDataCenterConfigReadAuthorizerCredential `json:"readAuthorizerCredential"`
AuthorizerCredential *ConnectionBitbucketDataCenterConfigAuthorizerCredential `json:"authorizerCredential"`
ServiceDirectoryConfig *ConnectionBitbucketDataCenterConfigServiceDirectoryConfig `json:"serviceDirectoryConfig"`
SslCa *string `json:"sslCa"`
ServerVersion *string `json:"serverVersion"`
// contains filtered or unexported fields
}
var EmptyConnectionBitbucketDataCenterConfig *ConnectionBitbucketDataCenterConfig = &ConnectionBitbucketDataCenterConfig{empty: true}
This object is used to assert a desired state where this ConnectionBitbucketDataCenterConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionBitbucketDataCenterConfig) Empty ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfig) Empty() bool
func (*ConnectionBitbucketDataCenterConfig) HashCode ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfig) HashCode() string
func (*ConnectionBitbucketDataCenterConfig) String ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfig) String() string
func (*ConnectionBitbucketDataCenterConfig) UnmarshalJSON ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfig) UnmarshalJSON(data []byte) error
type ConnectionBitbucketDataCenterConfigAuthorizerCredential ¶ added in v1.60.0
type ConnectionBitbucketDataCenterConfigAuthorizerCredential struct {
UserTokenSecretVersion *string `json:"userTokenSecretVersion"`
Username *string `json:"username"`
// contains filtered or unexported fields
}
var EmptyConnectionBitbucketDataCenterConfigAuthorizerCredential *ConnectionBitbucketDataCenterConfigAuthorizerCredential = &ConnectionBitbucketDataCenterConfigAuthorizerCredential{empty: true}
This object is used to assert a desired state where this ConnectionBitbucketDataCenterConfigAuthorizerCredential is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionBitbucketDataCenterConfigAuthorizerCredential) Empty ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfigAuthorizerCredential) Empty() bool
func (*ConnectionBitbucketDataCenterConfigAuthorizerCredential) HashCode ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfigAuthorizerCredential) HashCode() string
func (*ConnectionBitbucketDataCenterConfigAuthorizerCredential) String ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfigAuthorizerCredential) String() string
func (*ConnectionBitbucketDataCenterConfigAuthorizerCredential) UnmarshalJSON ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfigAuthorizerCredential) UnmarshalJSON(data []byte) error
type ConnectionBitbucketDataCenterConfigReadAuthorizerCredential ¶ added in v1.60.0
type ConnectionBitbucketDataCenterConfigReadAuthorizerCredential struct {
UserTokenSecretVersion *string `json:"userTokenSecretVersion"`
Username *string `json:"username"`
// contains filtered or unexported fields
}
var EmptyConnectionBitbucketDataCenterConfigReadAuthorizerCredential *ConnectionBitbucketDataCenterConfigReadAuthorizerCredential = &ConnectionBitbucketDataCenterConfigReadAuthorizerCredential{empty: true}
This object is used to assert a desired state where this ConnectionBitbucketDataCenterConfigReadAuthorizerCredential is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) Empty ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) Empty() bool
func (*ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) HashCode ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) HashCode() string
func (*ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) String ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) String() string
func (*ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) UnmarshalJSON ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) UnmarshalJSON(data []byte) error
type ConnectionBitbucketDataCenterConfigServiceDirectoryConfig ¶ added in v1.60.0
type ConnectionBitbucketDataCenterConfigServiceDirectoryConfig struct {
Service *string `json:"service"`
// contains filtered or unexported fields
}
var EmptyConnectionBitbucketDataCenterConfigServiceDirectoryConfig *ConnectionBitbucketDataCenterConfigServiceDirectoryConfig = &ConnectionBitbucketDataCenterConfigServiceDirectoryConfig{empty: true}
This object is used to assert a desired state where this ConnectionBitbucketDataCenterConfigServiceDirectoryConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) Empty ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) Empty() bool
func (*ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) HashCode ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) HashCode() string
func (*ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) String ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) String() string
func (*ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) UnmarshalJSON ¶ added in v1.60.0
func (r *ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) UnmarshalJSON(data []byte) error
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 ¶ added in v1.40.0
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 ¶ added in v1.40.0
func (r *ConnectionGitlabConfig) Empty() bool
func (*ConnectionGitlabConfig) HashCode ¶ added in v1.40.0
func (r *ConnectionGitlabConfig) HashCode() string
func (*ConnectionGitlabConfig) String ¶ added in v1.40.0
func (r *ConnectionGitlabConfig) String() string
func (*ConnectionGitlabConfig) UnmarshalJSON ¶ added in v1.40.0
func (r *ConnectionGitlabConfig) UnmarshalJSON(data []byte) error
type ConnectionGitlabConfigAuthorizerCredential ¶ added in v1.40.0
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 ¶ added in v1.40.0
func (r *ConnectionGitlabConfigAuthorizerCredential) Empty() bool
func (*ConnectionGitlabConfigAuthorizerCredential) HashCode ¶ added in v1.40.0
func (r *ConnectionGitlabConfigAuthorizerCredential) HashCode() string
func (*ConnectionGitlabConfigAuthorizerCredential) String ¶ added in v1.40.0
func (r *ConnectionGitlabConfigAuthorizerCredential) String() string
func (*ConnectionGitlabConfigAuthorizerCredential) UnmarshalJSON ¶ added in v1.40.0
func (r *ConnectionGitlabConfigAuthorizerCredential) UnmarshalJSON(data []byte) error
type ConnectionGitlabConfigReadAuthorizerCredential ¶ added in v1.40.0
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 ¶ added in v1.40.0
func (r *ConnectionGitlabConfigReadAuthorizerCredential) Empty() bool
func (*ConnectionGitlabConfigReadAuthorizerCredential) HashCode ¶ added in v1.40.0
func (r *ConnectionGitlabConfigReadAuthorizerCredential) HashCode() string
func (*ConnectionGitlabConfigReadAuthorizerCredential) String ¶ added in v1.40.0
func (r *ConnectionGitlabConfigReadAuthorizerCredential) String() string
func (*ConnectionGitlabConfigReadAuthorizerCredential) UnmarshalJSON ¶ added in v1.40.0
func (r *ConnectionGitlabConfigReadAuthorizerCredential) UnmarshalJSON(data []byte) error
type ConnectionGitlabConfigServiceDirectoryConfig ¶ added in v1.40.0
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 ¶ added in v1.40.0
func (r *ConnectionGitlabConfigServiceDirectoryConfig) Empty() bool
func (*ConnectionGitlabConfigServiceDirectoryConfig) HashCode ¶ added in v1.40.0
func (r *ConnectionGitlabConfigServiceDirectoryConfig) HashCode() string
func (*ConnectionGitlabConfigServiceDirectoryConfig) String ¶ added in v1.40.0
func (r *ConnectionGitlabConfigServiceDirectoryConfig) String() string
func (*ConnectionGitlabConfigServiceDirectoryConfig) UnmarshalJSON ¶ added in v1.40.0
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