types

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_types_cloud_proto protoreflect.FileDescriptor
View Source
var File_types_operation_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AWSInfo

type AWSInfo struct {

	// Prioritized over id/secret.
	RoleArn      string    `protobuf:"bytes,1,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"`
	ClientIdArn  string    `protobuf:"bytes,2,opt,name=client_id_arn,json=clientIdArn,proto3" json:"client_id_arn,omitempty"`
	ClientSecret string    `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	Location     *Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*AWSInfo) Descriptor deprecated

func (*AWSInfo) Descriptor() ([]byte, []int)

Deprecated: Use AWSInfo.ProtoReflect.Descriptor instead.

func (*AWSInfo) GetClientIdArn

func (x *AWSInfo) GetClientIdArn() string

func (*AWSInfo) GetClientSecret

func (x *AWSInfo) GetClientSecret() string

func (*AWSInfo) GetLocation

func (x *AWSInfo) GetLocation() *Location

func (*AWSInfo) GetRoleArn

func (x *AWSInfo) GetRoleArn() string

func (*AWSInfo) ProtoMessage

func (*AWSInfo) ProtoMessage()

func (*AWSInfo) ProtoReflect

func (x *AWSInfo) ProtoReflect() protoreflect.Message

func (*AWSInfo) Reset

func (x *AWSInfo) Reset()

func (*AWSInfo) String

func (x *AWSInfo) String() string

type AzureInfo added in v0.1.12

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

func (*AzureInfo) Descriptor deprecated added in v0.1.12

func (*AzureInfo) Descriptor() ([]byte, []int)

Deprecated: Use AzureInfo.ProtoReflect.Descriptor instead.

func (*AzureInfo) ProtoMessage added in v0.1.12

func (*AzureInfo) ProtoMessage()

func (*AzureInfo) ProtoReflect added in v0.1.12

func (x *AzureInfo) ProtoReflect() protoreflect.Message

func (*AzureInfo) Reset added in v0.1.12

func (x *AzureInfo) Reset()

func (*AzureInfo) String added in v0.1.12

func (x *AzureInfo) String() string

type GCPInfo

type GCPInfo struct {
	ServiceAccount []byte    `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	Location       *Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*GCPInfo) Descriptor deprecated

func (*GCPInfo) Descriptor() ([]byte, []int)

Deprecated: Use GCPInfo.ProtoReflect.Descriptor instead.

func (*GCPInfo) GetLocation

func (x *GCPInfo) GetLocation() *Location

func (*GCPInfo) GetServiceAccount

func (x *GCPInfo) GetServiceAccount() []byte

func (*GCPInfo) ProtoMessage

func (*GCPInfo) ProtoMessage()

func (*GCPInfo) ProtoReflect

func (x *GCPInfo) ProtoReflect() protoreflect.Message

func (*GCPInfo) Reset

func (x *GCPInfo) Reset()

func (*GCPInfo) String

func (x *GCPInfo) String() string

type Location

type Location struct {

	// If set, prioritize over active region.
	ActiveZone string `protobuf:"bytes,1,opt,name=active_zone,json=activeZone,proto3" json:"active_zone,omitempty"`
	// Valid only when active zone is not set.
	ActiveRegion string `protobuf:"bytes,2,opt,name=active_region,json=activeRegion,proto3" json:"active_region,omitempty"`
	// If set, prioritize over passive region.
	PassiveZone string `protobuf:"bytes,3,opt,name=passive_zone,json=passiveZone,proto3" json:"passive_zone,omitempty"`
	// Valid only when passive zone is not set.
	PassiveRegion string `protobuf:"bytes,4,opt,name=passive_region,json=passiveRegion,proto3" json:"passive_region,omitempty"`
	// contains filtered or unexported fields
}

func (*Location) Descriptor deprecated

func (*Location) Descriptor() ([]byte, []int)

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetActiveRegion

func (x *Location) GetActiveRegion() string

func (*Location) GetActiveZone

func (x *Location) GetActiveZone() string

func (*Location) GetPassiveRegion

func (x *Location) GetPassiveRegion() string

func (*Location) GetPassiveZone

func (x *Location) GetPassiveZone() string

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

func (x *Location) ProtoReflect() protoreflect.Message

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

type Operation added in v0.1.9

type Operation struct {

	// The server-assigned name, which is only unique within the same service that
	// originally returns it. If you use the default HTTP mapping, the
	// `name` should be a resource name ending with `operations/{unique_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Service-specific metadata associated with the operation.  It typically
	// contains progress information and common metadata such as create time.
	// Some services might not provide such metadata.  Any method that returns a
	// long-running operation should document the metadata type, if any.
	Metadata *anypb.Any `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// If the value is `false`, it means the operation is still in progress.
	// If `true`, the operation is completed, and either `error` or `response` is
	// available.
	Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"`
	// The operation result, which can be either an `error` or a valid `response`.
	// If `done` == `false`, neither `error` nor `response` is set.
	// If `done` == `true`, exactly one of `error` or `response` is set.
	//
	// Types that are assignable to Result:
	//
	//	*Operation_Error
	//	*Operation_Response
	Result isOperation_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

This resource represents a long-running operation that is the result of a network API call.

func (*Operation) Descriptor deprecated added in v0.1.9

func (*Operation) Descriptor() ([]byte, []int)

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetDone added in v0.1.9

func (x *Operation) GetDone() bool

func (*Operation) GetError added in v0.1.9

func (x *Operation) GetError() *status.Status

func (*Operation) GetMetadata added in v0.1.9

func (x *Operation) GetMetadata() *anypb.Any

func (*Operation) GetName added in v0.1.9

func (x *Operation) GetName() string

func (*Operation) GetResponse added in v0.1.9

func (x *Operation) GetResponse() *anypb.Any

func (*Operation) GetResult added in v0.1.9

func (m *Operation) GetResult() isOperation_Result

func (*Operation) ProtoMessage added in v0.1.9

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect added in v0.1.9

func (x *Operation) ProtoReflect() protoreflect.Message

func (*Operation) Reset added in v0.1.9

func (x *Operation) Reset()

func (*Operation) String added in v0.1.9

func (x *Operation) String() string

type Operation_Error added in v0.1.9

type Operation_Error struct {
	// The error result of the operation in case of failure or cancellation.
	Error *status.Status `protobuf:"bytes,4,opt,name=error,proto3,oneof"`
}

type Operation_Response added in v0.1.9

type Operation_Response struct {
	// The normal response of the operation in case of success.  If the original
	// method returns no data on success, such as `Delete`, the response is
	// `google.protobuf.Empty`.  If the original method is standard
	// `Get`/`Create`/`Update`, the response should be the resource.  For other
	// methods, the response should have the type `XxxResponse`, where `Xxx`
	// is the original method name.  For example, if the original method name
	// is `TakeSnapshot()`, the inferred response type is
	// `TakeSnapshotResponse`.
	Response *anypb.Any `protobuf:"bytes,5,opt,name=response,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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