deployment_client

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetDeploymentsDescriptor added in v0.4.28

type BatchGetDeploymentsDescriptor struct{}

func GetBatchGetDeploymentsDescriptor added in v0.4.28

func GetBatchGetDeploymentsDescriptor() *BatchGetDeploymentsDescriptor

func (*BatchGetDeploymentsDescriptor) GetApiDescriptor added in v0.4.28

func (*BatchGetDeploymentsDescriptor) GetApiName added in v0.4.28

func (d *BatchGetDeploymentsDescriptor) GetApiName() string

func (*BatchGetDeploymentsDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *BatchGetDeploymentsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*BatchGetDeploymentsDescriptor) GetFullMethodName added in v0.4.28

func (d *BatchGetDeploymentsDescriptor) GetFullMethodName() string

func (*BatchGetDeploymentsDescriptor) GetMethodName added in v0.4.28

func (d *BatchGetDeploymentsDescriptor) GetMethodName() string

func (*BatchGetDeploymentsDescriptor) GetProtoPkgName added in v0.4.28

func (d *BatchGetDeploymentsDescriptor) GetProtoPkgName() string

func (*BatchGetDeploymentsDescriptor) GetResourceDescriptor added in v0.4.30

func (d *BatchGetDeploymentsDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*BatchGetDeploymentsDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *BatchGetDeploymentsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*BatchGetDeploymentsDescriptor) GetServiceDomain added in v0.4.28

func (d *BatchGetDeploymentsDescriptor) GetServiceDomain() string

func (*BatchGetDeploymentsDescriptor) GetServiceVersion added in v0.4.28

func (d *BatchGetDeploymentsDescriptor) GetServiceVersion() string

func (*BatchGetDeploymentsDescriptor) GetVerb added in v0.4.28

func (*BatchGetDeploymentsDescriptor) HasResource added in v0.4.30

func (d *BatchGetDeploymentsDescriptor) HasResource() bool

func (*BatchGetDeploymentsDescriptor) IsClientStream added in v0.4.28

func (d *BatchGetDeploymentsDescriptor) IsClientStream() bool

func (*BatchGetDeploymentsDescriptor) IsCollection added in v0.4.30

func (d *BatchGetDeploymentsDescriptor) IsCollection() bool

func (*BatchGetDeploymentsDescriptor) IsPlural added in v0.4.30

func (d *BatchGetDeploymentsDescriptor) IsPlural() bool

func (*BatchGetDeploymentsDescriptor) IsServerStream added in v0.4.28

func (d *BatchGetDeploymentsDescriptor) IsServerStream() bool

func (*BatchGetDeploymentsDescriptor) IsUnary added in v0.4.28

func (d *BatchGetDeploymentsDescriptor) IsUnary() bool

func (*BatchGetDeploymentsDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *BatchGetDeploymentsDescriptor) NewEmptyClientMsg() proto.Message

func (*BatchGetDeploymentsDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *BatchGetDeploymentsDescriptor) NewEmptyServerMsg() proto.Message

func (*BatchGetDeploymentsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *BatchGetDeploymentsDescriptor) RequestHasResourceBody() bool

type BatchGetDeploymentsDescriptorClientMsgHandle added in v0.4.28

type BatchGetDeploymentsDescriptorClientMsgHandle struct{}

func (*BatchGetDeploymentsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetDeploymentsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetDeploymentsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetDeploymentsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetDeploymentsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetDeploymentsDescriptorServerMsgHandle added in v0.4.28

type BatchGetDeploymentsDescriptorServerMsgHandle struct{}

func (*BatchGetDeploymentsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetDeploymentsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetDeploymentsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetDeploymentsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetDeploymentsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetDeploymentsRequest

type BatchGetDeploymentsRequest struct {

	// Names of Deployments
	Names []*deployment.Name `protobuf:"bytes,2,rep,customtype=Name,name=names,proto3" json:"names,omitempty" firestore:"names"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *deployment.Deployment_FieldMask `` /* 142-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

A request message of the BatchGetDeployments method.

func (*BatchGetDeploymentsRequest) Descriptor

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

Deprecated, Use BatchGetDeploymentsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetDeploymentsRequest) GetFieldMask

func (*BatchGetDeploymentsRequest) GetNames

func (m *BatchGetDeploymentsRequest) GetNames() []*deployment.Name

func (*BatchGetDeploymentsRequest) GetView

func (m *BatchGetDeploymentsRequest) GetView() view.View

func (*BatchGetDeploymentsRequest) GotenMessage

func (*BatchGetDeploymentsRequest) GotenMessage()

func (*BatchGetDeploymentsRequest) GotenValidate

func (obj *BatchGetDeploymentsRequest) GotenValidate() error

func (*BatchGetDeploymentsRequest) Marshal

func (m *BatchGetDeploymentsRequest) Marshal() ([]byte, error)

func (*BatchGetDeploymentsRequest) MarshalJSON

func (m *BatchGetDeploymentsRequest) MarshalJSON() ([]byte, error)

func (*BatchGetDeploymentsRequest) ProtoMessage

func (*BatchGetDeploymentsRequest) ProtoMessage()

func (*BatchGetDeploymentsRequest) ProtoReflect

func (m *BatchGetDeploymentsRequest) ProtoReflect() preflect.Message

func (*BatchGetDeploymentsRequest) Reset

func (m *BatchGetDeploymentsRequest) Reset()

func (*BatchGetDeploymentsRequest) SetFieldMask

func (*BatchGetDeploymentsRequest) SetNames

func (m *BatchGetDeploymentsRequest) SetNames(fv []*deployment.Name)

func (*BatchGetDeploymentsRequest) SetView

func (m *BatchGetDeploymentsRequest) SetView(fv view.View)

func (*BatchGetDeploymentsRequest) String

func (m *BatchGetDeploymentsRequest) String() string

func (*BatchGetDeploymentsRequest) Unmarshal

func (m *BatchGetDeploymentsRequest) Unmarshal(b []byte) error

func (*BatchGetDeploymentsRequest) UnmarshalJSON

func (m *BatchGetDeploymentsRequest) UnmarshalJSON(data []byte) error

type BatchGetDeploymentsResponse

type BatchGetDeploymentsResponse struct {

	// found Deployments
	Deployments []*deployment.Deployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty" firestore:"deployments"`
	// list of not found Deployments
	Missing []*deployment.Name `protobuf:"bytes,2,rep,customtype=Name,name=missing,proto3" json:"missing,omitempty" firestore:"missing"`
	// contains filtered or unexported fields
}

A response message of the BatchGetDeployments method.

func (*BatchGetDeploymentsResponse) Descriptor

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

Deprecated, Use BatchGetDeploymentsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetDeploymentsResponse) GetDeployments

func (m *BatchGetDeploymentsResponse) GetDeployments() []*deployment.Deployment

func (*BatchGetDeploymentsResponse) GetMissing

func (m *BatchGetDeploymentsResponse) GetMissing() []*deployment.Name

func (*BatchGetDeploymentsResponse) GotenMessage

func (*BatchGetDeploymentsResponse) GotenMessage()

func (*BatchGetDeploymentsResponse) GotenValidate

func (obj *BatchGetDeploymentsResponse) GotenValidate() error

func (*BatchGetDeploymentsResponse) Marshal

func (m *BatchGetDeploymentsResponse) Marshal() ([]byte, error)

func (*BatchGetDeploymentsResponse) MarshalJSON

func (m *BatchGetDeploymentsResponse) MarshalJSON() ([]byte, error)

func (*BatchGetDeploymentsResponse) ProtoMessage

func (*BatchGetDeploymentsResponse) ProtoMessage()

func (*BatchGetDeploymentsResponse) ProtoReflect

func (m *BatchGetDeploymentsResponse) ProtoReflect() preflect.Message

func (*BatchGetDeploymentsResponse) Reset

func (m *BatchGetDeploymentsResponse) Reset()

func (*BatchGetDeploymentsResponse) SetDeployments

func (m *BatchGetDeploymentsResponse) SetDeployments(fv []*deployment.Deployment)

func (*BatchGetDeploymentsResponse) SetMissing

func (m *BatchGetDeploymentsResponse) SetMissing(fv []*deployment.Name)

func (*BatchGetDeploymentsResponse) String

func (m *BatchGetDeploymentsResponse) String() string

func (*BatchGetDeploymentsResponse) Unmarshal

func (m *BatchGetDeploymentsResponse) Unmarshal(b []byte) error

func (*BatchGetDeploymentsResponse) UnmarshalJSON

func (m *BatchGetDeploymentsResponse) UnmarshalJSON(data []byte) error

type DeploymentServiceClient

type DeploymentServiceClient interface {
	GetDeployment(ctx context.Context, in *GetDeploymentRequest, opts ...grpc.CallOption) (*deployment.Deployment, error)
	BatchGetDeployments(ctx context.Context, in *BatchGetDeploymentsRequest, opts ...grpc.CallOption) (*BatchGetDeploymentsResponse, error)
	ListDeployments(ctx context.Context, in *ListDeploymentsRequest, opts ...grpc.CallOption) (*ListDeploymentsResponse, error)
	WatchDeployment(ctx context.Context, in *WatchDeploymentRequest, opts ...grpc.CallOption) (WatchDeploymentClientStream, error)
	WatchDeployments(ctx context.Context, in *WatchDeploymentsRequest, opts ...grpc.CallOption) (WatchDeploymentsClientStream, error)
}

DeploymentServiceClient is the client API for DeploymentService.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type DeploymentServiceDescriptor added in v0.4.28

type DeploymentServiceDescriptor struct{}

func GetDeploymentServiceDescriptor added in v0.4.28

func GetDeploymentServiceDescriptor() *DeploymentServiceDescriptor

func (*DeploymentServiceDescriptor) AllMethodDescriptors added in v0.4.28

func (d *DeploymentServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor

func (*DeploymentServiceDescriptor) GetApiName added in v0.4.28

func (d *DeploymentServiceDescriptor) GetApiName() string

func (*DeploymentServiceDescriptor) GetFullAPIName added in v0.4.28

func (d *DeploymentServiceDescriptor) GetFullAPIName() string

func (*DeploymentServiceDescriptor) GetProtoPkgName added in v0.4.28

func (d *DeploymentServiceDescriptor) GetProtoPkgName() string

func (*DeploymentServiceDescriptor) GetServiceDomain added in v0.4.28

func (d *DeploymentServiceDescriptor) GetServiceDomain() string

func (*DeploymentServiceDescriptor) GetServiceVersion added in v0.4.28

func (d *DeploymentServiceDescriptor) GetServiceVersion() string

type GetDeploymentDescriptor added in v0.4.28

type GetDeploymentDescriptor struct{}

func GetGetDeploymentDescriptor added in v0.4.28

func GetGetDeploymentDescriptor() *GetDeploymentDescriptor

func (*GetDeploymentDescriptor) GetApiDescriptor added in v0.4.28

func (d *GetDeploymentDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*GetDeploymentDescriptor) GetApiName added in v0.4.28

func (d *GetDeploymentDescriptor) GetApiName() string

func (*GetDeploymentDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *GetDeploymentDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*GetDeploymentDescriptor) GetFullMethodName added in v0.4.28

func (d *GetDeploymentDescriptor) GetFullMethodName() string

func (*GetDeploymentDescriptor) GetMethodName added in v0.4.28

func (d *GetDeploymentDescriptor) GetMethodName() string

func (*GetDeploymentDescriptor) GetProtoPkgName added in v0.4.28

func (d *GetDeploymentDescriptor) GetProtoPkgName() string

func (*GetDeploymentDescriptor) GetResourceDescriptor added in v0.4.30

func (d *GetDeploymentDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*GetDeploymentDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *GetDeploymentDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*GetDeploymentDescriptor) GetServiceDomain added in v0.4.28

func (d *GetDeploymentDescriptor) GetServiceDomain() string

func (*GetDeploymentDescriptor) GetServiceVersion added in v0.4.28

func (d *GetDeploymentDescriptor) GetServiceVersion() string

func (*GetDeploymentDescriptor) GetVerb added in v0.4.28

func (d *GetDeploymentDescriptor) GetVerb() string

func (*GetDeploymentDescriptor) HasResource added in v0.4.30

func (d *GetDeploymentDescriptor) HasResource() bool

func (*GetDeploymentDescriptor) IsClientStream added in v0.4.28

func (d *GetDeploymentDescriptor) IsClientStream() bool

func (*GetDeploymentDescriptor) IsCollection added in v0.4.30

func (d *GetDeploymentDescriptor) IsCollection() bool

func (*GetDeploymentDescriptor) IsPlural added in v0.4.30

func (d *GetDeploymentDescriptor) IsPlural() bool

func (*GetDeploymentDescriptor) IsServerStream added in v0.4.28

func (d *GetDeploymentDescriptor) IsServerStream() bool

func (*GetDeploymentDescriptor) IsUnary added in v0.4.28

func (d *GetDeploymentDescriptor) IsUnary() bool

func (*GetDeploymentDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *GetDeploymentDescriptor) NewEmptyClientMsg() proto.Message

func (*GetDeploymentDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *GetDeploymentDescriptor) NewEmptyServerMsg() proto.Message

func (*GetDeploymentDescriptor) RequestHasResourceBody added in v0.4.28

func (d *GetDeploymentDescriptor) RequestHasResourceBody() bool

type GetDeploymentDescriptorClientMsgHandle added in v0.4.28

type GetDeploymentDescriptorClientMsgHandle struct{}

func (*GetDeploymentDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*GetDeploymentDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetDeploymentDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetDeploymentDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*GetDeploymentDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type GetDeploymentDescriptorServerMsgHandle added in v0.4.28

type GetDeploymentDescriptorServerMsgHandle struct{}

func (*GetDeploymentDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*GetDeploymentDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetDeploymentDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetDeploymentDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*GetDeploymentDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type GetDeploymentRequest

type GetDeploymentRequest struct {

	// Name of ntt.meta.v1alpha2.Deployment
	Name *deployment.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *deployment.Deployment_FieldMask `` /* 142-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

A request message of the GetDeployment method.

func (*GetDeploymentRequest) Descriptor

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

Deprecated, Use GetDeploymentRequest.ProtoReflect.Descriptor instead.

func (*GetDeploymentRequest) GetFieldMask

func (*GetDeploymentRequest) GetName

func (m *GetDeploymentRequest) GetName() *deployment.Name

func (*GetDeploymentRequest) GetView

func (m *GetDeploymentRequest) GetView() view.View

func (*GetDeploymentRequest) GotenMessage

func (*GetDeploymentRequest) GotenMessage()

func (*GetDeploymentRequest) GotenValidate

func (obj *GetDeploymentRequest) GotenValidate() error

func (*GetDeploymentRequest) Marshal

func (m *GetDeploymentRequest) Marshal() ([]byte, error)

func (*GetDeploymentRequest) MarshalJSON

func (m *GetDeploymentRequest) MarshalJSON() ([]byte, error)

func (*GetDeploymentRequest) ProtoMessage

func (*GetDeploymentRequest) ProtoMessage()

func (*GetDeploymentRequest) ProtoReflect

func (m *GetDeploymentRequest) ProtoReflect() preflect.Message

func (*GetDeploymentRequest) Reset

func (m *GetDeploymentRequest) Reset()

func (*GetDeploymentRequest) SetFieldMask

func (*GetDeploymentRequest) SetName

func (m *GetDeploymentRequest) SetName(fv *deployment.Name)

func (*GetDeploymentRequest) SetView

func (m *GetDeploymentRequest) SetView(fv view.View)

func (*GetDeploymentRequest) String

func (m *GetDeploymentRequest) String() string

func (*GetDeploymentRequest) Unmarshal

func (m *GetDeploymentRequest) Unmarshal(b []byte) error

func (*GetDeploymentRequest) UnmarshalJSON

func (m *GetDeploymentRequest) UnmarshalJSON(data []byte) error

type ListDeploymentsDescriptor added in v0.4.28

type ListDeploymentsDescriptor struct{}

func GetListDeploymentsDescriptor added in v0.4.28

func GetListDeploymentsDescriptor() *ListDeploymentsDescriptor

func (*ListDeploymentsDescriptor) GetApiDescriptor added in v0.4.28

func (d *ListDeploymentsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*ListDeploymentsDescriptor) GetApiName added in v0.4.28

func (d *ListDeploymentsDescriptor) GetApiName() string

func (*ListDeploymentsDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *ListDeploymentsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ListDeploymentsDescriptor) GetFullMethodName added in v0.4.28

func (d *ListDeploymentsDescriptor) GetFullMethodName() string

func (*ListDeploymentsDescriptor) GetMethodName added in v0.4.28

func (d *ListDeploymentsDescriptor) GetMethodName() string

func (*ListDeploymentsDescriptor) GetProtoPkgName added in v0.4.28

func (d *ListDeploymentsDescriptor) GetProtoPkgName() string

func (*ListDeploymentsDescriptor) GetResourceDescriptor added in v0.4.30

func (d *ListDeploymentsDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*ListDeploymentsDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *ListDeploymentsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ListDeploymentsDescriptor) GetServiceDomain added in v0.4.28

func (d *ListDeploymentsDescriptor) GetServiceDomain() string

func (*ListDeploymentsDescriptor) GetServiceVersion added in v0.4.28

func (d *ListDeploymentsDescriptor) GetServiceVersion() string

func (*ListDeploymentsDescriptor) GetVerb added in v0.4.28

func (d *ListDeploymentsDescriptor) GetVerb() string

func (*ListDeploymentsDescriptor) HasResource added in v0.4.30

func (d *ListDeploymentsDescriptor) HasResource() bool

func (*ListDeploymentsDescriptor) IsClientStream added in v0.4.28

func (d *ListDeploymentsDescriptor) IsClientStream() bool

func (*ListDeploymentsDescriptor) IsCollection added in v0.4.30

func (d *ListDeploymentsDescriptor) IsCollection() bool

func (*ListDeploymentsDescriptor) IsPlural added in v0.4.30

func (d *ListDeploymentsDescriptor) IsPlural() bool

func (*ListDeploymentsDescriptor) IsServerStream added in v0.4.28

func (d *ListDeploymentsDescriptor) IsServerStream() bool

func (*ListDeploymentsDescriptor) IsUnary added in v0.4.28

func (d *ListDeploymentsDescriptor) IsUnary() bool

func (*ListDeploymentsDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *ListDeploymentsDescriptor) NewEmptyClientMsg() proto.Message

func (*ListDeploymentsDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *ListDeploymentsDescriptor) NewEmptyServerMsg() proto.Message

func (*ListDeploymentsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *ListDeploymentsDescriptor) RequestHasResourceBody() bool

type ListDeploymentsDescriptorClientMsgHandle added in v0.4.28

type ListDeploymentsDescriptorClientMsgHandle struct{}

func (*ListDeploymentsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListDeploymentsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListDeploymentsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListDeploymentsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*ListDeploymentsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type ListDeploymentsDescriptorServerMsgHandle added in v0.4.28

type ListDeploymentsDescriptorServerMsgHandle struct{}

func (*ListDeploymentsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListDeploymentsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListDeploymentsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListDeploymentsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*ListDeploymentsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type ListDeploymentsRequest

type ListDeploymentsRequest struct {

	// Parent name of ntt.meta.v1alpha2.Deployment
	Parent *deployment.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Deployments than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of
	// ListDeploymentsResponse.next_page_token.
	PageToken *deployment.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination list
	// of field path with order directive, either 'asc' or 'desc'. If direction is
	// not provided, 'asc' is assumed. e.g. "state.nested_field asc,
	// state.something.else desc, theme"
	OrderBy *deployment.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// Filter - filter results by field criteria. Simplified SQL-like syntax with
	// following operators:
	// <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
	// [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
	// CONTAINS "severity:important" OR (state.last_error_time >
	// "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
	Filter *deployment.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *deployment.Deployment_FieldMask `` /* 142-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,7,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// Indicates if list response should contain total count and offset (fields
	// current_offset and total_results_count).
	IncludePagingInfo bool `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

A request message of the ListDeployments method.

func (*ListDeploymentsRequest) Descriptor

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

Deprecated, Use ListDeploymentsRequest.ProtoReflect.Descriptor instead.

func (*ListDeploymentsRequest) GetFieldMask

func (*ListDeploymentsRequest) GetFilter

func (m *ListDeploymentsRequest) GetFilter() *deployment.Filter

func (*ListDeploymentsRequest) GetIncludePagingInfo added in v0.10.1

func (m *ListDeploymentsRequest) GetIncludePagingInfo() bool

func (*ListDeploymentsRequest) GetOrderBy

func (m *ListDeploymentsRequest) GetOrderBy() *deployment.OrderBy

func (*ListDeploymentsRequest) GetPageSize

func (m *ListDeploymentsRequest) GetPageSize() int32

func (*ListDeploymentsRequest) GetPageToken

func (m *ListDeploymentsRequest) GetPageToken() *deployment.PagerCursor

func (*ListDeploymentsRequest) GetParent

func (*ListDeploymentsRequest) GetView

func (m *ListDeploymentsRequest) GetView() view.View

func (*ListDeploymentsRequest) GotenMessage

func (*ListDeploymentsRequest) GotenMessage()

func (*ListDeploymentsRequest) GotenValidate

func (obj *ListDeploymentsRequest) GotenValidate() error

func (*ListDeploymentsRequest) Marshal

func (m *ListDeploymentsRequest) Marshal() ([]byte, error)

func (*ListDeploymentsRequest) MarshalJSON

func (m *ListDeploymentsRequest) MarshalJSON() ([]byte, error)

func (*ListDeploymentsRequest) ProtoMessage

func (*ListDeploymentsRequest) ProtoMessage()

func (*ListDeploymentsRequest) ProtoReflect

func (m *ListDeploymentsRequest) ProtoReflect() preflect.Message

func (*ListDeploymentsRequest) Reset

func (m *ListDeploymentsRequest) Reset()

func (*ListDeploymentsRequest) SetFieldMask

func (*ListDeploymentsRequest) SetFilter

func (m *ListDeploymentsRequest) SetFilter(fv *deployment.Filter)

func (*ListDeploymentsRequest) SetIncludePagingInfo added in v0.10.1

func (m *ListDeploymentsRequest) SetIncludePagingInfo(fv bool)

func (*ListDeploymentsRequest) SetOrderBy

func (m *ListDeploymentsRequest) SetOrderBy(fv *deployment.OrderBy)

func (*ListDeploymentsRequest) SetPageSize

func (m *ListDeploymentsRequest) SetPageSize(fv int32)

func (*ListDeploymentsRequest) SetPageToken

func (m *ListDeploymentsRequest) SetPageToken(fv *deployment.PagerCursor)

func (*ListDeploymentsRequest) SetParent

func (m *ListDeploymentsRequest) SetParent(fv *deployment.ParentName)

func (*ListDeploymentsRequest) SetView

func (m *ListDeploymentsRequest) SetView(fv view.View)

func (*ListDeploymentsRequest) String

func (m *ListDeploymentsRequest) String() string

func (*ListDeploymentsRequest) Unmarshal

func (m *ListDeploymentsRequest) Unmarshal(b []byte) error

func (*ListDeploymentsRequest) UnmarshalJSON

func (m *ListDeploymentsRequest) UnmarshalJSON(data []byte) error

type ListDeploymentsResponse

type ListDeploymentsResponse struct {

	// The list of Deployments
	Deployments []*deployment.Deployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty" firestore:"deployments"`
	// A token to retrieve previous page of results.
	//
	// Pass this value in the ListDeploymentsRequest.page_token.
	PrevPageToken *deployment.PagerCursor `` /* 151-byte string literal not displayed */
	// A token to retrieve next page of results.
	//
	// Pass this value in the ListDeploymentsRequest.page_token.
	NextPageToken *deployment.PagerCursor `` /* 151-byte string literal not displayed */
	// Current offset from the first page or 0 if no page tokens were given,
	// paging info was not requested or there was an error while trying to get
	// it). Page index can be computed from offset and limit provided in a
	// request.
	CurrentOffset int32 `` /* 127-byte string literal not displayed */
	// Number of total Deployments across all pages or 0, if there are no items,
	// paging info was not requested or there was an error while trying to get it.
	TotalResultsCount int32 `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

A response message of the ListDeployments method.

func (*ListDeploymentsResponse) Descriptor

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

Deprecated, Use ListDeploymentsResponse.ProtoReflect.Descriptor instead.

func (*ListDeploymentsResponse) GetCurrentOffset added in v0.10.1

func (m *ListDeploymentsResponse) GetCurrentOffset() int32

func (*ListDeploymentsResponse) GetDeployments

func (m *ListDeploymentsResponse) GetDeployments() []*deployment.Deployment

func (*ListDeploymentsResponse) GetNextPageToken

func (m *ListDeploymentsResponse) GetNextPageToken() *deployment.PagerCursor

func (*ListDeploymentsResponse) GetPrevPageToken

func (m *ListDeploymentsResponse) GetPrevPageToken() *deployment.PagerCursor

func (*ListDeploymentsResponse) GetTotalResultsCount added in v0.10.1

func (m *ListDeploymentsResponse) GetTotalResultsCount() int32

func (*ListDeploymentsResponse) GotenMessage

func (*ListDeploymentsResponse) GotenMessage()

func (*ListDeploymentsResponse) GotenValidate

func (obj *ListDeploymentsResponse) GotenValidate() error

func (*ListDeploymentsResponse) Marshal

func (m *ListDeploymentsResponse) Marshal() ([]byte, error)

func (*ListDeploymentsResponse) MarshalJSON

func (m *ListDeploymentsResponse) MarshalJSON() ([]byte, error)

func (*ListDeploymentsResponse) ProtoMessage

func (*ListDeploymentsResponse) ProtoMessage()

func (*ListDeploymentsResponse) ProtoReflect

func (m *ListDeploymentsResponse) ProtoReflect() preflect.Message

func (*ListDeploymentsResponse) Reset

func (m *ListDeploymentsResponse) Reset()

func (*ListDeploymentsResponse) SetCurrentOffset added in v0.10.1

func (m *ListDeploymentsResponse) SetCurrentOffset(fv int32)

func (*ListDeploymentsResponse) SetDeployments

func (m *ListDeploymentsResponse) SetDeployments(fv []*deployment.Deployment)

func (*ListDeploymentsResponse) SetNextPageToken

func (m *ListDeploymentsResponse) SetNextPageToken(fv *deployment.PagerCursor)

func (*ListDeploymentsResponse) SetPrevPageToken

func (m *ListDeploymentsResponse) SetPrevPageToken(fv *deployment.PagerCursor)

func (*ListDeploymentsResponse) SetTotalResultsCount added in v0.10.1

func (m *ListDeploymentsResponse) SetTotalResultsCount(fv int32)

func (*ListDeploymentsResponse) String

func (m *ListDeploymentsResponse) String() string

func (*ListDeploymentsResponse) Unmarshal

func (m *ListDeploymentsResponse) Unmarshal(b []byte) error

func (*ListDeploymentsResponse) UnmarshalJSON

func (m *ListDeploymentsResponse) UnmarshalJSON(data []byte) error

type WatchDeploymentClientStream

type WatchDeploymentClientStream interface {
	Recv() (*WatchDeploymentResponse, error)
	grpc.ClientStream
}

type WatchDeploymentDescriptor added in v0.4.28

type WatchDeploymentDescriptor struct{}

func GetWatchDeploymentDescriptor added in v0.4.28

func GetWatchDeploymentDescriptor() *WatchDeploymentDescriptor

func (*WatchDeploymentDescriptor) GetApiDescriptor added in v0.4.28

func (d *WatchDeploymentDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*WatchDeploymentDescriptor) GetApiName added in v0.4.28

func (d *WatchDeploymentDescriptor) GetApiName() string

func (*WatchDeploymentDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *WatchDeploymentDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchDeploymentDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchDeploymentDescriptor) GetFullMethodName() string

func (*WatchDeploymentDescriptor) GetMethodName added in v0.4.28

func (d *WatchDeploymentDescriptor) GetMethodName() string

func (*WatchDeploymentDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchDeploymentDescriptor) GetProtoPkgName() string

func (*WatchDeploymentDescriptor) GetResourceDescriptor added in v0.4.30

func (d *WatchDeploymentDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*WatchDeploymentDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *WatchDeploymentDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchDeploymentDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchDeploymentDescriptor) GetServiceDomain() string

func (*WatchDeploymentDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchDeploymentDescriptor) GetServiceVersion() string

func (*WatchDeploymentDescriptor) GetVerb added in v0.4.28

func (d *WatchDeploymentDescriptor) GetVerb() string

func (*WatchDeploymentDescriptor) HasResource added in v0.4.30

func (d *WatchDeploymentDescriptor) HasResource() bool

func (*WatchDeploymentDescriptor) IsClientStream added in v0.4.28

func (d *WatchDeploymentDescriptor) IsClientStream() bool

func (*WatchDeploymentDescriptor) IsCollection added in v0.4.30

func (d *WatchDeploymentDescriptor) IsCollection() bool

func (*WatchDeploymentDescriptor) IsPlural added in v0.4.30

func (d *WatchDeploymentDescriptor) IsPlural() bool

func (*WatchDeploymentDescriptor) IsServerStream added in v0.4.28

func (d *WatchDeploymentDescriptor) IsServerStream() bool

func (*WatchDeploymentDescriptor) IsUnary added in v0.4.28

func (d *WatchDeploymentDescriptor) IsUnary() bool

func (*WatchDeploymentDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *WatchDeploymentDescriptor) NewEmptyClientMsg() proto.Message

func (*WatchDeploymentDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *WatchDeploymentDescriptor) NewEmptyServerMsg() proto.Message

func (*WatchDeploymentDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchDeploymentDescriptor) RequestHasResourceBody() bool

type WatchDeploymentDescriptorClientMsgHandle added in v0.4.28

type WatchDeploymentDescriptorClientMsgHandle struct{}

func (*WatchDeploymentDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchDeploymentDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchDeploymentDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchDeploymentDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchDeploymentDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchDeploymentDescriptorServerMsgHandle added in v0.4.28

type WatchDeploymentDescriptorServerMsgHandle struct{}

func (*WatchDeploymentDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchDeploymentDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchDeploymentDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchDeploymentDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchDeploymentDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchDeploymentRequest

type WatchDeploymentRequest struct {

	// Name of ntt.meta.v1alpha2.Deployment
	Name *deployment.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *deployment.Deployment_FieldMask `` /* 142-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

A request message of the WatchDeployment method.

func (*WatchDeploymentRequest) Descriptor

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

Deprecated, Use WatchDeploymentRequest.ProtoReflect.Descriptor instead.

func (*WatchDeploymentRequest) GetFieldMask

func (*WatchDeploymentRequest) GetName

func (m *WatchDeploymentRequest) GetName() *deployment.Name

func (*WatchDeploymentRequest) GetView

func (m *WatchDeploymentRequest) GetView() view.View

func (*WatchDeploymentRequest) GotenMessage

func (*WatchDeploymentRequest) GotenMessage()

func (*WatchDeploymentRequest) GotenValidate

func (obj *WatchDeploymentRequest) GotenValidate() error

func (*WatchDeploymentRequest) Marshal

func (m *WatchDeploymentRequest) Marshal() ([]byte, error)

func (*WatchDeploymentRequest) MarshalJSON

func (m *WatchDeploymentRequest) MarshalJSON() ([]byte, error)

func (*WatchDeploymentRequest) ProtoMessage

func (*WatchDeploymentRequest) ProtoMessage()

func (*WatchDeploymentRequest) ProtoReflect

func (m *WatchDeploymentRequest) ProtoReflect() preflect.Message

func (*WatchDeploymentRequest) Reset

func (m *WatchDeploymentRequest) Reset()

func (*WatchDeploymentRequest) SetFieldMask

func (*WatchDeploymentRequest) SetName

func (m *WatchDeploymentRequest) SetName(fv *deployment.Name)

func (*WatchDeploymentRequest) SetView

func (m *WatchDeploymentRequest) SetView(fv view.View)

func (*WatchDeploymentRequest) String

func (m *WatchDeploymentRequest) String() string

func (*WatchDeploymentRequest) Unmarshal

func (m *WatchDeploymentRequest) Unmarshal(b []byte) error

func (*WatchDeploymentRequest) UnmarshalJSON

func (m *WatchDeploymentRequest) UnmarshalJSON(data []byte) error

type WatchDeploymentResponse

type WatchDeploymentResponse struct {
	Change *deployment.DeploymentChange `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty" firestore:"change"`
	// contains filtered or unexported fields
}

A response message of the WatchDeployment method.

func (*WatchDeploymentResponse) Descriptor

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

Deprecated, Use WatchDeploymentResponse.ProtoReflect.Descriptor instead.

func (*WatchDeploymentResponse) GetChange

func (*WatchDeploymentResponse) GotenMessage

func (*WatchDeploymentResponse) GotenMessage()

func (*WatchDeploymentResponse) GotenValidate

func (obj *WatchDeploymentResponse) GotenValidate() error

func (*WatchDeploymentResponse) Marshal

func (m *WatchDeploymentResponse) Marshal() ([]byte, error)

func (*WatchDeploymentResponse) MarshalJSON

func (m *WatchDeploymentResponse) MarshalJSON() ([]byte, error)

func (*WatchDeploymentResponse) ProtoMessage

func (*WatchDeploymentResponse) ProtoMessage()

func (*WatchDeploymentResponse) ProtoReflect

func (m *WatchDeploymentResponse) ProtoReflect() preflect.Message

func (*WatchDeploymentResponse) Reset

func (m *WatchDeploymentResponse) Reset()

func (*WatchDeploymentResponse) SetChange

func (*WatchDeploymentResponse) String

func (m *WatchDeploymentResponse) String() string

func (*WatchDeploymentResponse) Unmarshal

func (m *WatchDeploymentResponse) Unmarshal(b []byte) error

func (*WatchDeploymentResponse) UnmarshalJSON

func (m *WatchDeploymentResponse) UnmarshalJSON(data []byte) error

type WatchDeploymentsClientStream

type WatchDeploymentsClientStream interface {
	Recv() (*WatchDeploymentsResponse, error)
	grpc.ClientStream
}

type WatchDeploymentsDescriptor added in v0.4.28

type WatchDeploymentsDescriptor struct{}

func GetWatchDeploymentsDescriptor added in v0.4.28

func GetWatchDeploymentsDescriptor() *WatchDeploymentsDescriptor

func (*WatchDeploymentsDescriptor) GetApiDescriptor added in v0.4.28

func (*WatchDeploymentsDescriptor) GetApiName added in v0.4.28

func (d *WatchDeploymentsDescriptor) GetApiName() string

func (*WatchDeploymentsDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *WatchDeploymentsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchDeploymentsDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchDeploymentsDescriptor) GetFullMethodName() string

func (*WatchDeploymentsDescriptor) GetMethodName added in v0.4.28

func (d *WatchDeploymentsDescriptor) GetMethodName() string

func (*WatchDeploymentsDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchDeploymentsDescriptor) GetProtoPkgName() string

func (*WatchDeploymentsDescriptor) GetResourceDescriptor added in v0.4.30

func (d *WatchDeploymentsDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*WatchDeploymentsDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *WatchDeploymentsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchDeploymentsDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchDeploymentsDescriptor) GetServiceDomain() string

func (*WatchDeploymentsDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchDeploymentsDescriptor) GetServiceVersion() string

func (*WatchDeploymentsDescriptor) GetVerb added in v0.4.28

func (d *WatchDeploymentsDescriptor) GetVerb() string

func (*WatchDeploymentsDescriptor) HasResource added in v0.4.30

func (d *WatchDeploymentsDescriptor) HasResource() bool

func (*WatchDeploymentsDescriptor) IsClientStream added in v0.4.28

func (d *WatchDeploymentsDescriptor) IsClientStream() bool

func (*WatchDeploymentsDescriptor) IsCollection added in v0.4.30

func (d *WatchDeploymentsDescriptor) IsCollection() bool

func (*WatchDeploymentsDescriptor) IsPlural added in v0.4.30

func (d *WatchDeploymentsDescriptor) IsPlural() bool

func (*WatchDeploymentsDescriptor) IsServerStream added in v0.4.28

func (d *WatchDeploymentsDescriptor) IsServerStream() bool

func (*WatchDeploymentsDescriptor) IsUnary added in v0.4.28

func (d *WatchDeploymentsDescriptor) IsUnary() bool

func (*WatchDeploymentsDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *WatchDeploymentsDescriptor) NewEmptyClientMsg() proto.Message

func (*WatchDeploymentsDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *WatchDeploymentsDescriptor) NewEmptyServerMsg() proto.Message

func (*WatchDeploymentsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchDeploymentsDescriptor) RequestHasResourceBody() bool

type WatchDeploymentsDescriptorClientMsgHandle added in v0.4.28

type WatchDeploymentsDescriptorClientMsgHandle struct{}

func (*WatchDeploymentsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchDeploymentsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchDeploymentsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchDeploymentsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchDeploymentsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchDeploymentsDescriptorServerMsgHandle added in v0.4.28

type WatchDeploymentsDescriptorServerMsgHandle struct{}

func (*WatchDeploymentsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchDeploymentsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchDeploymentsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchDeploymentsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchDeploymentsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchDeploymentsRequest

type WatchDeploymentsRequest struct {

	// Type of a watch. Identifies how server stream data to a client, which
	// fields in a request are allowed and which fields in response are relevant.
	Type watch_type.WatchType `protobuf:"varint,9,opt,name=type,proto3,enum=goten.types.WatchType" json:"type,omitempty" firestore:"type"`
	// Parent name of ntt.meta.v1alpha2.Deployment
	Parent *deployment.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Deployments than requested.
	// If unspecified, server will pick an appropriate default.
	// Can be populated only for stateful watch type.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"`
	// A token identifying a page of results the server should return.
	// Can be populated only for stateful watch type.
	PageToken *deployment.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination Can be
	// populated only for stateful watch type.
	OrderBy *deployment.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// A token identifying watch resume point from previous session.
	// Can be populated only for stateless watch type.
	ResumeToken string `protobuf:"bytes,10,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// Point in the time from which we want to start getting updates. This field
	// can be populated only for stateless watch type and if resume token is not
	// known yet. If specified, initial snapshot will NOT be provided. It is
	// assumed client can obtain it using separate means. Watch responses will
	// contain resume tokens which should be used to resume broken connection.
	StartingTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=starting_time,json=startingTime,proto3" json:"starting_time,omitempty" firestore:"startingTime"`
	// Filter - filter results by field criteria. Simplified SQL-like syntax with
	// following operators:
	// <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
	// [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
	// CONTAINS "severity:important" OR (state.last_error_time >
	// "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
	Filter *deployment.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view Changes to Deployment that don't
	// affect any of masked fields won't be sent back.
	FieldMask *deployment.Deployment_FieldMask `` /* 142-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask Changes to
	// Deployment that don't affect any of masked fields won't be sent back.
	View view.View `protobuf:"varint,8,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// Maximum amount of changes in each response message. Query result response
	// is divided on the server side into chunks with size of a specified amount
	// to limit memory footprint of each message. Responses will hold information
	// whether more elements will continue for the actual change. If unspecified,
	// server will pick an appropriate default.
	MaxChunkSize int32 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

A request message of the WatchDeployments method.

func (*WatchDeploymentsRequest) Descriptor

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

Deprecated, Use WatchDeploymentsRequest.ProtoReflect.Descriptor instead.

func (*WatchDeploymentsRequest) GetFieldMask

func (*WatchDeploymentsRequest) GetFilter

func (m *WatchDeploymentsRequest) GetFilter() *deployment.Filter

func (*WatchDeploymentsRequest) GetMaxChunkSize

func (m *WatchDeploymentsRequest) GetMaxChunkSize() int32

func (*WatchDeploymentsRequest) GetOrderBy

func (m *WatchDeploymentsRequest) GetOrderBy() *deployment.OrderBy

func (*WatchDeploymentsRequest) GetPageSize

func (m *WatchDeploymentsRequest) GetPageSize() int32

func (*WatchDeploymentsRequest) GetPageToken

func (m *WatchDeploymentsRequest) GetPageToken() *deployment.PagerCursor

func (*WatchDeploymentsRequest) GetParent

func (*WatchDeploymentsRequest) GetResumeToken

func (m *WatchDeploymentsRequest) GetResumeToken() string

func (*WatchDeploymentsRequest) GetStartingTime added in v0.9.0

func (m *WatchDeploymentsRequest) GetStartingTime() *timestamppb.Timestamp

func (*WatchDeploymentsRequest) GetType

func (*WatchDeploymentsRequest) GetView

func (m *WatchDeploymentsRequest) GetView() view.View

func (*WatchDeploymentsRequest) GotenMessage

func (*WatchDeploymentsRequest) GotenMessage()

func (*WatchDeploymentsRequest) GotenValidate

func (obj *WatchDeploymentsRequest) GotenValidate() error

func (*WatchDeploymentsRequest) Marshal

func (m *WatchDeploymentsRequest) Marshal() ([]byte, error)

func (*WatchDeploymentsRequest) MarshalJSON

func (m *WatchDeploymentsRequest) MarshalJSON() ([]byte, error)

func (*WatchDeploymentsRequest) ProtoMessage

func (*WatchDeploymentsRequest) ProtoMessage()

func (*WatchDeploymentsRequest) ProtoReflect

func (m *WatchDeploymentsRequest) ProtoReflect() preflect.Message

func (*WatchDeploymentsRequest) Reset

func (m *WatchDeploymentsRequest) Reset()

func (*WatchDeploymentsRequest) SetFieldMask

func (*WatchDeploymentsRequest) SetFilter

func (m *WatchDeploymentsRequest) SetFilter(fv *deployment.Filter)

func (*WatchDeploymentsRequest) SetMaxChunkSize

func (m *WatchDeploymentsRequest) SetMaxChunkSize(fv int32)

func (*WatchDeploymentsRequest) SetOrderBy

func (m *WatchDeploymentsRequest) SetOrderBy(fv *deployment.OrderBy)

func (*WatchDeploymentsRequest) SetPageSize

func (m *WatchDeploymentsRequest) SetPageSize(fv int32)

func (*WatchDeploymentsRequest) SetPageToken

func (m *WatchDeploymentsRequest) SetPageToken(fv *deployment.PagerCursor)

func (*WatchDeploymentsRequest) SetParent

func (m *WatchDeploymentsRequest) SetParent(fv *deployment.ParentName)

func (*WatchDeploymentsRequest) SetResumeToken

func (m *WatchDeploymentsRequest) SetResumeToken(fv string)

func (*WatchDeploymentsRequest) SetStartingTime added in v0.9.0

func (m *WatchDeploymentsRequest) SetStartingTime(fv *timestamppb.Timestamp)

func (*WatchDeploymentsRequest) SetType

func (*WatchDeploymentsRequest) SetView

func (m *WatchDeploymentsRequest) SetView(fv view.View)

func (*WatchDeploymentsRequest) String

func (m *WatchDeploymentsRequest) String() string

func (*WatchDeploymentsRequest) Unmarshal

func (m *WatchDeploymentsRequest) Unmarshal(b []byte) error

func (*WatchDeploymentsRequest) UnmarshalJSON

func (m *WatchDeploymentsRequest) UnmarshalJSON(data []byte) error

type WatchDeploymentsResponse

type WatchDeploymentsResponse struct {

	// Changes of Deployments
	DeploymentChanges []*deployment.DeploymentChange `` /* 142-byte string literal not displayed */
	// If request specified max_chunk_size (or this limit was enforced if
	// stateless watch has been chosen), then responses with "full changeset" will
	// be divided into chunks. Client should keep receiving messages and, once
	// is_current has value true, combine this recent message with all previous
	// ones where is_current is false. If this is the first is_current in a whole
	// watch stream, then it means that client should have, at this moment,
	// contain snapshot of the current situation (or more accurately, snapshot of
	// situation at the moment of request). All Deployments will be of type
	// Added/Current (depending on watch_type specified in the request). Further
	// responses will be incremental - however messages may still be chunked and
	// is_current logic still applies. is_current is always true for stateful
	// watch if max_chunk_size was left to 0.
	IsCurrent bool `protobuf:"varint,4,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty" firestore:"isCurrent"`
	// When present, PageTokens used for page navigation should be updated.
	// Present only if is_current is true (last chunk).
	PageTokenChange *WatchDeploymentsResponse_PageTokenChange `` /* 136-byte string literal not displayed */
	// Token that can be used if current connection drops and client needs to
	// reconnect. Populated only for stateless watch type. Present only if
	// is_current is true (last chunk).
	ResumeToken string `protobuf:"bytes,5,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// Server may occasionally send information how many resources should client
	// have in its state so far (response message without any changes, but with
	// snapshot_size field specified). If client has different value than the one
	// sent by the server, then it should be treated by a client as an error and
	// should reconnect. If value is smaller then 0, then client should ignore
	// this field as unpopulated. This field should be checked only for stateless
	// watch. In stateful those kind of errors are handled by the server side.
	// Will be never sent together with is_current, is_soft_reset and
	// is_hard_reset flags.
	SnapshotSize int64 `protobuf:"varint,6,opt,name=snapshot_size,json=snapshotSize,proto3" json:"snapshot_size,omitempty" firestore:"snapshotSize"`
	// In case of internal issue server may send response message with this flag.
	// It indicates that client should drop all changes from recent responses
	// where is_current is false only! If last message had is_current set to true,
	// client should do nothing and process normally. Resume token received before
	// is still valid. This field should be checked only for stateless watch. In
	// stateful those kind of errors are handled by the server side. Will never be
	// sent along with is_current, is_hard_reset or snapshot_size.
	IsSoftReset bool `protobuf:"varint,7,opt,name=is_soft_reset,json=isSoftReset,proto3" json:"is_soft_reset,omitempty" firestore:"isSoftReset"`
	// In case of internal issue server may send response message with this flag.
	// After receiving, client should clear whole state (drop all changes received
	// so far) as server will send new snapshot (Deployments will contains changes
	// of type Current only). Any resume tokens should be discarded as well. This
	// field should be checked only for stateless watch. In stateful those kind of
	// errors are handled by the server side. Will never be sent along with
	// is_current, is_soft_reset or snapshot_size.
	IsHardReset bool `protobuf:"varint,8,opt,name=is_hard_reset,json=isHardReset,proto3" json:"is_hard_reset,omitempty" firestore:"isHardReset"`
	// contains filtered or unexported fields
}

A response message of the WatchDeployments method.

func (*WatchDeploymentsResponse) Descriptor

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

Deprecated, Use WatchDeploymentsResponse.ProtoReflect.Descriptor instead.

func (*WatchDeploymentsResponse) GetDeploymentChanges

func (m *WatchDeploymentsResponse) GetDeploymentChanges() []*deployment.DeploymentChange

func (*WatchDeploymentsResponse) GetIsCurrent

func (m *WatchDeploymentsResponse) GetIsCurrent() bool

func (*WatchDeploymentsResponse) GetIsHardReset

func (m *WatchDeploymentsResponse) GetIsHardReset() bool

func (*WatchDeploymentsResponse) GetIsSoftReset

func (m *WatchDeploymentsResponse) GetIsSoftReset() bool

func (*WatchDeploymentsResponse) GetPageTokenChange

func (*WatchDeploymentsResponse) GetResumeToken

func (m *WatchDeploymentsResponse) GetResumeToken() string

func (*WatchDeploymentsResponse) GetSnapshotSize

func (m *WatchDeploymentsResponse) GetSnapshotSize() int64

func (*WatchDeploymentsResponse) GotenMessage

func (*WatchDeploymentsResponse) GotenMessage()

func (*WatchDeploymentsResponse) GotenValidate

func (obj *WatchDeploymentsResponse) GotenValidate() error

func (*WatchDeploymentsResponse) Marshal

func (m *WatchDeploymentsResponse) Marshal() ([]byte, error)

func (*WatchDeploymentsResponse) MarshalJSON

func (m *WatchDeploymentsResponse) MarshalJSON() ([]byte, error)

func (*WatchDeploymentsResponse) ProtoMessage

func (*WatchDeploymentsResponse) ProtoMessage()

func (*WatchDeploymentsResponse) ProtoReflect

func (m *WatchDeploymentsResponse) ProtoReflect() preflect.Message

func (*WatchDeploymentsResponse) Reset

func (m *WatchDeploymentsResponse) Reset()

func (*WatchDeploymentsResponse) SetDeploymentChanges

func (m *WatchDeploymentsResponse) SetDeploymentChanges(fv []*deployment.DeploymentChange)

func (*WatchDeploymentsResponse) SetIsCurrent

func (m *WatchDeploymentsResponse) SetIsCurrent(fv bool)

func (*WatchDeploymentsResponse) SetIsHardReset

func (m *WatchDeploymentsResponse) SetIsHardReset(fv bool)

func (*WatchDeploymentsResponse) SetIsSoftReset

func (m *WatchDeploymentsResponse) SetIsSoftReset(fv bool)

func (*WatchDeploymentsResponse) SetPageTokenChange

func (*WatchDeploymentsResponse) SetResumeToken

func (m *WatchDeploymentsResponse) SetResumeToken(fv string)

func (*WatchDeploymentsResponse) SetSnapshotSize

func (m *WatchDeploymentsResponse) SetSnapshotSize(fv int64)

func (*WatchDeploymentsResponse) String

func (m *WatchDeploymentsResponse) String() string

func (*WatchDeploymentsResponse) Unmarshal

func (m *WatchDeploymentsResponse) Unmarshal(b []byte) error

func (*WatchDeploymentsResponse) UnmarshalJSON

func (m *WatchDeploymentsResponse) UnmarshalJSON(data []byte) error

type WatchDeploymentsResponse_PageTokenChange

type WatchDeploymentsResponse_PageTokenChange struct {

	// New token to retrieve previous page of results.
	PrevPageToken *deployment.PagerCursor `` /* 151-byte string literal not displayed */
	// New token to retrieve next page of results.
	NextPageToken *deployment.PagerCursor `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WatchDeploymentsResponse_PageTokenChange) Descriptor

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

Deprecated, Use WatchDeploymentsResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchDeploymentsResponse_PageTokenChange) GetNextPageToken

func (*WatchDeploymentsResponse_PageTokenChange) GetPrevPageToken

func (*WatchDeploymentsResponse_PageTokenChange) GotenMessage

func (*WatchDeploymentsResponse_PageTokenChange) GotenValidate

func (obj *WatchDeploymentsResponse_PageTokenChange) GotenValidate() error

func (*WatchDeploymentsResponse_PageTokenChange) Marshal

func (*WatchDeploymentsResponse_PageTokenChange) MarshalJSON

func (m *WatchDeploymentsResponse_PageTokenChange) MarshalJSON() ([]byte, error)

func (*WatchDeploymentsResponse_PageTokenChange) ProtoMessage

func (*WatchDeploymentsResponse_PageTokenChange) ProtoReflect

func (*WatchDeploymentsResponse_PageTokenChange) Reset

func (*WatchDeploymentsResponse_PageTokenChange) SetNextPageToken

func (*WatchDeploymentsResponse_PageTokenChange) SetPrevPageToken

func (*WatchDeploymentsResponse_PageTokenChange) String

func (*WatchDeploymentsResponse_PageTokenChange) Unmarshal

func (*WatchDeploymentsResponse_PageTokenChange) UnmarshalJSON

func (m *WatchDeploymentsResponse_PageTokenChange) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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