clouddeploy

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: 4

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 clouddeploy 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 DeliveryPipelineMaxPage = -1
View Source
const TargetMaxPage = -1

Variables

View Source
var YAML_delivery_pipeline []byte
View Source
var YAML_target []byte

Functions

func DCLDeliveryPipelineSchema added in v1.10.3

func DCLDeliveryPipelineSchema() *dcl.Schema

func DCLTargetSchema added in v1.10.3

func DCLTargetSchema() *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) ApplyDeliveryPipeline

func (c *Client) ApplyDeliveryPipeline(ctx context.Context, rawDesired *DeliveryPipeline, opts ...dcl.ApplyOption) (*DeliveryPipeline, error)

func (*Client) ApplyTarget

func (c *Client) ApplyTarget(ctx context.Context, rawDesired *Target, opts ...dcl.ApplyOption) (*Target, error)

func (*Client) DeleteAllDeliveryPipeline

func (c *Client) DeleteAllDeliveryPipeline(ctx context.Context, project, location string, filter func(*DeliveryPipeline) bool) error

DeleteAllDeliveryPipeline deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllTarget

func (c *Client) DeleteAllTarget(ctx context.Context, project, location string, filter func(*Target) bool) error

DeleteAllTarget deletes all resources that the filter functions returns true on.

func (*Client) DeleteDeliveryPipeline

func (c *Client) DeleteDeliveryPipeline(ctx context.Context, r *DeliveryPipeline) error

func (*Client) DeleteTarget

func (c *Client) DeleteTarget(ctx context.Context, r *Target) error

func (*Client) GetDeliveryPipeline

func (c *Client) GetDeliveryPipeline(ctx context.Context, r *DeliveryPipeline) (*DeliveryPipeline, error)

func (*Client) GetTarget

func (c *Client) GetTarget(ctx context.Context, r *Target) (*Target, error)

func (*Client) ListDeliveryPipeline

func (c *Client) ListDeliveryPipeline(ctx context.Context, project, location string) (*DeliveryPipelineList, error)

func (*Client) ListDeliveryPipelineWithMaxResults

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

func (*Client) ListTarget

func (c *Client) ListTarget(ctx context.Context, project, location string) (*TargetList, error)

func (*Client) ListTargetWithMaxResults

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

type DeliveryPipeline

type DeliveryPipeline struct {
	Name           *string                         `json:"name"`
	Uid            *string                         `json:"uid"`
	Description    *string                         `json:"description"`
	Annotations    map[string]string               `json:"annotations"`
	Labels         map[string]string               `json:"labels"`
	CreateTime     *string                         `json:"createTime"`
	UpdateTime     *string                         `json:"updateTime"`
	SerialPipeline *DeliveryPipelineSerialPipeline `json:"serialPipeline"`
	Condition      *DeliveryPipelineCondition      `json:"condition"`
	Etag           *string                         `json:"etag"`
	Project        *string                         `json:"project"`
	Location       *string                         `json:"location"`
	Suspended      *bool                           `json:"suspended"`
}

func (*DeliveryPipeline) Describe

func (r *DeliveryPipeline) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*DeliveryPipeline) GetPolicy

func (r *DeliveryPipeline) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)

func (*DeliveryPipeline) IAMPolicyVersion

func (r *DeliveryPipeline) IAMPolicyVersion() int

func (*DeliveryPipeline) ID

func (r *DeliveryPipeline) ID() (string, error)

func (*DeliveryPipeline) SetPolicyURL

func (r *DeliveryPipeline) SetPolicyURL(userBasePath string) string

func (*DeliveryPipeline) SetPolicyVerb

func (r *DeliveryPipeline) SetPolicyVerb() string

func (*DeliveryPipeline) String

func (r *DeliveryPipeline) String() string

type DeliveryPipelineCondition

type DeliveryPipelineCondition struct {
	PipelineReadyCondition  *DeliveryPipelineConditionPipelineReadyCondition  `json:"pipelineReadyCondition"`
	TargetsPresentCondition *DeliveryPipelineConditionTargetsPresentCondition `json:"targetsPresentCondition"`
	TargetsTypeCondition    *DeliveryPipelineConditionTargetsTypeCondition    `json:"targetsTypeCondition"`
	// contains filtered or unexported fields
}
var EmptyDeliveryPipelineCondition *DeliveryPipelineCondition = &DeliveryPipelineCondition{empty: true}

This object is used to assert a desired state where this DeliveryPipelineCondition is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineCondition) Empty

func (r *DeliveryPipelineCondition) Empty() bool

func (*DeliveryPipelineCondition) HashCode

func (r *DeliveryPipelineCondition) HashCode() string

func (*DeliveryPipelineCondition) String

func (r *DeliveryPipelineCondition) String() string

func (*DeliveryPipelineCondition) UnmarshalJSON

func (r *DeliveryPipelineCondition) UnmarshalJSON(data []byte) error

type DeliveryPipelineConditionPipelineReadyCondition

type DeliveryPipelineConditionPipelineReadyCondition struct {
	Status     *bool   `json:"status"`
	UpdateTime *string `json:"updateTime"`
	// contains filtered or unexported fields
}
var EmptyDeliveryPipelineConditionPipelineReadyCondition *DeliveryPipelineConditionPipelineReadyCondition = &DeliveryPipelineConditionPipelineReadyCondition{empty: true}

This object is used to assert a desired state where this DeliveryPipelineConditionPipelineReadyCondition is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineConditionPipelineReadyCondition) Empty

func (*DeliveryPipelineConditionPipelineReadyCondition) HashCode

func (*DeliveryPipelineConditionPipelineReadyCondition) String

func (*DeliveryPipelineConditionPipelineReadyCondition) UnmarshalJSON

type DeliveryPipelineConditionTargetsPresentCondition

type DeliveryPipelineConditionTargetsPresentCondition struct {
	Status         *bool    `json:"status"`
	MissingTargets []string `json:"missingTargets"`
	UpdateTime     *string  `json:"updateTime"`
	// contains filtered or unexported fields
}
var EmptyDeliveryPipelineConditionTargetsPresentCondition *DeliveryPipelineConditionTargetsPresentCondition = &DeliveryPipelineConditionTargetsPresentCondition{empty: true}

This object is used to assert a desired state where this DeliveryPipelineConditionTargetsPresentCondition is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineConditionTargetsPresentCondition) Empty

func (*DeliveryPipelineConditionTargetsPresentCondition) HashCode

func (*DeliveryPipelineConditionTargetsPresentCondition) String

func (*DeliveryPipelineConditionTargetsPresentCondition) UnmarshalJSON

type DeliveryPipelineConditionTargetsTypeCondition added in v1.37.0

type DeliveryPipelineConditionTargetsTypeCondition struct {
	Status       *bool   `json:"status"`
	ErrorDetails *string `json:"errorDetails"`
	// contains filtered or unexported fields
}
var EmptyDeliveryPipelineConditionTargetsTypeCondition *DeliveryPipelineConditionTargetsTypeCondition = &DeliveryPipelineConditionTargetsTypeCondition{empty: true}

This object is used to assert a desired state where this DeliveryPipelineConditionTargetsTypeCondition is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineConditionTargetsTypeCondition) Empty added in v1.37.0

func (*DeliveryPipelineConditionTargetsTypeCondition) HashCode added in v1.37.0

func (*DeliveryPipelineConditionTargetsTypeCondition) String added in v1.37.0

func (*DeliveryPipelineConditionTargetsTypeCondition) UnmarshalJSON added in v1.37.0

func (r *DeliveryPipelineConditionTargetsTypeCondition) UnmarshalJSON(data []byte) error

type DeliveryPipelineList

type DeliveryPipelineList struct {
	Items []*DeliveryPipeline
	// contains filtered or unexported fields
}

func (*DeliveryPipelineList) HasNext

func (l *DeliveryPipelineList) HasNext() bool

func (*DeliveryPipelineList) Next

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

type DeliveryPipelineSerialPipeline

type DeliveryPipelineSerialPipeline struct {
	Stages []DeliveryPipelineSerialPipelineStages `json:"stages"`
	// contains filtered or unexported fields
}
var EmptyDeliveryPipelineSerialPipeline *DeliveryPipelineSerialPipeline = &DeliveryPipelineSerialPipeline{empty: true}

This object is used to assert a desired state where this DeliveryPipelineSerialPipeline is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipeline) Empty

func (*DeliveryPipelineSerialPipeline) HashCode

func (r *DeliveryPipelineSerialPipeline) HashCode() string

func (*DeliveryPipelineSerialPipeline) String

func (*DeliveryPipelineSerialPipeline) UnmarshalJSON

func (r *DeliveryPipelineSerialPipeline) UnmarshalJSON(data []byte) error

type DeliveryPipelineSerialPipelineStages

type DeliveryPipelineSerialPipelineStages struct {
	TargetId         *string                                                `json:"targetId"`
	Profiles         []string                                               `json:"profiles"`
	Strategy         *DeliveryPipelineSerialPipelineStagesStrategy          `json:"strategy"`
	DeployParameters []DeliveryPipelineSerialPipelineStagesDeployParameters `json:"deployParameters"`
	// contains filtered or unexported fields
}
var EmptyDeliveryPipelineSerialPipelineStages *DeliveryPipelineSerialPipelineStages = &DeliveryPipelineSerialPipelineStages{empty: true}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStages is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStages) Empty

func (*DeliveryPipelineSerialPipelineStages) HashCode

func (*DeliveryPipelineSerialPipelineStages) String

func (*DeliveryPipelineSerialPipelineStages) UnmarshalJSON

func (r *DeliveryPipelineSerialPipelineStages) UnmarshalJSON(data []byte) error

type DeliveryPipelineSerialPipelineStagesDeployParameters added in v1.43.0

type DeliveryPipelineSerialPipelineStagesDeployParameters struct {
	Values            map[string]string `json:"values"`
	MatchTargetLabels map[string]string `json:"matchTargetLabels"`
	// contains filtered or unexported fields
}
var EmptyDeliveryPipelineSerialPipelineStagesDeployParameters *DeliveryPipelineSerialPipelineStagesDeployParameters = &DeliveryPipelineSerialPipelineStagesDeployParameters{empty: true}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesDeployParameters is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesDeployParameters) Empty added in v1.43.0

func (*DeliveryPipelineSerialPipelineStagesDeployParameters) HashCode added in v1.43.0

func (*DeliveryPipelineSerialPipelineStagesDeployParameters) String added in v1.43.0

func (*DeliveryPipelineSerialPipelineStagesDeployParameters) UnmarshalJSON added in v1.43.0

type DeliveryPipelineSerialPipelineStagesStrategy added in v1.21.0

type DeliveryPipelineSerialPipelineStagesStrategy struct {
	Standard *DeliveryPipelineSerialPipelineStagesStrategyStandard `json:"standard"`
	Canary   *DeliveryPipelineSerialPipelineStagesStrategyCanary   `json:"canary"`
	// contains filtered or unexported fields
}
var EmptyDeliveryPipelineSerialPipelineStagesStrategy *DeliveryPipelineSerialPipelineStagesStrategy = &DeliveryPipelineSerialPipelineStagesStrategy{empty: true}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategy is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategy) Empty added in v1.21.0

func (*DeliveryPipelineSerialPipelineStagesStrategy) HashCode added in v1.21.0

func (*DeliveryPipelineSerialPipelineStagesStrategy) String added in v1.21.0

func (*DeliveryPipelineSerialPipelineStagesStrategy) UnmarshalJSON added in v1.21.0

func (r *DeliveryPipelineSerialPipelineStagesStrategy) UnmarshalJSON(data []byte) error

type DeliveryPipelineSerialPipelineStagesStrategyCanary added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanary struct {
	RuntimeConfig          *DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfig          `json:"runtimeConfig"`
	CanaryDeployment       *DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeployment       `json:"canaryDeployment"`
	CustomCanaryDeployment *DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeployment `json:"customCanaryDeployment"`
	// contains filtered or unexported fields
}
var EmptyDeliveryPipelineSerialPipelineStagesStrategyCanary *DeliveryPipelineSerialPipelineStagesStrategyCanary = &DeliveryPipelineSerialPipelineStagesStrategyCanary{empty: true}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyCanary is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyCanary) Empty added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanary) HashCode added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanary) String added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanary) UnmarshalJSON added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeployment added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeployment struct {
	Percentages []int64                                                                       `json:"percentages"`
	Verify      *bool                                                                         `json:"verify"`
	Predeploy   *DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeploy  `json:"predeploy"`
	Postdeploy  *DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeploy `json:"postdeploy"`
	// contains filtered or unexported fields
}
var EmptyDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeployment *DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeployment = &DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeployment{empty: true}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeployment is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeployment) Empty added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeployment) HashCode added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeployment) String added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeployment) UnmarshalJSON added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeploy added in v1.56.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeploy struct {
	Actions []string `json:"actions"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeploy is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeploy) Empty added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeploy) HashCode added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeploy) String added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeploy) UnmarshalJSON added in v1.56.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeploy added in v1.56.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeploy struct {
	Actions []string `json:"actions"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeploy is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeploy) Empty added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeploy) HashCode added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeploy) String added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeploy) UnmarshalJSON added in v1.56.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeployment added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeployment struct {
	PhaseConfigs []DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigs `json:"phaseConfigs"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeployment is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeployment) Empty added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeployment) HashCode added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeployment) String added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeployment) UnmarshalJSON added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigs added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigs struct {
	PhaseId    *string                                                                                         `json:"phaseId"`
	Percentage *int64                                                                                          `json:"percentage"`
	Profiles   []string                                                                                        `json:"profiles"`
	Verify     *bool                                                                                           `json:"verify"`
	Predeploy  *DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPredeploy  `json:"predeploy"`
	Postdeploy *DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeploy `json:"postdeploy"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigs is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigs) Empty added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigs) HashCode added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigs) String added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigs) UnmarshalJSON added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeploy added in v1.56.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeploy struct {
	Actions []string `json:"actions"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeploy is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeploy) Empty added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeploy) HashCode added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeploy) String added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeploy) UnmarshalJSON added in v1.56.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPredeploy added in v1.56.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPredeploy struct {
	Actions []string `json:"actions"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPredeploy is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPredeploy) Empty added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPredeploy) HashCode added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPredeploy) String added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPredeploy) UnmarshalJSON added in v1.56.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfig added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfig struct {
	Kubernetes *DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetes `json:"kubernetes"`
	CloudRun   *DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigCloudRun   `json:"cloudRun"`
	// contains filtered or unexported fields
}
var EmptyDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfig *DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfig = &DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfig{empty: true}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfig) Empty added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfig) HashCode added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfig) String added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfig) UnmarshalJSON added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigCloudRun added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigCloudRun struct {
	AutomaticTrafficControl *bool    `json:"automaticTrafficControl"`
	CanaryRevisionTags      []string `json:"canaryRevisionTags"`
	PriorRevisionTags       []string `json:"priorRevisionTags"`
	StableRevisionTags      []string `json:"stableRevisionTags"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigCloudRun is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigCloudRun) Empty added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigCloudRun) HashCode added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigCloudRun) String added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigCloudRun) UnmarshalJSON added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetes added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetes struct {
	GatewayServiceMesh *DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMesh `json:"gatewayServiceMesh"`
	ServiceNetworking  *DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesServiceNetworking  `json:"serviceNetworking"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetes is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetes) Empty added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetes) HashCode added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetes) String added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetes) UnmarshalJSON added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMesh added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMesh struct {
	HttpRoute             *string                                                                                                       `json:"httpRoute"`
	Service               *string                                                                                                       `json:"service"`
	Deployment            *string                                                                                                       `json:"deployment"`
	RouteUpdateWaitTime   *string                                                                                                       `json:"routeUpdateWaitTime"`
	StableCutbackDuration *string                                                                                                       `json:"stableCutbackDuration"`
	PodSelectorLabel      *string                                                                                                       `json:"podSelectorLabel"`
	RouteDestinations     *DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshRouteDestinations `json:"routeDestinations"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMesh is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMesh) Empty added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMesh) HashCode added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMesh) String added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMesh) UnmarshalJSON added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshRouteDestinations added in v1.76.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshRouteDestinations struct {
	DestinationIds   []string `json:"destinationIds"`
	PropagateService *bool    `json:"propagateService"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshRouteDestinations is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshRouteDestinations) Empty added in v1.76.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshRouteDestinations) HashCode added in v1.76.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshRouteDestinations) String added in v1.76.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshRouteDestinations) UnmarshalJSON added in v1.76.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesServiceNetworking added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesServiceNetworking struct {
	Service                    *string `json:"service"`
	Deployment                 *string `json:"deployment"`
	DisablePodOverprovisioning *bool   `json:"disablePodOverprovisioning"`
	PodSelectorLabel           *string `json:"podSelectorLabel"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesServiceNetworking is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesServiceNetworking) Empty added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesServiceNetworking) HashCode added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesServiceNetworking) String added in v1.44.0

func (*DeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesServiceNetworking) UnmarshalJSON added in v1.44.0

type DeliveryPipelineSerialPipelineStagesStrategyStandard added in v1.21.0

type DeliveryPipelineSerialPipelineStagesStrategyStandard struct {
	Verify     *bool                                                           `json:"verify"`
	Predeploy  *DeliveryPipelineSerialPipelineStagesStrategyStandardPredeploy  `json:"predeploy"`
	Postdeploy *DeliveryPipelineSerialPipelineStagesStrategyStandardPostdeploy `json:"postdeploy"`
	// contains filtered or unexported fields
}
var EmptyDeliveryPipelineSerialPipelineStagesStrategyStandard *DeliveryPipelineSerialPipelineStagesStrategyStandard = &DeliveryPipelineSerialPipelineStagesStrategyStandard{empty: true}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyStandard is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyStandard) Empty added in v1.21.0

func (*DeliveryPipelineSerialPipelineStagesStrategyStandard) HashCode added in v1.21.0

func (*DeliveryPipelineSerialPipelineStagesStrategyStandard) String added in v1.21.0

func (*DeliveryPipelineSerialPipelineStagesStrategyStandard) UnmarshalJSON added in v1.21.0

type DeliveryPipelineSerialPipelineStagesStrategyStandardPostdeploy added in v1.56.0

type DeliveryPipelineSerialPipelineStagesStrategyStandardPostdeploy struct {
	Actions []string `json:"actions"`
	// contains filtered or unexported fields
}
var EmptyDeliveryPipelineSerialPipelineStagesStrategyStandardPostdeploy *DeliveryPipelineSerialPipelineStagesStrategyStandardPostdeploy = &DeliveryPipelineSerialPipelineStagesStrategyStandardPostdeploy{empty: true}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyStandardPostdeploy is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyStandardPostdeploy) Empty added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyStandardPostdeploy) HashCode added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyStandardPostdeploy) String added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyStandardPostdeploy) UnmarshalJSON added in v1.56.0

type DeliveryPipelineSerialPipelineStagesStrategyStandardPredeploy added in v1.56.0

type DeliveryPipelineSerialPipelineStagesStrategyStandardPredeploy struct {
	Actions []string `json:"actions"`
	// contains filtered or unexported fields
}
var EmptyDeliveryPipelineSerialPipelineStagesStrategyStandardPredeploy *DeliveryPipelineSerialPipelineStagesStrategyStandardPredeploy = &DeliveryPipelineSerialPipelineStagesStrategyStandardPredeploy{empty: true}

This object is used to assert a desired state where this DeliveryPipelineSerialPipelineStagesStrategyStandardPredeploy is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*DeliveryPipelineSerialPipelineStagesStrategyStandardPredeploy) Empty added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyStandardPredeploy) HashCode added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyStandardPredeploy) String added in v1.56.0

func (*DeliveryPipelineSerialPipelineStagesStrategyStandardPredeploy) UnmarshalJSON added in v1.56.0

type Target

type Target struct {
	Name               *string                             `json:"name"`
	TargetId           *string                             `json:"targetId"`
	Uid                *string                             `json:"uid"`
	Description        *string                             `json:"description"`
	Annotations        map[string]string                   `json:"annotations"`
	Labels             map[string]string                   `json:"labels"`
	RequireApproval    *bool                               `json:"requireApproval"`
	CreateTime         *string                             `json:"createTime"`
	UpdateTime         *string                             `json:"updateTime"`
	Gke                *TargetGke                          `json:"gke"`
	AnthosCluster      *TargetAnthosCluster                `json:"anthosCluster"`
	Etag               *string                             `json:"etag"`
	ExecutionConfigs   []TargetExecutionConfigs            `json:"executionConfigs"`
	Project            *string                             `json:"project"`
	Location           *string                             `json:"location"`
	Run                *TargetRun                          `json:"run"`
	MultiTarget        *TargetMultiTarget                  `json:"multiTarget"`
	DeployParameters   map[string]string                   `json:"deployParameters"`
	CustomTarget       *TargetCustomTarget                 `json:"customTarget"`
	AssociatedEntities map[string]TargetAssociatedEntities `json:"associatedEntities"`
}

func (*Target) Describe

func (r *Target) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*Target) GetPolicy

func (r *Target) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)

func (*Target) IAMPolicyVersion

func (r *Target) IAMPolicyVersion() int

func (*Target) ID

func (r *Target) ID() (string, error)

func (*Target) SetPolicyURL

func (r *Target) SetPolicyURL(userBasePath string) string

func (*Target) SetPolicyVerb

func (r *Target) SetPolicyVerb() string

func (*Target) String

func (r *Target) String() string

type TargetAnthosCluster

type TargetAnthosCluster struct {
	Membership *string `json:"membership"`
	// contains filtered or unexported fields
}
var EmptyTargetAnthosCluster *TargetAnthosCluster = &TargetAnthosCluster{empty: true}

This object is used to assert a desired state where this TargetAnthosCluster is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TargetAnthosCluster) Empty

func (r *TargetAnthosCluster) Empty() bool

func (*TargetAnthosCluster) HashCode

func (r *TargetAnthosCluster) HashCode() string

func (*TargetAnthosCluster) String

func (r *TargetAnthosCluster) String() string

func (*TargetAnthosCluster) UnmarshalJSON

func (r *TargetAnthosCluster) UnmarshalJSON(data []byte) error

type TargetAssociatedEntities added in v1.76.0

type TargetAssociatedEntities struct {
	GkeClusters    []TargetAssociatedEntitiesGkeClusters    `json:"gkeClusters"`
	AnthosClusters []TargetAssociatedEntitiesAnthosClusters `json:"anthosClusters"`
	// contains filtered or unexported fields
}
var EmptyTargetAssociatedEntities *TargetAssociatedEntities = &TargetAssociatedEntities{empty: true}

This object is used to assert a desired state where this TargetAssociatedEntities is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TargetAssociatedEntities) Empty added in v1.76.0

func (r *TargetAssociatedEntities) Empty() bool

func (*TargetAssociatedEntities) HashCode added in v1.76.0

func (r *TargetAssociatedEntities) HashCode() string

func (*TargetAssociatedEntities) String added in v1.76.0

func (r *TargetAssociatedEntities) String() string

func (*TargetAssociatedEntities) UnmarshalJSON added in v1.76.0

func (r *TargetAssociatedEntities) UnmarshalJSON(data []byte) error

type TargetAssociatedEntitiesAnthosClusters added in v1.76.0

type TargetAssociatedEntitiesAnthosClusters struct {
	Membership *string `json:"membership"`
	// contains filtered or unexported fields
}
var EmptyTargetAssociatedEntitiesAnthosClusters *TargetAssociatedEntitiesAnthosClusters = &TargetAssociatedEntitiesAnthosClusters{empty: true}

This object is used to assert a desired state where this TargetAssociatedEntitiesAnthosClusters is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TargetAssociatedEntitiesAnthosClusters) Empty added in v1.76.0

func (*TargetAssociatedEntitiesAnthosClusters) HashCode added in v1.76.0

func (*TargetAssociatedEntitiesAnthosClusters) String added in v1.76.0

func (*TargetAssociatedEntitiesAnthosClusters) UnmarshalJSON added in v1.76.0

func (r *TargetAssociatedEntitiesAnthosClusters) UnmarshalJSON(data []byte) error

type TargetAssociatedEntitiesGkeClusters added in v1.76.0

type TargetAssociatedEntitiesGkeClusters struct {
	Cluster    *string `json:"cluster"`
	InternalIP *bool   `json:"internalIP"`
	ProxyUrl   *string `json:"proxyUrl"`
	// contains filtered or unexported fields
}
var EmptyTargetAssociatedEntitiesGkeClusters *TargetAssociatedEntitiesGkeClusters = &TargetAssociatedEntitiesGkeClusters{empty: true}

This object is used to assert a desired state where this TargetAssociatedEntitiesGkeClusters is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TargetAssociatedEntitiesGkeClusters) Empty added in v1.76.0

func (*TargetAssociatedEntitiesGkeClusters) HashCode added in v1.76.0

func (*TargetAssociatedEntitiesGkeClusters) String added in v1.76.0

func (*TargetAssociatedEntitiesGkeClusters) UnmarshalJSON added in v1.76.0

func (r *TargetAssociatedEntitiesGkeClusters) UnmarshalJSON(data []byte) error

type TargetCustomTarget added in v1.65.0

type TargetCustomTarget struct {
	CustomTargetType *string `json:"customTargetType"`
	// contains filtered or unexported fields
}
var EmptyTargetCustomTarget *TargetCustomTarget = &TargetCustomTarget{empty: true}

This object is used to assert a desired state where this TargetCustomTarget is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TargetCustomTarget) Empty added in v1.65.0

func (r *TargetCustomTarget) Empty() bool

func (*TargetCustomTarget) HashCode added in v1.65.0

func (r *TargetCustomTarget) HashCode() string

func (*TargetCustomTarget) String added in v1.65.0

func (r *TargetCustomTarget) String() string

func (*TargetCustomTarget) UnmarshalJSON added in v1.65.0

func (r *TargetCustomTarget) UnmarshalJSON(data []byte) error

type TargetExecutionConfigs

type TargetExecutionConfigs struct {
	Usages           []TargetExecutionConfigsUsagesEnum `json:"usages"`
	WorkerPool       *string                            `json:"workerPool"`
	ServiceAccount   *string                            `json:"serviceAccount"`
	ArtifactStorage  *string                            `json:"artifactStorage"`
	ExecutionTimeout *string                            `json:"executionTimeout"`
	Verbose          *bool                              `json:"verbose"`
	// contains filtered or unexported fields
}
var EmptyTargetExecutionConfigs *TargetExecutionConfigs = &TargetExecutionConfigs{empty: true}

This object is used to assert a desired state where this TargetExecutionConfigs is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TargetExecutionConfigs) Empty

func (r *TargetExecutionConfigs) Empty() bool

func (*TargetExecutionConfigs) HashCode

func (r *TargetExecutionConfigs) HashCode() string

func (*TargetExecutionConfigs) String

func (r *TargetExecutionConfigs) String() string

func (*TargetExecutionConfigs) UnmarshalJSON

func (r *TargetExecutionConfigs) UnmarshalJSON(data []byte) error

type TargetExecutionConfigsUsagesEnum

type TargetExecutionConfigsUsagesEnum string

The enum TargetExecutionConfigsUsagesEnum.

func TargetExecutionConfigsUsagesEnumRef

func TargetExecutionConfigsUsagesEnumRef(s string) *TargetExecutionConfigsUsagesEnum

TargetExecutionConfigsUsagesEnumRef returns a *TargetExecutionConfigsUsagesEnum with the value of string s If the empty string is provided, nil is returned.

func (TargetExecutionConfigsUsagesEnum) Validate

type TargetGke

type TargetGke struct {
	Cluster     *string `json:"cluster"`
	InternalIP  *bool   `json:"internalIP"`
	ProxyUrl    *string `json:"proxyUrl"`
	DnsEndpoint *bool   `json:"dnsEndpoint"`
	// contains filtered or unexported fields
}
var EmptyTargetGke *TargetGke = &TargetGke{empty: true}

This object is used to assert a desired state where this TargetGke is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TargetGke) Empty

func (r *TargetGke) Empty() bool

func (*TargetGke) HashCode

func (r *TargetGke) HashCode() string

func (*TargetGke) String

func (r *TargetGke) String() string

func (*TargetGke) UnmarshalJSON

func (r *TargetGke) UnmarshalJSON(data []byte) error

type TargetList

type TargetList struct {
	Items []*Target
	// contains filtered or unexported fields
}

func (*TargetList) HasNext

func (l *TargetList) HasNext() bool

func (*TargetList) Next

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

type TargetMultiTarget added in v1.49.0

type TargetMultiTarget struct {
	TargetIds []string `json:"targetIds"`
	// contains filtered or unexported fields
}
var EmptyTargetMultiTarget *TargetMultiTarget = &TargetMultiTarget{empty: true}

This object is used to assert a desired state where this TargetMultiTarget is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TargetMultiTarget) Empty added in v1.49.0

func (r *TargetMultiTarget) Empty() bool

func (*TargetMultiTarget) HashCode added in v1.49.0

func (r *TargetMultiTarget) HashCode() string

func (*TargetMultiTarget) String added in v1.49.0

func (r *TargetMultiTarget) String() string

func (*TargetMultiTarget) UnmarshalJSON added in v1.49.0

func (r *TargetMultiTarget) UnmarshalJSON(data []byte) error

type TargetRun added in v1.21.0

type TargetRun struct {
	Location *string `json:"location"`
	// contains filtered or unexported fields
}
var EmptyTargetRun *TargetRun = &TargetRun{empty: true}

This object is used to assert a desired state where this TargetRun is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TargetRun) Empty added in v1.21.0

func (r *TargetRun) Empty() bool

func (*TargetRun) HashCode added in v1.21.0

func (r *TargetRun) HashCode() string

func (*TargetRun) String added in v1.21.0

func (r *TargetRun) String() string

func (*TargetRun) UnmarshalJSON added in v1.21.0

func (r *TargetRun) UnmarshalJSON(data []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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