alpha

package
v1.84.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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

View Source
const ConnectionMaxPage = -1
View Source
const RepositoryMaxPage = -1

Variables

View Source
var YAML_connection []byte
View Source
var YAML_repository []byte

Functions

func DCLConnectionSchema

func DCLConnectionSchema() *dcl.Schema

func DCLRepositorySchema

func DCLRepositorySchema() *dcl.Schema

Types

type Client

type Client struct {
	Config *dcl.Config
}

The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.

func NewClient

func NewClient(c *dcl.Config) *Client

NewClient creates a client that retries all operations a few times each.

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 (c *Client) ListConnection(ctx context.Context, project, location string) (*ConnectionList, error)

func (*Client) ListConnectionWithMaxResults

func (c *Client) ListConnectionWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*ConnectionList, error)

func (*Client) ListRepository

func (c *Client) ListRepository(ctx context.Context, project, location, connection string) (*RepositoryList, error)

func (*Client) ListRepositoryWithMaxResults

func (c *Client) ListRepositoryWithMaxResults(ctx context.Context, project, location, connection string, pageSize int32) (*RepositoryList, error)

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 (*ConnectionBitbucketCloudConfig) HashCode added in v1.61.0

func (r *ConnectionBitbucketCloudConfig) HashCode() string

func (*ConnectionBitbucketCloudConfig) String added in v1.61.0

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 (*ConnectionBitbucketCloudConfigAuthorizerCredential) HashCode added in v1.61.0

func (*ConnectionBitbucketCloudConfigAuthorizerCredential) String added in v1.61.0

func (*ConnectionBitbucketCloudConfigAuthorizerCredential) UnmarshalJSON added in v1.61.0

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 (*ConnectionBitbucketCloudConfigReadAuthorizerCredential) HashCode added in v1.61.0

func (*ConnectionBitbucketCloudConfigReadAuthorizerCredential) String added in v1.61.0

func (*ConnectionBitbucketCloudConfigReadAuthorizerCredential) UnmarshalJSON added in v1.61.0

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 (*ConnectionBitbucketDataCenterConfig) HashCode added in v1.60.0

func (*ConnectionBitbucketDataCenterConfig) String added in v1.60.0

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 (*ConnectionBitbucketDataCenterConfigAuthorizerCredential) HashCode added in v1.60.0

func (*ConnectionBitbucketDataCenterConfigAuthorizerCredential) String added in v1.60.0

func (*ConnectionBitbucketDataCenterConfigAuthorizerCredential) UnmarshalJSON added in v1.60.0

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 (*ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) HashCode added in v1.60.0

func (*ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) String added in v1.60.0

func (*ConnectionBitbucketDataCenterConfigReadAuthorizerCredential) UnmarshalJSON added in v1.60.0

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 (*ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) HashCode added in v1.60.0

func (*ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) String added in v1.60.0

func (*ConnectionBitbucketDataCenterConfigServiceDirectoryConfig) UnmarshalJSON added in v1.60.0

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 (*ConnectionGithubConfigAuthorizerCredential) HashCode

func (*ConnectionGithubConfigAuthorizerCredential) 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 (*ConnectionGithubEnterpriseConfig) HashCode

func (*ConnectionGithubEnterpriseConfig) 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 (*ConnectionGithubEnterpriseConfigServiceDirectoryConfig) HashCode

func (*ConnectionGithubEnterpriseConfigServiceDirectoryConfig) String

func (*ConnectionGithubEnterpriseConfigServiceDirectoryConfig) UnmarshalJSON

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 (*ConnectionGitlabConfigAuthorizerCredential) HashCode added in v1.40.0

func (*ConnectionGitlabConfigAuthorizerCredential) String added in v1.40.0

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 (*ConnectionGitlabConfigReadAuthorizerCredential) HashCode added in v1.40.0

func (*ConnectionGitlabConfigReadAuthorizerCredential) String added in v1.40.0

func (*ConnectionGitlabConfigReadAuthorizerCredential) UnmarshalJSON added in v1.40.0

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 (*ConnectionGitlabConfigServiceDirectoryConfig) HashCode added in v1.40.0

func (*ConnectionGitlabConfigServiceDirectoryConfig) String added in v1.40.0

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

type ConnectionList

type ConnectionList struct {
	Items []*Connection
	// contains filtered or unexported fields
}

func (*ConnectionList) HasNext

func (l *ConnectionList) HasNext() bool

func (*ConnectionList) Next

func (l *ConnectionList) Next(ctx context.Context, c *Client) error

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

func (*RepositoryList) Next

func (l *RepositoryList) Next(ctx context.Context, c *Client) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL