cloudbuild

package
v1.125.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloudBuildWorkerPoolObservedState_FromProto added in v1.120.0

func CloudBuildWorkerPoolObservedState_FromProto(mapCtx *direct.MapContext, in *pb.WorkerPool) *krm.CloudBuildWorkerPoolObservedState

func CloudBuildWorkerPoolSpec_FromProto added in v1.125.0

func CloudBuildWorkerPoolSpec_FromProto(mapCtx *direct.MapContext, in *pb.WorkerPool) *krm.CloudBuildWorkerPoolSpec

func CloudBuildWorkerPoolSpec_ToProto added in v1.120.0

func CloudBuildWorkerPoolSpec_ToProto(mapCtx *direct.MapContext, in *krm.CloudBuildWorkerPoolSpec) *pb.WorkerPool

func NewModel

func NewModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func PrivatePoolV1Config_FromProto added in v1.120.0

func PrivatePoolV1Config_FromProto(mapCtx *direct.MapContext, in *pb.PrivatePoolV1Config) *krm.PrivatePoolV1Config

func PrivatePoolV1Config_NetworkConfigStatus_FromProto added in v1.120.0

func PrivatePoolV1Config_NetworkConfigStatus_FromProto(mapCtx *direct.MapContext, in *pb.PrivatePoolV1Config_NetworkConfig) *krm.PrivatePoolV1Config_NetworkConfigStatus

func PrivatePoolV1Config_NetworkConfig_FromProto added in v1.120.0

func PrivatePoolV1Config_NetworkConfig_FromProto(mapCtx *direct.MapContext, in *pb.PrivatePoolV1Config_NetworkConfig) *krm.PrivatePoolV1Config_NetworkConfigSpec

func PrivatePoolV1Config_NetworkConfig_ToProto added in v1.120.0

func PrivatePoolV1Config_NetworkConfig_ToProto(mapCtx *direct.MapContext, in *krm.PrivatePoolV1Config_NetworkConfigSpec) *pb.PrivatePoolV1Config_NetworkConfig

func PrivatePoolV1Config_ToProto added in v1.120.0

func PrivatePoolV1Config_ToProto(mapCtx *direct.MapContext, in *krm.PrivatePoolV1Config) *pb.PrivatePoolV1Config

func PrivatePoolV1Config_WorkerConfig_FromProto added in v1.120.0

func PrivatePoolV1Config_WorkerConfig_FromProto(mapCtx *direct.MapContext, in *pb.PrivatePoolV1Config_WorkerConfig) *krm.PrivatePoolV1Config_WorkerConfig

func PrivatePoolV1Config_WorkerConfig_ToProto added in v1.120.0

func PrivatePoolV1Config_WorkerConfig_ToProto(mapCtx *direct.MapContext, in *krm.PrivatePoolV1Config_WorkerConfig) *pb.PrivatePoolV1Config_WorkerConfig

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

func (*Adapter) Create

func (a *Adapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error

func (*Adapter) Delete

func (a *Adapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)

Delete implements the Adapter interface. TODO: Delete can rely on status.externalRef and do not need spec.projectRef.

func (*Adapter) Export

func (*Adapter) Find

func (a *Adapter) Find(ctx context.Context) (bool, error)

func (*Adapter) Update

func (a *Adapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error

type CloudBuildWorkerPoolIdentity added in v1.122.0

type CloudBuildWorkerPoolIdentity struct {
	// contains filtered or unexported fields
}

func BuildID added in v1.122.0

func BuildID(project, location, workerpool string) *CloudBuildWorkerPoolIdentity

BuildID builds a CloudBuildWorkerPoolIdentity from resource components.

func (*CloudBuildWorkerPoolIdentity) AsExternalRef added in v1.122.0

func (c *CloudBuildWorkerPoolIdentity) AsExternalRef() *string

AsExternalRef builds a externalRef from a CloudBuildWorkerPoolIdentity

func (*CloudBuildWorkerPoolIdentity) FullyQualifiedName added in v1.122.0

func (c *CloudBuildWorkerPoolIdentity) FullyQualifiedName() string

FullyQualifiedName builds a CloudBuildWorkerPool resource of the format projects/<project>/locations/<location>/workerPools/<workerPool>

func (*CloudBuildWorkerPoolIdentity) Parent added in v1.122.0

Parent builds a CloudBuildWorkerPool parent of the format projects/<project>/locations/<location>

Jump to

Keyboard shortcuts

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