deployment

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NamePattern_Service = "services/{service}/deployments/{deployment}"
)

Variables

View Source
var (
	Deployment_UpgradeState_Stage_name = map[int32]string{
		0: "READY",
		1: "INITIAL_SYNCING",
		2: "SWITCHING",
	}

	Deployment_UpgradeState_Stage_value = map[string]int32{
		"READY":           0,
		"INITIAL_SYNCING": 1,
		"SWITCHING":       2,
	}
)

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access DeploymentAccess) gotenresource.Access

Types

type Deployment

type Deployment struct {

	// Name of Deployment
	// ID must be exactly same as region ID it belongs to - it is populated
	// automatically by Goten components.
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Metadata is an object with information like create, update and delete time
	// (for async deleted resources), has user labels/annotations, sharding
	// information, multi-region syncing information and may have non-schema
	// owners (useful for taking ownership of resources belonging to lower level
	// services by higher ones).
	Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// Service display name - it is lowerCamelCase of service name, but not
	// domain. It is taken from api-skeleton file, under "service.name" path.
	ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" firestore:"serviceName"`
	// Informs in which region cluster running this deployment is located.
	Region *region.Reference `protobuf:"bytes,4,opt,customtype=Reference,name=region,proto3" json:"region,omitempty" firestore:"region"`
	// Public domain indicates under which public address service in this
	// particular region can be accessed.
	PublicDomain string `protobuf:"bytes,5,opt,name=public_domain,json=publicDomain,proto3" json:"public_domain,omitempty" firestore:"publicDomain"`
	// Private domain indicates how to access this service within local private
	// network. However, this address should not be available for anyone outside
	// network. It is only to be used by other service deployments that run within
	// same private network for better performance purposes (less hops). It should
	// be used in conjunction with field local_network_id.
	PrivateDomain string `` /* 126-byte string literal not displayed */
	// Local network identifier - it can be mostly anything, however if two
	// deployments for different services hold same value in same region, then
	// Goten components will try to optimize access by using private_domain field
	// instead of public_domain.
	LocalNetworkId string `` /* 132-byte string literal not displayed */
	// Location of given deployment. This value is likely to be equal for all
	// deployments using same underlying cluster. It may be used by Goten to
	// optimize multi-region routing.
	Location *Deployment_Location `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty" firestore:"location"`
	// Whether this deployment is disabled. It does not trigger any deployment
	// deletion - it will just notify others (in different regions) that its
	// no longer available and no request should be routed there. It can
	// be used as first step to delete deployment.
	IsDisabled bool `protobuf:"varint,9,opt,name=is_disabled,json=isDisabled,proto3" json:"is_disabled,omitempty" firestore:"isDisabled"`
	// Generation number used by EnvRegistry config to generate this resource.
	EnvRegistryGeneration int32 `` /* 162-byte string literal not displayed */
	// The current version of the service. Note this MAY not be the newest
	// version! At the very least, if there was a fresh db upgrade, it will be old
	// version till automatic upgrade finishes (or manual switch happens).
	CurrentVersion string `` /* 131-byte string literal not displayed */
	// If true, then switch to the new version will be automatic (if there is
	// newer), once db upgrade finishes. Otherwise it will require manual call
	// from operator.
	AutomaticVersionSwitch bool `` /* 166-byte string literal not displayed */
	// Current state of the upgrade task.
	UpgradeState *Deployment_UpgradeState `protobuf:"bytes,13,opt,name=upgrade_state,json=upgradeState,proto3" json:"upgrade_state,omitempty" firestore:"upgradeState"`
	// Internal allowed services generation field from Service resource.
	// Used for metadata synchronization.
	AllowedServicesGeneration int64 `` /* 178-byte string literal not displayed */
	// contains filtered or unexported fields
}

Deployment Resource describes deployment of service in specific regional cluster (may be multi-zonal). It contains accessibility details.

func (*Deployment) Clone

func (o *Deployment) Clone() *Deployment

func (*Deployment) CloneRaw

func (o *Deployment) CloneRaw() gotenobject.GotenObjectExt

func (*Deployment) Descriptor

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

Deprecated, Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) EnsureMetadata

func (r *Deployment) EnsureMetadata() *meta.Meta

func (*Deployment) GetAllowedServicesGeneration

func (m *Deployment) GetAllowedServicesGeneration() int64

func (*Deployment) GetAutomaticVersionSwitch

func (m *Deployment) GetAutomaticVersionSwitch() bool

func (*Deployment) GetCurrentVersion

func (m *Deployment) GetCurrentVersion() string

func (*Deployment) GetEnvRegistryGeneration

func (m *Deployment) GetEnvRegistryGeneration() int32

func (*Deployment) GetIsDisabled

func (m *Deployment) GetIsDisabled() bool

func (*Deployment) GetLocalNetworkId

func (m *Deployment) GetLocalNetworkId() string

func (*Deployment) GetLocation

func (m *Deployment) GetLocation() *Deployment_Location

func (*Deployment) GetMetadata

func (m *Deployment) GetMetadata() *meta.Meta

func (*Deployment) GetName

func (m *Deployment) GetName() *Name

func (*Deployment) GetPrivateDomain

func (m *Deployment) GetPrivateDomain() string

func (*Deployment) GetPublicDomain

func (m *Deployment) GetPublicDomain() string

func (*Deployment) GetRawName

func (r *Deployment) GetRawName() gotenresource.Name

func (*Deployment) GetRegion

func (m *Deployment) GetRegion() *region.Reference

func (*Deployment) GetResourceDescriptor

func (r *Deployment) GetResourceDescriptor() gotenresource.Descriptor

func (*Deployment) GetServiceName

func (m *Deployment) GetServiceName() string

func (*Deployment) GetUpgradeState

func (m *Deployment) GetUpgradeState() *Deployment_UpgradeState

func (*Deployment) GotenMessage

func (*Deployment) GotenMessage()

func (*Deployment) GotenObjectExt

func (o *Deployment) GotenObjectExt()

func (*Deployment) GotenValidate

func (obj *Deployment) GotenValidate() error

func (*Deployment) MakeDiffFieldMask

func (o *Deployment) MakeDiffFieldMask(other *Deployment) *Deployment_FieldMask

func (*Deployment) MakeFullFieldMask

func (o *Deployment) MakeFullFieldMask() *Deployment_FieldMask

func (*Deployment) MakeRawDiffFieldMask

func (o *Deployment) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask

func (*Deployment) MakeRawFullFieldMask

func (o *Deployment) MakeRawFullFieldMask() gotenobject.FieldMask

func (*Deployment) Marshal

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

func (*Deployment) MarshalJSON

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

func (*Deployment) MaybePopulateDefaults

func (r *Deployment) MaybePopulateDefaults() error

func (*Deployment) Merge

func (o *Deployment) Merge(source *Deployment)

func (*Deployment) MergeRaw

func (o *Deployment) MergeRaw(source gotenobject.GotenObjectExt)

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect

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

func (*Deployment) Reset

func (m *Deployment) Reset()

func (*Deployment) SetAllowedServicesGeneration

func (m *Deployment) SetAllowedServicesGeneration(fv int64)

func (*Deployment) SetAutomaticVersionSwitch

func (m *Deployment) SetAutomaticVersionSwitch(fv bool)

func (*Deployment) SetCurrentVersion

func (m *Deployment) SetCurrentVersion(fv string)

func (*Deployment) SetEnvRegistryGeneration

func (m *Deployment) SetEnvRegistryGeneration(fv int32)

func (*Deployment) SetIsDisabled

func (m *Deployment) SetIsDisabled(fv bool)

func (*Deployment) SetLocalNetworkId

func (m *Deployment) SetLocalNetworkId(fv string)

func (*Deployment) SetLocation

func (m *Deployment) SetLocation(fv *Deployment_Location)

func (*Deployment) SetMetadata

func (m *Deployment) SetMetadata(fv *meta.Meta)

func (*Deployment) SetName

func (m *Deployment) SetName(fv *Name)

func (*Deployment) SetPrivateDomain

func (m *Deployment) SetPrivateDomain(fv string)

func (*Deployment) SetPublicDomain

func (m *Deployment) SetPublicDomain(fv string)

func (*Deployment) SetRegion

func (m *Deployment) SetRegion(fv *region.Reference)

func (*Deployment) SetServiceName

func (m *Deployment) SetServiceName(fv string)

func (*Deployment) SetUpgradeState

func (m *Deployment) SetUpgradeState(fv *Deployment_UpgradeState)

func (*Deployment) String

func (m *Deployment) String() string

func (*Deployment) Unmarshal

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

func (*Deployment) UnmarshalJSON

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

type DeploymentAccess

type DeploymentAccess interface {
	GetDeployment(context.Context, *GetQuery) (*Deployment, error)
	BatchGetDeployments(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryDeployments(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchDeployment(context.Context, *GetQuery, func(*DeploymentChange) error) error
	WatchDeployments(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveDeployment(context.Context, *Deployment, ...gotenresource.SaveOption) error
	DeleteDeployment(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type DeploymentChange

type DeploymentChange struct {

	// Deployment change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*DeploymentChange_Added_
	//	*DeploymentChange_Modified_
	//	*DeploymentChange_Current_
	//	*DeploymentChange_Removed_
	ChangeType isDeploymentChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

DeploymentChange is used by Watch notifications Responses to describe change of single Deployment One of Added, Modified, Removed

func (*DeploymentChange) Descriptor

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

Deprecated, Use DeploymentChange.ProtoReflect.Descriptor instead.

func (*DeploymentChange) GetAdded

func (*DeploymentChange) GetChangeType

func (m *DeploymentChange) GetChangeType() isDeploymentChange_ChangeType

func (*DeploymentChange) GetCurrent

func (m *DeploymentChange) GetCurrent() *DeploymentChange_Current

func (*DeploymentChange) GetCurrentViewIndex

func (c *DeploymentChange) GetCurrentViewIndex() int32

func (*DeploymentChange) GetDeployment

func (c *DeploymentChange) GetDeployment() *Deployment

func (*DeploymentChange) GetDeploymentName

func (c *DeploymentChange) GetDeploymentName() *Name

func (*DeploymentChange) GetModified

func (m *DeploymentChange) GetModified() *DeploymentChange_Modified

func (*DeploymentChange) GetPreviousViewIndex

func (c *DeploymentChange) GetPreviousViewIndex() int32

func (*DeploymentChange) GetRawName

func (c *DeploymentChange) GetRawName() gotenresource.Name

func (*DeploymentChange) GetRawResource

func (c *DeploymentChange) GetRawResource() gotenresource.Resource

func (*DeploymentChange) GetRemoved

func (m *DeploymentChange) GetRemoved() *DeploymentChange_Removed

func (*DeploymentChange) GotenMessage

func (*DeploymentChange) GotenMessage()

func (*DeploymentChange) GotenValidate

func (obj *DeploymentChange) GotenValidate() error

func (*DeploymentChange) IsAdd

func (c *DeploymentChange) IsAdd() bool

func (*DeploymentChange) IsCurrent

func (c *DeploymentChange) IsCurrent() bool

func (*DeploymentChange) IsDelete

func (c *DeploymentChange) IsDelete() bool

func (*DeploymentChange) IsModify

func (c *DeploymentChange) IsModify() bool

func (*DeploymentChange) Marshal

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

func (*DeploymentChange) MarshalJSON

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

func (*DeploymentChange) ProtoMessage

func (*DeploymentChange) ProtoMessage()

func (*DeploymentChange) ProtoReflect

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

func (*DeploymentChange) Reset

func (m *DeploymentChange) Reset()

func (*DeploymentChange) SetAdded

func (m *DeploymentChange) SetAdded(fv *DeploymentChange_Added)

func (*DeploymentChange) SetAddedRaw

func (c *DeploymentChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)

func (*DeploymentChange) SetChangeType

func (m *DeploymentChange) SetChangeType(ofv isDeploymentChange_ChangeType)

func (*DeploymentChange) SetCurrent

func (m *DeploymentChange) SetCurrent(fv *DeploymentChange_Current)

func (*DeploymentChange) SetCurrentRaw

func (c *DeploymentChange) SetCurrentRaw(snapshot gotenresource.Resource)

func (*DeploymentChange) SetDeletedRaw

func (c *DeploymentChange) SetDeletedRaw(name gotenresource.Name, idx int)

func (*DeploymentChange) SetModified

func (m *DeploymentChange) SetModified(fv *DeploymentChange_Modified)

func (*DeploymentChange) SetModifiedRaw

func (c *DeploymentChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)

func (*DeploymentChange) SetRemoved

func (m *DeploymentChange) SetRemoved(fv *DeploymentChange_Removed)

func (*DeploymentChange) String

func (m *DeploymentChange) String() string

func (*DeploymentChange) Unmarshal

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

func (*DeploymentChange) UnmarshalJSON

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

type DeploymentChangeList

type DeploymentChangeList []*DeploymentChange

func (DeploymentChangeList) Append

func (DeploymentChangeList) At

func (DeploymentChangeList) Length

func (l DeploymentChangeList) Length() int

func (DeploymentChangeList) Set

func (DeploymentChangeList) Slice

type DeploymentChangeMap

type DeploymentChangeMap map[Name]*DeploymentChange

func (DeploymentChangeMap) Delete

func (m DeploymentChangeMap) Delete(name gotenresource.Name)

func (DeploymentChangeMap) ForEach

func (DeploymentChangeMap) Get

func (DeploymentChangeMap) Length

func (m DeploymentChangeMap) Length() int

func (DeploymentChangeMap) Set

type DeploymentChange_Added

type DeploymentChange_Added struct {
	Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty" firestore:"deployment"`
	// Integer describing index of added Deployment in resulting query view.
	ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"`
	// contains filtered or unexported fields
}

Deployment has been added to query view

func (*DeploymentChange_Added) Descriptor

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

Deprecated, Use DeploymentChange_Added.ProtoReflect.Descriptor instead.

func (*DeploymentChange_Added) GetDeployment

func (m *DeploymentChange_Added) GetDeployment() *Deployment

func (*DeploymentChange_Added) GetViewIndex

func (m *DeploymentChange_Added) GetViewIndex() int32

func (*DeploymentChange_Added) GotenMessage

func (*DeploymentChange_Added) GotenMessage()

func (*DeploymentChange_Added) GotenValidate

func (obj *DeploymentChange_Added) GotenValidate() error

func (*DeploymentChange_Added) Marshal

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

func (*DeploymentChange_Added) MarshalJSON

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

func (*DeploymentChange_Added) ProtoMessage

func (*DeploymentChange_Added) ProtoMessage()

func (*DeploymentChange_Added) ProtoReflect

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

func (*DeploymentChange_Added) Reset

func (m *DeploymentChange_Added) Reset()

func (*DeploymentChange_Added) SetDeployment

func (m *DeploymentChange_Added) SetDeployment(fv *Deployment)

func (*DeploymentChange_Added) SetViewIndex

func (m *DeploymentChange_Added) SetViewIndex(fv int32)

func (*DeploymentChange_Added) String

func (m *DeploymentChange_Added) String() string

func (*DeploymentChange_Added) Unmarshal

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

func (*DeploymentChange_Added) UnmarshalJSON

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

type DeploymentChange_Added_

type DeploymentChange_Added_ struct {
	// Added is returned when watched document is added, either created or
	// enters Query view
	Added *DeploymentChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"`
}

type DeploymentChange_Current

type DeploymentChange_Current struct {
	Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty" firestore:"deployment"`
	// contains filtered or unexported fields
}

Deployment has been added or modified in a query view. Version used for stateless watching

func (*DeploymentChange_Current) Descriptor

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

Deprecated, Use DeploymentChange_Current.ProtoReflect.Descriptor instead.

func (*DeploymentChange_Current) GetDeployment

func (m *DeploymentChange_Current) GetDeployment() *Deployment

func (*DeploymentChange_Current) GotenMessage

func (*DeploymentChange_Current) GotenMessage()

func (*DeploymentChange_Current) GotenValidate

func (obj *DeploymentChange_Current) GotenValidate() error

func (*DeploymentChange_Current) Marshal

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

func (*DeploymentChange_Current) MarshalJSON

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

func (*DeploymentChange_Current) ProtoMessage

func (*DeploymentChange_Current) ProtoMessage()

func (*DeploymentChange_Current) ProtoReflect

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

func (*DeploymentChange_Current) Reset

func (m *DeploymentChange_Current) Reset()

func (*DeploymentChange_Current) SetDeployment

func (m *DeploymentChange_Current) SetDeployment(fv *Deployment)

func (*DeploymentChange_Current) String

func (m *DeploymentChange_Current) String() string

func (*DeploymentChange_Current) Unmarshal

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

func (*DeploymentChange_Current) UnmarshalJSON

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

type DeploymentChange_Current_

type DeploymentChange_Current_ struct {
	// Current is returned in stateless watch when document enters query view or
	// is modified within.
	Current *DeploymentChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"`
}

type DeploymentChange_Modified

type DeploymentChange_Modified struct {

	// Name of modified Deployment
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// New version of Deployment or masked difference, depending on mask_changes
	// instrumentation of issued [WatchDeploymentRequest] or
	// [WatchDeploymentsRequest]
	Deployment *Deployment `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty" firestore:"deployment"`
	// Used when mask_changes is set, contains field paths of modified
	// properties.
	FieldMask *Deployment_FieldMask `` /* 142-byte string literal not displayed */
	// Previous view index specifies previous position of modified Deployment.
	// When modification doesn't affect sorted order, value will remain
	// identical to [view_index].
	PreviousViewIndex int32 `` /* 145-byte string literal not displayed */
	// Integer specifying Deployment new index in resulting query view.
	ViewIndex int32 `protobuf:"varint,5,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"`
	// contains filtered or unexported fields
}

Deployment changed some of it's fields - contains either full document or masked change

func (*DeploymentChange_Modified) Descriptor

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

Deprecated, Use DeploymentChange_Modified.ProtoReflect.Descriptor instead.

func (*DeploymentChange_Modified) GetDeployment

func (m *DeploymentChange_Modified) GetDeployment() *Deployment

func (*DeploymentChange_Modified) GetFieldMask

func (*DeploymentChange_Modified) GetName

func (m *DeploymentChange_Modified) GetName() *Name

func (*DeploymentChange_Modified) GetPreviousViewIndex

func (m *DeploymentChange_Modified) GetPreviousViewIndex() int32

func (*DeploymentChange_Modified) GetViewIndex

func (m *DeploymentChange_Modified) GetViewIndex() int32

func (*DeploymentChange_Modified) GotenMessage

func (*DeploymentChange_Modified) GotenMessage()

func (*DeploymentChange_Modified) GotenValidate

func (obj *DeploymentChange_Modified) GotenValidate() error

func (*DeploymentChange_Modified) Marshal

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

func (*DeploymentChange_Modified) MarshalJSON

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

func (*DeploymentChange_Modified) ProtoMessage

func (*DeploymentChange_Modified) ProtoMessage()

func (*DeploymentChange_Modified) ProtoReflect

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

func (*DeploymentChange_Modified) Reset

func (m *DeploymentChange_Modified) Reset()

func (*DeploymentChange_Modified) SetDeployment

func (m *DeploymentChange_Modified) SetDeployment(fv *Deployment)

func (*DeploymentChange_Modified) SetFieldMask

func (m *DeploymentChange_Modified) SetFieldMask(fv *Deployment_FieldMask)

func (*DeploymentChange_Modified) SetName

func (m *DeploymentChange_Modified) SetName(fv *Name)

func (*DeploymentChange_Modified) SetPreviousViewIndex

func (m *DeploymentChange_Modified) SetPreviousViewIndex(fv int32)

func (*DeploymentChange_Modified) SetViewIndex

func (m *DeploymentChange_Modified) SetViewIndex(fv int32)

func (*DeploymentChange_Modified) String

func (m *DeploymentChange_Modified) String() string

func (*DeploymentChange_Modified) Unmarshal

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

func (*DeploymentChange_Modified) UnmarshalJSON

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

type DeploymentChange_Modified_

type DeploymentChange_Modified_ struct {
	// Modified is returned when watched document is modified
	Modified *DeploymentChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"`
}

type DeploymentChange_Removed

type DeploymentChange_Removed struct {
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Integer specifying removed Deployment index. Not populated in stateless
	// watch type.
	ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"`
	// contains filtered or unexported fields
}

Removed is returned when Deployment is deleted or leaves Query view

func (*DeploymentChange_Removed) Descriptor

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

Deprecated, Use DeploymentChange_Removed.ProtoReflect.Descriptor instead.

func (*DeploymentChange_Removed) GetName

func (m *DeploymentChange_Removed) GetName() *Name

func (*DeploymentChange_Removed) GetViewIndex

func (m *DeploymentChange_Removed) GetViewIndex() int32

func (*DeploymentChange_Removed) GotenMessage

func (*DeploymentChange_Removed) GotenMessage()

func (*DeploymentChange_Removed) GotenValidate

func (obj *DeploymentChange_Removed) GotenValidate() error

func (*DeploymentChange_Removed) Marshal

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

func (*DeploymentChange_Removed) MarshalJSON

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

func (*DeploymentChange_Removed) ProtoMessage

func (*DeploymentChange_Removed) ProtoMessage()

func (*DeploymentChange_Removed) ProtoReflect

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

func (*DeploymentChange_Removed) Reset

func (m *DeploymentChange_Removed) Reset()

func (*DeploymentChange_Removed) SetName

func (m *DeploymentChange_Removed) SetName(fv *Name)

func (*DeploymentChange_Removed) SetViewIndex

func (m *DeploymentChange_Removed) SetViewIndex(fv int32)

func (*DeploymentChange_Removed) String

func (m *DeploymentChange_Removed) String() string

func (*DeploymentChange_Removed) Unmarshal

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

func (*DeploymentChange_Removed) UnmarshalJSON

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

type DeploymentChange_Removed_

type DeploymentChange_Removed_ struct {
	// Removed is returned when Deployment is deleted or leaves Query view
	Removed *DeploymentChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"`
}

type DeploymentFieldPathBuilder

type DeploymentFieldPathBuilder struct{}

func NewDeploymentFieldPathBuilder

func NewDeploymentFieldPathBuilder() DeploymentFieldPathBuilder

func (DeploymentFieldPathBuilder) AllowedServicesGeneration

func (DeploymentFieldPathBuilder) AutomaticVersionSwitch

func (DeploymentFieldPathBuilder) CurrentVersion

func (DeploymentFieldPathBuilder) EnvRegistryGeneration

func (DeploymentFieldPathBuilder) IsDisabled

func (DeploymentFieldPathBuilder) LocalNetworkId

func (DeploymentFieldPathBuilder) Location

func (DeploymentFieldPathBuilder) Metadata

func (DeploymentFieldPathBuilder) Name

func (DeploymentFieldPathBuilder) PrivateDomain

func (DeploymentFieldPathBuilder) PublicDomain

func (DeploymentFieldPathBuilder) Region

func (DeploymentFieldPathBuilder) ServiceName

func (DeploymentFieldPathBuilder) UpgradeState

type DeploymentList

type DeploymentList []*Deployment

func (DeploymentList) Append

func (DeploymentList) AppendList

func (DeploymentList) At

func (DeploymentList) Length

func (l DeploymentList) Length() int

func (DeploymentList) Set

func (l DeploymentList) Set(idx int, res gotenresource.Resource)

func (DeploymentList) Slice

func (l DeploymentList) Slice(first, second int) gotenresource.ResourceList

type DeploymentLocationFieldPathBuilder

type DeploymentLocationFieldPathBuilder struct{}

func NewDeploymentLocationFieldPathBuilder

func NewDeploymentLocationFieldPathBuilder() DeploymentLocationFieldPathBuilder

func (DeploymentLocationFieldPathBuilder) Agglomeration

func (DeploymentLocationFieldPathBuilder) City

func (DeploymentLocationFieldPathBuilder) Cloud

func (DeploymentLocationFieldPathBuilder) Continent

func (DeploymentLocationFieldPathBuilder) Country

type DeploymentLocation_FieldPath

type DeploymentLocation_FieldPath interface {
	gotenobject.FieldPath
	Selector() DeploymentLocation_FieldPathSelector
	Get(source *Deployment_Location) []interface{}
	GetSingle(source *Deployment_Location) (interface{}, bool)
	ClearValue(item *Deployment_Location)

	// Those methods build corresponding DeploymentLocation_FieldPathValue
	// (or array of values) and holds passed value. Panics if injected type is incorrect.
	WithIValue(value interface{}) DeploymentLocation_FieldPathValue
	WithIArrayOfValues(values interface{}) DeploymentLocation_FieldPathArrayOfValues
	WithIArrayItemValue(value interface{}) DeploymentLocation_FieldPathArrayItemValue
}

FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto

func MustParseDeploymentLocation_FieldPath

func MustParseDeploymentLocation_FieldPath(rawField string) DeploymentLocation_FieldPath

func ParseDeploymentLocation_FieldPath

func ParseDeploymentLocation_FieldPath(rawField string) (DeploymentLocation_FieldPath, error)

type DeploymentLocation_FieldPathArrayItemValue

type DeploymentLocation_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	DeploymentLocation_FieldPath
	ContainsValue(*Deployment_Location) bool
}

DeploymentLocation_FieldPathArrayItemValue allows storing single item in Path-specific values for Location according to their type Present only for array (repeated) types.

func MustParseDeploymentLocation_FieldPathArrayItemValue

func MustParseDeploymentLocation_FieldPathArrayItemValue(pathStr, valueStr string) DeploymentLocation_FieldPathArrayItemValue

func ParseDeploymentLocation_FieldPathArrayItemValue

func ParseDeploymentLocation_FieldPathArrayItemValue(pathStr, valueStr string) (DeploymentLocation_FieldPathArrayItemValue, error)

ParseDeploymentLocation_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type DeploymentLocation_FieldPathArrayOfValues

type DeploymentLocation_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	DeploymentLocation_FieldPath
}

DeploymentLocation_FieldPathArrayOfValues allows storing slice of values for Location fields according to their type

func MustParseDeploymentLocation_FieldPathArrayOfValues

func MustParseDeploymentLocation_FieldPathArrayOfValues(pathStr, valuesStr string) DeploymentLocation_FieldPathArrayOfValues

func ParseDeploymentLocation_FieldPathArrayOfValues

func ParseDeploymentLocation_FieldPathArrayOfValues(pathStr, valuesStr string) (DeploymentLocation_FieldPathArrayOfValues, error)

type DeploymentLocation_FieldPathSelector

type DeploymentLocation_FieldPathSelector int32
const (
	DeploymentLocation_FieldPathSelectorContinent     DeploymentLocation_FieldPathSelector = 0
	DeploymentLocation_FieldPathSelectorCountry       DeploymentLocation_FieldPathSelector = 1
	DeploymentLocation_FieldPathSelectorAgglomeration DeploymentLocation_FieldPathSelector = 2
	DeploymentLocation_FieldPathSelectorCity          DeploymentLocation_FieldPathSelector = 3
	DeploymentLocation_FieldPathSelectorCloud         DeploymentLocation_FieldPathSelector = 4
)

func (DeploymentLocation_FieldPathSelector) String

type DeploymentLocation_FieldPathValue

type DeploymentLocation_FieldPathValue interface {
	DeploymentLocation_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Deployment_Location)
	CompareWith(*Deployment_Location) (cmp int, comparable bool)
}

DeploymentLocation_FieldPathValue allows storing values for Location fields according to their type

func MustParseDeploymentLocation_FieldPathValue

func MustParseDeploymentLocation_FieldPathValue(pathStr, valueStr string) DeploymentLocation_FieldPathValue

func ParseDeploymentLocation_FieldPathValue

func ParseDeploymentLocation_FieldPathValue(pathStr, valueStr string) (DeploymentLocation_FieldPathValue, error)

type DeploymentLocation_FieldTerminalPath

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

func (*DeploymentLocation_FieldTerminalPath) ClearValue

func (*DeploymentLocation_FieldTerminalPath) ClearValueRaw

func (fp *DeploymentLocation_FieldTerminalPath) ClearValueRaw(item proto.Message)

func (*DeploymentLocation_FieldTerminalPath) Get

func (fp *DeploymentLocation_FieldTerminalPath) Get(source *Deployment_Location) (values []interface{})

Get returns all values pointed by specific field from source Deployment_Location

func (*DeploymentLocation_FieldTerminalPath) GetDefault

func (fp *DeploymentLocation_FieldTerminalPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*DeploymentLocation_FieldTerminalPath) GetRaw

func (fp *DeploymentLocation_FieldTerminalPath) GetRaw(source proto.Message) []interface{}

func (*DeploymentLocation_FieldTerminalPath) GetSingle

func (fp *DeploymentLocation_FieldTerminalPath) GetSingle(source *Deployment_Location) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Deployment_Location

func (*DeploymentLocation_FieldTerminalPath) GetSingleRaw

func (fp *DeploymentLocation_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*DeploymentLocation_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*DeploymentLocation_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*DeploymentLocation_FieldTerminalPath) Selector

func (*DeploymentLocation_FieldTerminalPath) SplitIntoTerminalIPaths

func (fp *DeploymentLocation_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*DeploymentLocation_FieldTerminalPath) String

String returns path representation in proto convention

func (*DeploymentLocation_FieldTerminalPath) WithIArrayItemValue

func (fp *DeploymentLocation_FieldTerminalPath) WithIArrayItemValue(value interface{}) DeploymentLocation_FieldPathArrayItemValue

func (*DeploymentLocation_FieldTerminalPath) WithIArrayOfValues

func (fp *DeploymentLocation_FieldTerminalPath) WithIArrayOfValues(values interface{}) DeploymentLocation_FieldPathArrayOfValues

func (*DeploymentLocation_FieldTerminalPath) WithIValue

func (*DeploymentLocation_FieldTerminalPath) WithRawIArrayItemValue

func (fp *DeploymentLocation_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*DeploymentLocation_FieldTerminalPath) WithRawIArrayOfValues

func (fp *DeploymentLocation_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*DeploymentLocation_FieldTerminalPath) WithRawIValue

func (fp *DeploymentLocation_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type DeploymentLocation_FieldTerminalPathArrayItemValue

type DeploymentLocation_FieldTerminalPathArrayItemValue struct {
	DeploymentLocation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*DeploymentLocation_FieldTerminalPathArrayItemValue) ContainsValue

Contains returns a boolean indicating if value that is being held is present in given 'Location'

func (*DeploymentLocation_FieldTerminalPathArrayItemValue) GetRawItemValue

func (fpaiv *DeploymentLocation_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored element value for array in object Deployment_Location as interface{}

func (*DeploymentLocation_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *DeploymentLocation_FieldTerminalPathArrayItemValue) GetSingle(source *Deployment_Location) (interface{}, bool)

func (*DeploymentLocation_FieldTerminalPathArrayItemValue) GetSingleRaw

func (fpaiv *DeploymentLocation_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)

type DeploymentLocation_FieldTerminalPathArrayOfValues

type DeploymentLocation_FieldTerminalPathArrayOfValues struct {
	DeploymentLocation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*DeploymentLocation_FieldTerminalPathArrayOfValues) AsAgglomerationArrayOfValues

func (fpaov *DeploymentLocation_FieldTerminalPathArrayOfValues) AsAgglomerationArrayOfValues() ([]string, bool)

func (*DeploymentLocation_FieldTerminalPathArrayOfValues) AsCityArrayOfValues

func (fpaov *DeploymentLocation_FieldTerminalPathArrayOfValues) AsCityArrayOfValues() ([]string, bool)

func (*DeploymentLocation_FieldTerminalPathArrayOfValues) AsCloudArrayOfValues

func (fpaov *DeploymentLocation_FieldTerminalPathArrayOfValues) AsCloudArrayOfValues() ([]string, bool)

func (*DeploymentLocation_FieldTerminalPathArrayOfValues) AsContinentArrayOfValues

func (fpaov *DeploymentLocation_FieldTerminalPathArrayOfValues) AsContinentArrayOfValues() ([]string, bool)

func (*DeploymentLocation_FieldTerminalPathArrayOfValues) AsCountryArrayOfValues

func (fpaov *DeploymentLocation_FieldTerminalPathArrayOfValues) AsCountryArrayOfValues() ([]string, bool)

func (*DeploymentLocation_FieldTerminalPathArrayOfValues) GetRawValues

func (fpaov *DeploymentLocation_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})

type DeploymentLocation_FieldTerminalPathValue

type DeploymentLocation_FieldTerminalPathValue struct {
	DeploymentLocation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*DeploymentLocation_FieldTerminalPathValue) AsAgglomerationValue

func (fpv *DeploymentLocation_FieldTerminalPathValue) AsAgglomerationValue() (string, bool)

func (*DeploymentLocation_FieldTerminalPathValue) AsCityValue

func (*DeploymentLocation_FieldTerminalPathValue) AsCloudValue

func (fpv *DeploymentLocation_FieldTerminalPathValue) AsCloudValue() (string, bool)

func (*DeploymentLocation_FieldTerminalPathValue) AsContinentValue

func (fpv *DeploymentLocation_FieldTerminalPathValue) AsContinentValue() (string, bool)

func (*DeploymentLocation_FieldTerminalPathValue) AsCountryValue

func (fpv *DeploymentLocation_FieldTerminalPathValue) AsCountryValue() (string, bool)

func (*DeploymentLocation_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'DeploymentLocation_FieldTerminalPathValue' with the value under path in 'Deployment_Location'.

func (*DeploymentLocation_FieldTerminalPathValue) CompareWithRaw

func (fpv *DeploymentLocation_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*DeploymentLocation_FieldTerminalPathValue) GetRawValue

func (fpv *DeploymentLocation_FieldTerminalPathValue) GetRawValue() interface{}

GetRawValue returns raw value stored under selected path for 'Location' as interface{}

func (*DeploymentLocation_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Location

func (*DeploymentLocation_FieldTerminalPathValue) SetToRaw

type DeploymentMap

type DeploymentMap map[Name]*Deployment

func (DeploymentMap) Delete

func (m DeploymentMap) Delete(name gotenresource.Name)

func (DeploymentMap) ForEach

func (DeploymentMap) Get

func (DeploymentMap) Length

func (m DeploymentMap) Length() int

func (DeploymentMap) Set

type DeploymentMapPathSelectorMetadataAnnotations

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

func (DeploymentMapPathSelectorMetadataAnnotations) FieldPath

func (DeploymentMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (DeploymentMapPathSelectorMetadataAnnotations) WithValue

type DeploymentMapPathSelectorMetadataLabels

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

func (DeploymentMapPathSelectorMetadataLabels) FieldPath

func (DeploymentMapPathSelectorMetadataLabels) WithArrayOfValues

func (DeploymentMapPathSelectorMetadataLabels) WithValue

type DeploymentMapPathSelectorMetadataShards

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

func (DeploymentMapPathSelectorMetadataShards) FieldPath

func (DeploymentMapPathSelectorMetadataShards) WithArrayOfValues

func (DeploymentMapPathSelectorMetadataShards) WithValue

type DeploymentNameList

type DeploymentNameList []*Name

func (DeploymentNameList) Append

func (DeploymentNameList) AppendList

func (DeploymentNameList) At

func (DeploymentNameList) Length

func (l DeploymentNameList) Length() int

func (DeploymentNameList) Set

func (l DeploymentNameList) Set(idx int, name gotenresource.Name)

func (DeploymentNameList) Slice

func (l DeploymentNameList) Slice(first, second int) gotenresource.NameList

type DeploymentParentNameList

type DeploymentParentNameList []*ParentName

func (DeploymentParentNameList) Append

func (DeploymentParentNameList) AppendList

func (DeploymentParentNameList) At

func (DeploymentParentNameList) Length

func (l DeploymentParentNameList) Length() int

func (DeploymentParentNameList) Set

func (DeploymentParentNameList) Slice

type DeploymentParentReferenceList

type DeploymentParentReferenceList []*ParentReference

func (DeploymentParentReferenceList) Append

func (DeploymentParentReferenceList) AppendList

func (DeploymentParentReferenceList) At

func (DeploymentParentReferenceList) Length

func (DeploymentParentReferenceList) Set

func (DeploymentParentReferenceList) Slice

type DeploymentPathSelectorAllowedServicesGeneration

type DeploymentPathSelectorAllowedServicesGeneration struct{}

func (DeploymentPathSelectorAllowedServicesGeneration) FieldPath

func (DeploymentPathSelectorAllowedServicesGeneration) WithArrayOfValues

func (DeploymentPathSelectorAllowedServicesGeneration) WithValue

type DeploymentPathSelectorAutomaticVersionSwitch

type DeploymentPathSelectorAutomaticVersionSwitch struct{}

func (DeploymentPathSelectorAutomaticVersionSwitch) FieldPath

func (DeploymentPathSelectorAutomaticVersionSwitch) WithArrayOfValues

func (DeploymentPathSelectorAutomaticVersionSwitch) WithValue

type DeploymentPathSelectorCurrentVersion

type DeploymentPathSelectorCurrentVersion struct{}

func (DeploymentPathSelectorCurrentVersion) FieldPath

func (DeploymentPathSelectorCurrentVersion) WithArrayOfValues

func (DeploymentPathSelectorCurrentVersion) WithValue

type DeploymentPathSelectorEnvRegistryGeneration

type DeploymentPathSelectorEnvRegistryGeneration struct{}

func (DeploymentPathSelectorEnvRegistryGeneration) FieldPath

func (DeploymentPathSelectorEnvRegistryGeneration) WithArrayOfValues

func (DeploymentPathSelectorEnvRegistryGeneration) WithValue

type DeploymentPathSelectorIsDisabled

type DeploymentPathSelectorIsDisabled struct{}

func (DeploymentPathSelectorIsDisabled) FieldPath

func (DeploymentPathSelectorIsDisabled) WithArrayOfValues

func (DeploymentPathSelectorIsDisabled) WithValue

type DeploymentPathSelectorLocalNetworkId

type DeploymentPathSelectorLocalNetworkId struct{}

func (DeploymentPathSelectorLocalNetworkId) FieldPath

func (DeploymentPathSelectorLocalNetworkId) WithArrayOfValues

func (DeploymentPathSelectorLocalNetworkId) WithValue

type DeploymentPathSelectorLocation

type DeploymentPathSelectorLocation struct{}

func (DeploymentPathSelectorLocation) Agglomeration

func (DeploymentPathSelectorLocation) City

func (DeploymentPathSelectorLocation) Cloud

func (DeploymentPathSelectorLocation) Continent

func (DeploymentPathSelectorLocation) Country

func (DeploymentPathSelectorLocation) FieldPath

func (DeploymentPathSelectorLocation) WithArrayOfValues

func (DeploymentPathSelectorLocation) WithSubArrayItemValue

func (DeploymentPathSelectorLocation) WithSubArrayOfValues

func (DeploymentPathSelectorLocation) WithSubPath

func (DeploymentPathSelectorLocation) WithSubValue

func (DeploymentPathSelectorLocation) WithValue

type DeploymentPathSelectorLocationAgglomeration

type DeploymentPathSelectorLocationAgglomeration struct{}

func (DeploymentPathSelectorLocationAgglomeration) FieldPath

func (DeploymentPathSelectorLocationAgglomeration) WithArrayOfValues

func (DeploymentPathSelectorLocationAgglomeration) WithValue

type DeploymentPathSelectorLocationCity

type DeploymentPathSelectorLocationCity struct{}

func (DeploymentPathSelectorLocationCity) FieldPath

func (DeploymentPathSelectorLocationCity) WithArrayOfValues

func (DeploymentPathSelectorLocationCity) WithValue

type DeploymentPathSelectorLocationCloud

type DeploymentPathSelectorLocationCloud struct{}

func (DeploymentPathSelectorLocationCloud) FieldPath

func (DeploymentPathSelectorLocationCloud) WithArrayOfValues

func (DeploymentPathSelectorLocationCloud) WithValue

type DeploymentPathSelectorLocationContinent

type DeploymentPathSelectorLocationContinent struct{}

func (DeploymentPathSelectorLocationContinent) FieldPath

func (DeploymentPathSelectorLocationContinent) WithArrayOfValues

func (DeploymentPathSelectorLocationContinent) WithValue

type DeploymentPathSelectorLocationCountry

type DeploymentPathSelectorLocationCountry struct{}

func (DeploymentPathSelectorLocationCountry) FieldPath

func (DeploymentPathSelectorLocationCountry) WithArrayOfValues

func (DeploymentPathSelectorLocationCountry) WithValue

type DeploymentPathSelectorMetadata

type DeploymentPathSelectorMetadata struct{}

func (DeploymentPathSelectorMetadata) Annotations

func (DeploymentPathSelectorMetadata) CreateTime

func (DeploymentPathSelectorMetadata) DeleteTime

func (DeploymentPathSelectorMetadata) FieldPath

func (DeploymentPathSelectorMetadata) Generation

func (DeploymentPathSelectorMetadata) Labels

func (DeploymentPathSelectorMetadata) Lifecycle

func (DeploymentPathSelectorMetadata) OwnerReferences

func (DeploymentPathSelectorMetadata) ResourceVersion

func (DeploymentPathSelectorMetadata) Services

func (DeploymentPathSelectorMetadata) Shards

func (DeploymentPathSelectorMetadata) Syncing

func (DeploymentPathSelectorMetadata) Tags

func (DeploymentPathSelectorMetadata) UpdateTime

func (DeploymentPathSelectorMetadata) Uuid

func (DeploymentPathSelectorMetadata) WithArrayOfValues

func (DeploymentPathSelectorMetadata) WithSubArrayItemValue

func (DeploymentPathSelectorMetadata) WithSubArrayOfValues

func (DeploymentPathSelectorMetadata) WithSubPath

func (DeploymentPathSelectorMetadata) WithSubValue

func (DeploymentPathSelectorMetadata) WithValue

type DeploymentPathSelectorMetadataAnnotations

type DeploymentPathSelectorMetadataAnnotations struct{}

func (DeploymentPathSelectorMetadataAnnotations) FieldPath

func (DeploymentPathSelectorMetadataAnnotations) WithArrayOfValues

func (DeploymentPathSelectorMetadataAnnotations) WithKey

func (DeploymentPathSelectorMetadataAnnotations) WithValue

type DeploymentPathSelectorMetadataCreateTime

type DeploymentPathSelectorMetadataCreateTime struct{}

func (DeploymentPathSelectorMetadataCreateTime) FieldPath

func (DeploymentPathSelectorMetadataCreateTime) WithArrayOfValues

func (DeploymentPathSelectorMetadataCreateTime) WithValue

type DeploymentPathSelectorMetadataDeleteTime

type DeploymentPathSelectorMetadataDeleteTime struct{}

func (DeploymentPathSelectorMetadataDeleteTime) FieldPath

func (DeploymentPathSelectorMetadataDeleteTime) WithArrayOfValues

func (DeploymentPathSelectorMetadataDeleteTime) WithValue

type DeploymentPathSelectorMetadataGeneration

type DeploymentPathSelectorMetadataGeneration struct{}

func (DeploymentPathSelectorMetadataGeneration) FieldPath

func (DeploymentPathSelectorMetadataGeneration) WithArrayOfValues

func (DeploymentPathSelectorMetadataGeneration) WithValue

type DeploymentPathSelectorMetadataLabels

type DeploymentPathSelectorMetadataLabels struct{}

func (DeploymentPathSelectorMetadataLabels) FieldPath

func (DeploymentPathSelectorMetadataLabels) WithArrayOfValues

func (DeploymentPathSelectorMetadataLabels) WithKey

func (DeploymentPathSelectorMetadataLabels) WithValue

type DeploymentPathSelectorMetadataLifecycle

type DeploymentPathSelectorMetadataLifecycle struct{}

func (DeploymentPathSelectorMetadataLifecycle) BlockDeletion

func (DeploymentPathSelectorMetadataLifecycle) FieldPath

func (DeploymentPathSelectorMetadataLifecycle) State

func (DeploymentPathSelectorMetadataLifecycle) WithArrayOfValues

func (DeploymentPathSelectorMetadataLifecycle) WithValue

type DeploymentPathSelectorMetadataLifecycleBlockDeletion

type DeploymentPathSelectorMetadataLifecycleBlockDeletion struct{}

func (DeploymentPathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (DeploymentPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (DeploymentPathSelectorMetadataLifecycleBlockDeletion) WithValue

type DeploymentPathSelectorMetadataLifecycleState

type DeploymentPathSelectorMetadataLifecycleState struct{}

func (DeploymentPathSelectorMetadataLifecycleState) FieldPath

func (DeploymentPathSelectorMetadataLifecycleState) WithArrayOfValues

func (DeploymentPathSelectorMetadataLifecycleState) WithValue

type DeploymentPathSelectorMetadataOwnerReferences

type DeploymentPathSelectorMetadataOwnerReferences struct{}

func (DeploymentPathSelectorMetadataOwnerReferences) Controller

func (DeploymentPathSelectorMetadataOwnerReferences) FieldPath

func (DeploymentPathSelectorMetadataOwnerReferences) Kind

func (DeploymentPathSelectorMetadataOwnerReferences) Name

func (DeploymentPathSelectorMetadataOwnerReferences) Region

func (DeploymentPathSelectorMetadataOwnerReferences) Version

func (DeploymentPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (DeploymentPathSelectorMetadataOwnerReferences) WithItemValue

func (DeploymentPathSelectorMetadataOwnerReferences) WithValue

type DeploymentPathSelectorMetadataOwnerReferencesController

type DeploymentPathSelectorMetadataOwnerReferencesController struct{}

func (DeploymentPathSelectorMetadataOwnerReferencesController) FieldPath

func (DeploymentPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (DeploymentPathSelectorMetadataOwnerReferencesController) WithValue

type DeploymentPathSelectorMetadataOwnerReferencesKind

type DeploymentPathSelectorMetadataOwnerReferencesKind struct{}

func (DeploymentPathSelectorMetadataOwnerReferencesKind) FieldPath

func (DeploymentPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (DeploymentPathSelectorMetadataOwnerReferencesKind) WithValue

type DeploymentPathSelectorMetadataOwnerReferencesName

type DeploymentPathSelectorMetadataOwnerReferencesName struct{}

func (DeploymentPathSelectorMetadataOwnerReferencesName) FieldPath

func (DeploymentPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (DeploymentPathSelectorMetadataOwnerReferencesName) WithValue

type DeploymentPathSelectorMetadataOwnerReferencesRegion

type DeploymentPathSelectorMetadataOwnerReferencesRegion struct{}

func (DeploymentPathSelectorMetadataOwnerReferencesRegion) FieldPath

func (DeploymentPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (DeploymentPathSelectorMetadataOwnerReferencesRegion) WithValue

type DeploymentPathSelectorMetadataOwnerReferencesRequiresOwnerReference

type DeploymentPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (DeploymentPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (DeploymentPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (DeploymentPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type DeploymentPathSelectorMetadataOwnerReferencesVersion

type DeploymentPathSelectorMetadataOwnerReferencesVersion struct{}

func (DeploymentPathSelectorMetadataOwnerReferencesVersion) FieldPath

func (DeploymentPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (DeploymentPathSelectorMetadataOwnerReferencesVersion) WithValue

type DeploymentPathSelectorMetadataResourceVersion

type DeploymentPathSelectorMetadataResourceVersion struct{}

func (DeploymentPathSelectorMetadataResourceVersion) FieldPath

func (DeploymentPathSelectorMetadataResourceVersion) WithArrayOfValues

func (DeploymentPathSelectorMetadataResourceVersion) WithValue

type DeploymentPathSelectorMetadataServices

type DeploymentPathSelectorMetadataServices struct{}

func (DeploymentPathSelectorMetadataServices) AllowedServices

func (DeploymentPathSelectorMetadataServices) FieldPath

func (DeploymentPathSelectorMetadataServices) OwningService

func (DeploymentPathSelectorMetadataServices) WithArrayOfValues

func (DeploymentPathSelectorMetadataServices) WithValue

type DeploymentPathSelectorMetadataServicesAllowedServices

type DeploymentPathSelectorMetadataServicesAllowedServices struct{}

func (DeploymentPathSelectorMetadataServicesAllowedServices) FieldPath

func (DeploymentPathSelectorMetadataServicesAllowedServices) WithArrayOfValues

func (DeploymentPathSelectorMetadataServicesAllowedServices) WithItemValue

func (DeploymentPathSelectorMetadataServicesAllowedServices) WithValue

type DeploymentPathSelectorMetadataServicesOwningService

type DeploymentPathSelectorMetadataServicesOwningService struct{}

func (DeploymentPathSelectorMetadataServicesOwningService) FieldPath

func (DeploymentPathSelectorMetadataServicesOwningService) WithArrayOfValues

func (DeploymentPathSelectorMetadataServicesOwningService) WithValue

type DeploymentPathSelectorMetadataShards

type DeploymentPathSelectorMetadataShards struct{}

func (DeploymentPathSelectorMetadataShards) FieldPath

func (DeploymentPathSelectorMetadataShards) WithArrayOfValues

func (DeploymentPathSelectorMetadataShards) WithKey

func (DeploymentPathSelectorMetadataShards) WithValue

type DeploymentPathSelectorMetadataSyncing

type DeploymentPathSelectorMetadataSyncing struct{}

func (DeploymentPathSelectorMetadataSyncing) FieldPath

func (DeploymentPathSelectorMetadataSyncing) OwningRegion

func (DeploymentPathSelectorMetadataSyncing) Regions

func (DeploymentPathSelectorMetadataSyncing) WithArrayOfValues

func (DeploymentPathSelectorMetadataSyncing) WithValue

type DeploymentPathSelectorMetadataSyncingOwningRegion

type DeploymentPathSelectorMetadataSyncingOwningRegion struct{}

func (DeploymentPathSelectorMetadataSyncingOwningRegion) FieldPath

func (DeploymentPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (DeploymentPathSelectorMetadataSyncingOwningRegion) WithValue

type DeploymentPathSelectorMetadataSyncingRegions

type DeploymentPathSelectorMetadataSyncingRegions struct{}

func (DeploymentPathSelectorMetadataSyncingRegions) FieldPath

func (DeploymentPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (DeploymentPathSelectorMetadataSyncingRegions) WithItemValue

func (DeploymentPathSelectorMetadataSyncingRegions) WithValue

type DeploymentPathSelectorMetadataTags

type DeploymentPathSelectorMetadataTags struct{}

func (DeploymentPathSelectorMetadataTags) FieldPath

func (DeploymentPathSelectorMetadataTags) WithArrayOfValues

func (DeploymentPathSelectorMetadataTags) WithItemValue

func (DeploymentPathSelectorMetadataTags) WithValue

type DeploymentPathSelectorMetadataUpdateTime

type DeploymentPathSelectorMetadataUpdateTime struct{}

func (DeploymentPathSelectorMetadataUpdateTime) FieldPath

func (DeploymentPathSelectorMetadataUpdateTime) WithArrayOfValues

func (DeploymentPathSelectorMetadataUpdateTime) WithValue

type DeploymentPathSelectorMetadataUuid

type DeploymentPathSelectorMetadataUuid struct{}

func (DeploymentPathSelectorMetadataUuid) FieldPath

func (DeploymentPathSelectorMetadataUuid) WithArrayOfValues

func (DeploymentPathSelectorMetadataUuid) WithValue

type DeploymentPathSelectorName

type DeploymentPathSelectorName struct{}

func (DeploymentPathSelectorName) FieldPath

func (DeploymentPathSelectorName) WithArrayOfValues

func (DeploymentPathSelectorName) WithValue

type DeploymentPathSelectorPrivateDomain

type DeploymentPathSelectorPrivateDomain struct{}

func (DeploymentPathSelectorPrivateDomain) FieldPath

func (DeploymentPathSelectorPrivateDomain) WithArrayOfValues

func (DeploymentPathSelectorPrivateDomain) WithValue

type DeploymentPathSelectorPublicDomain

type DeploymentPathSelectorPublicDomain struct{}

func (DeploymentPathSelectorPublicDomain) FieldPath

func (DeploymentPathSelectorPublicDomain) WithArrayOfValues

func (DeploymentPathSelectorPublicDomain) WithValue

type DeploymentPathSelectorRegion

type DeploymentPathSelectorRegion struct{}

func (DeploymentPathSelectorRegion) FieldPath

func (DeploymentPathSelectorRegion) WithArrayOfValues

func (DeploymentPathSelectorRegion) WithValue

type DeploymentPathSelectorServiceName

type DeploymentPathSelectorServiceName struct{}

func (DeploymentPathSelectorServiceName) FieldPath

func (DeploymentPathSelectorServiceName) WithArrayOfValues

func (DeploymentPathSelectorServiceName) WithValue

type DeploymentPathSelectorUpgradeState

type DeploymentPathSelectorUpgradeState struct{}

func (DeploymentPathSelectorUpgradeState) FieldPath

func (DeploymentPathSelectorUpgradeState) PendingShards

func (DeploymentPathSelectorUpgradeState) ReadyShards

func (DeploymentPathSelectorUpgradeState) Stage

func (DeploymentPathSelectorUpgradeState) TargetVersion

func (DeploymentPathSelectorUpgradeState) WithArrayOfValues

func (DeploymentPathSelectorUpgradeState) WithSubArrayItemValue

func (DeploymentPathSelectorUpgradeState) WithSubArrayOfValues

func (DeploymentPathSelectorUpgradeState) WithSubPath

func (DeploymentPathSelectorUpgradeState) WithSubValue

func (DeploymentPathSelectorUpgradeState) WithValue

type DeploymentPathSelectorUpgradeStatePendingShards

type DeploymentPathSelectorUpgradeStatePendingShards struct{}

func (DeploymentPathSelectorUpgradeStatePendingShards) FieldPath

func (DeploymentPathSelectorUpgradeStatePendingShards) WithArrayOfValues

func (DeploymentPathSelectorUpgradeStatePendingShards) WithItemValue

func (DeploymentPathSelectorUpgradeStatePendingShards) WithValue

type DeploymentPathSelectorUpgradeStateReadyShards

type DeploymentPathSelectorUpgradeStateReadyShards struct{}

func (DeploymentPathSelectorUpgradeStateReadyShards) FieldPath

func (DeploymentPathSelectorUpgradeStateReadyShards) WithArrayOfValues

func (DeploymentPathSelectorUpgradeStateReadyShards) WithItemValue

func (DeploymentPathSelectorUpgradeStateReadyShards) WithValue

type DeploymentPathSelectorUpgradeStateStage

type DeploymentPathSelectorUpgradeStateStage struct{}

func (DeploymentPathSelectorUpgradeStateStage) FieldPath

func (DeploymentPathSelectorUpgradeStateStage) WithArrayOfValues

func (DeploymentPathSelectorUpgradeStateStage) WithValue

type DeploymentPathSelectorUpgradeStateTargetVersion

type DeploymentPathSelectorUpgradeStateTargetVersion struct{}

func (DeploymentPathSelectorUpgradeStateTargetVersion) FieldPath

func (DeploymentPathSelectorUpgradeStateTargetVersion) WithArrayOfValues

func (DeploymentPathSelectorUpgradeStateTargetVersion) WithValue

type DeploymentReferenceList

type DeploymentReferenceList []*Reference

func (DeploymentReferenceList) Append

func (DeploymentReferenceList) AppendList

func (DeploymentReferenceList) At

func (DeploymentReferenceList) Length

func (l DeploymentReferenceList) Length() int

func (DeploymentReferenceList) Set

func (DeploymentReferenceList) Slice

func (l DeploymentReferenceList) Slice(first, second int) gotenresource.ReferenceList

type DeploymentUpgradeStateFieldPathBuilder

type DeploymentUpgradeStateFieldPathBuilder struct{}

func NewDeploymentUpgradeStateFieldPathBuilder

func NewDeploymentUpgradeStateFieldPathBuilder() DeploymentUpgradeStateFieldPathBuilder

func (DeploymentUpgradeStateFieldPathBuilder) PendingShards

func (DeploymentUpgradeStateFieldPathBuilder) ReadyShards

func (DeploymentUpgradeStateFieldPathBuilder) Stage

func (DeploymentUpgradeStateFieldPathBuilder) TargetVersion

type DeploymentUpgradeState_FieldPath

type DeploymentUpgradeState_FieldPath interface {
	gotenobject.FieldPath
	Selector() DeploymentUpgradeState_FieldPathSelector
	Get(source *Deployment_UpgradeState) []interface{}
	GetSingle(source *Deployment_UpgradeState) (interface{}, bool)
	ClearValue(item *Deployment_UpgradeState)

	// Those methods build corresponding DeploymentUpgradeState_FieldPathValue
	// (or array of values) and holds passed value. Panics if injected type is incorrect.
	WithIValue(value interface{}) DeploymentUpgradeState_FieldPathValue
	WithIArrayOfValues(values interface{}) DeploymentUpgradeState_FieldPathArrayOfValues
	WithIArrayItemValue(value interface{}) DeploymentUpgradeState_FieldPathArrayItemValue
}

FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto

func MustParseDeploymentUpgradeState_FieldPath

func MustParseDeploymentUpgradeState_FieldPath(rawField string) DeploymentUpgradeState_FieldPath

func ParseDeploymentUpgradeState_FieldPath

func ParseDeploymentUpgradeState_FieldPath(rawField string) (DeploymentUpgradeState_FieldPath, error)

type DeploymentUpgradeState_FieldPathArrayItemValue

type DeploymentUpgradeState_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	DeploymentUpgradeState_FieldPath
	ContainsValue(*Deployment_UpgradeState) bool
}

DeploymentUpgradeState_FieldPathArrayItemValue allows storing single item in Path-specific values for UpgradeState according to their type Present only for array (repeated) types.

func MustParseDeploymentUpgradeState_FieldPathArrayItemValue

func MustParseDeploymentUpgradeState_FieldPathArrayItemValue(pathStr, valueStr string) DeploymentUpgradeState_FieldPathArrayItemValue

func ParseDeploymentUpgradeState_FieldPathArrayItemValue

func ParseDeploymentUpgradeState_FieldPathArrayItemValue(pathStr, valueStr string) (DeploymentUpgradeState_FieldPathArrayItemValue, error)

ParseDeploymentUpgradeState_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type DeploymentUpgradeState_FieldPathArrayOfValues

type DeploymentUpgradeState_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	DeploymentUpgradeState_FieldPath
}

DeploymentUpgradeState_FieldPathArrayOfValues allows storing slice of values for UpgradeState fields according to their type

func MustParseDeploymentUpgradeState_FieldPathArrayOfValues

func MustParseDeploymentUpgradeState_FieldPathArrayOfValues(pathStr, valuesStr string) DeploymentUpgradeState_FieldPathArrayOfValues

func ParseDeploymentUpgradeState_FieldPathArrayOfValues

func ParseDeploymentUpgradeState_FieldPathArrayOfValues(pathStr, valuesStr string) (DeploymentUpgradeState_FieldPathArrayOfValues, error)

type DeploymentUpgradeState_FieldPathSelector

type DeploymentUpgradeState_FieldPathSelector int32
const (
	DeploymentUpgradeState_FieldPathSelectorTargetVersion DeploymentUpgradeState_FieldPathSelector = 0
	DeploymentUpgradeState_FieldPathSelectorReadyShards   DeploymentUpgradeState_FieldPathSelector = 1
	DeploymentUpgradeState_FieldPathSelectorPendingShards DeploymentUpgradeState_FieldPathSelector = 2
	DeploymentUpgradeState_FieldPathSelectorStage         DeploymentUpgradeState_FieldPathSelector = 3
)

func (DeploymentUpgradeState_FieldPathSelector) String

type DeploymentUpgradeState_FieldPathValue

type DeploymentUpgradeState_FieldPathValue interface {
	DeploymentUpgradeState_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Deployment_UpgradeState)
	CompareWith(*Deployment_UpgradeState) (cmp int, comparable bool)
}

DeploymentUpgradeState_FieldPathValue allows storing values for UpgradeState fields according to their type

func MustParseDeploymentUpgradeState_FieldPathValue

func MustParseDeploymentUpgradeState_FieldPathValue(pathStr, valueStr string) DeploymentUpgradeState_FieldPathValue

func ParseDeploymentUpgradeState_FieldPathValue

func ParseDeploymentUpgradeState_FieldPathValue(pathStr, valueStr string) (DeploymentUpgradeState_FieldPathValue, error)

type DeploymentUpgradeState_FieldTerminalPath

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

func (*DeploymentUpgradeState_FieldTerminalPath) ClearValue

func (*DeploymentUpgradeState_FieldTerminalPath) ClearValueRaw

func (fp *DeploymentUpgradeState_FieldTerminalPath) ClearValueRaw(item proto.Message)

func (*DeploymentUpgradeState_FieldTerminalPath) Get

func (fp *DeploymentUpgradeState_FieldTerminalPath) Get(source *Deployment_UpgradeState) (values []interface{})

Get returns all values pointed by specific field from source Deployment_UpgradeState

func (*DeploymentUpgradeState_FieldTerminalPath) GetDefault

func (fp *DeploymentUpgradeState_FieldTerminalPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*DeploymentUpgradeState_FieldTerminalPath) GetRaw

func (fp *DeploymentUpgradeState_FieldTerminalPath) GetRaw(source proto.Message) []interface{}

func (*DeploymentUpgradeState_FieldTerminalPath) GetSingle

func (fp *DeploymentUpgradeState_FieldTerminalPath) GetSingle(source *Deployment_UpgradeState) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Deployment_UpgradeState

func (*DeploymentUpgradeState_FieldTerminalPath) GetSingleRaw

func (fp *DeploymentUpgradeState_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*DeploymentUpgradeState_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*DeploymentUpgradeState_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*DeploymentUpgradeState_FieldTerminalPath) Selector

func (*DeploymentUpgradeState_FieldTerminalPath) SplitIntoTerminalIPaths

func (fp *DeploymentUpgradeState_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*DeploymentUpgradeState_FieldTerminalPath) String

String returns path representation in proto convention

func (*DeploymentUpgradeState_FieldTerminalPath) WithIArrayItemValue

func (*DeploymentUpgradeState_FieldTerminalPath) WithIArrayOfValues

func (*DeploymentUpgradeState_FieldTerminalPath) WithIValue

func (*DeploymentUpgradeState_FieldTerminalPath) WithRawIArrayItemValue

func (fp *DeploymentUpgradeState_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*DeploymentUpgradeState_FieldTerminalPath) WithRawIArrayOfValues

func (fp *DeploymentUpgradeState_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*DeploymentUpgradeState_FieldTerminalPath) WithRawIValue

func (fp *DeploymentUpgradeState_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type DeploymentUpgradeState_FieldTerminalPathArrayItemValue

type DeploymentUpgradeState_FieldTerminalPathArrayItemValue struct {
	DeploymentUpgradeState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*DeploymentUpgradeState_FieldTerminalPathArrayItemValue) AsPendingShardsItemValue

func (fpaiv *DeploymentUpgradeState_FieldTerminalPathArrayItemValue) AsPendingShardsItemValue() (int64, bool)

func (*DeploymentUpgradeState_FieldTerminalPathArrayItemValue) AsReadyShardsItemValue

func (fpaiv *DeploymentUpgradeState_FieldTerminalPathArrayItemValue) AsReadyShardsItemValue() (int64, bool)

func (*DeploymentUpgradeState_FieldTerminalPathArrayItemValue) ContainsValue

Contains returns a boolean indicating if value that is being held is present in given 'UpgradeState'

func (*DeploymentUpgradeState_FieldTerminalPathArrayItemValue) GetRawItemValue

func (fpaiv *DeploymentUpgradeState_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored element value for array in object Deployment_UpgradeState as interface{}

func (*DeploymentUpgradeState_FieldTerminalPathArrayItemValue) GetSingle

func (*DeploymentUpgradeState_FieldTerminalPathArrayItemValue) GetSingleRaw

func (fpaiv *DeploymentUpgradeState_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)

type DeploymentUpgradeState_FieldTerminalPathArrayOfValues

type DeploymentUpgradeState_FieldTerminalPathArrayOfValues struct {
	DeploymentUpgradeState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*DeploymentUpgradeState_FieldTerminalPathArrayOfValues) AsPendingShardsArrayOfValues

func (fpaov *DeploymentUpgradeState_FieldTerminalPathArrayOfValues) AsPendingShardsArrayOfValues() ([][]int64, bool)

func (*DeploymentUpgradeState_FieldTerminalPathArrayOfValues) AsReadyShardsArrayOfValues

func (fpaov *DeploymentUpgradeState_FieldTerminalPathArrayOfValues) AsReadyShardsArrayOfValues() ([][]int64, bool)

func (*DeploymentUpgradeState_FieldTerminalPathArrayOfValues) AsStageArrayOfValues

func (*DeploymentUpgradeState_FieldTerminalPathArrayOfValues) AsTargetVersionArrayOfValues

func (fpaov *DeploymentUpgradeState_FieldTerminalPathArrayOfValues) AsTargetVersionArrayOfValues() ([]string, bool)

func (*DeploymentUpgradeState_FieldTerminalPathArrayOfValues) GetRawValues

func (fpaov *DeploymentUpgradeState_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})

type DeploymentUpgradeState_FieldTerminalPathValue

type DeploymentUpgradeState_FieldTerminalPathValue struct {
	DeploymentUpgradeState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*DeploymentUpgradeState_FieldTerminalPathValue) AsPendingShardsValue

func (fpv *DeploymentUpgradeState_FieldTerminalPathValue) AsPendingShardsValue() ([]int64, bool)

func (*DeploymentUpgradeState_FieldTerminalPathValue) AsReadyShardsValue

func (fpv *DeploymentUpgradeState_FieldTerminalPathValue) AsReadyShardsValue() ([]int64, bool)

func (*DeploymentUpgradeState_FieldTerminalPathValue) AsStageValue

func (*DeploymentUpgradeState_FieldTerminalPathValue) AsTargetVersionValue

func (fpv *DeploymentUpgradeState_FieldTerminalPathValue) AsTargetVersionValue() (string, bool)

func (*DeploymentUpgradeState_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'DeploymentUpgradeState_FieldTerminalPathValue' with the value under path in 'Deployment_UpgradeState'.

func (*DeploymentUpgradeState_FieldTerminalPathValue) CompareWithRaw

func (fpv *DeploymentUpgradeState_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*DeploymentUpgradeState_FieldTerminalPathValue) GetRawValue

func (fpv *DeploymentUpgradeState_FieldTerminalPathValue) GetRawValue() interface{}

GetRawValue returns raw value stored under selected path for 'UpgradeState' as interface{}

func (*DeploymentUpgradeState_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object UpgradeState

func (*DeploymentUpgradeState_FieldTerminalPathValue) SetToRaw

type Deployment_FieldMask

type Deployment_FieldMask struct {
	Paths []Deployment_FieldPath
}

func FullDeployment_FieldMask

func FullDeployment_FieldMask() *Deployment_FieldMask

func ResourceViewFieldMask

func ResourceViewFieldMask(viewName view.View, extraMask *Deployment_FieldMask) *Deployment_FieldMask

func (*Deployment_FieldMask) AppendPath

func (fieldMask *Deployment_FieldMask) AppendPath(path Deployment_FieldPath)

func (*Deployment_FieldMask) AppendRawPath

func (fieldMask *Deployment_FieldMask) AppendRawPath(path gotenobject.FieldPath)

func (*Deployment_FieldMask) DecodeFirestore

func (fieldMask *Deployment_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error

func (*Deployment_FieldMask) EncodeFirestore

func (fieldMask *Deployment_FieldMask) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*Deployment_FieldMask) FilterInputFields

func (fieldMask *Deployment_FieldMask) FilterInputFields() *Deployment_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Deployment_FieldMask) FromProtoFieldMask

func (fieldMask *Deployment_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error

func (*Deployment_FieldMask) GetPaths

func (fieldMask *Deployment_FieldMask) GetPaths() []Deployment_FieldPath

func (*Deployment_FieldMask) GetRawPaths

func (fieldMask *Deployment_FieldMask) GetRawPaths() []gotenobject.FieldPath

func (*Deployment_FieldMask) IsFull

func (fieldMask *Deployment_FieldMask) IsFull() bool

func (Deployment_FieldMask) Marshal

func (fieldMask Deployment_FieldMask) Marshal() ([]byte, error)

implement methods required by customType

func (Deployment_FieldMask) MarshalJSON

func (fieldMask Deployment_FieldMask) MarshalJSON() ([]byte, error)

func (*Deployment_FieldMask) PathsCount

func (fieldMask *Deployment_FieldMask) PathsCount() int

func (*Deployment_FieldMask) Project

func (fieldMask *Deployment_FieldMask) Project(source *Deployment) *Deployment

func (*Deployment_FieldMask) ProjectRaw

func (*Deployment_FieldMask) ProtoMessage

func (fieldMask *Deployment_FieldMask) ProtoMessage()

func (*Deployment_FieldMask) ProtoReflect

func (fieldMask *Deployment_FieldMask) ProtoReflect() preflect.Message

func (*Deployment_FieldMask) Reset

func (fieldMask *Deployment_FieldMask) Reset()

func (*Deployment_FieldMask) Set

func (fieldMask *Deployment_FieldMask) Set(target, source *Deployment)

func (*Deployment_FieldMask) SetFromCliFlag

func (fieldMask *Deployment_FieldMask) SetFromCliFlag(raw string) error

func (*Deployment_FieldMask) SetRaw

func (fieldMask *Deployment_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)

func (*Deployment_FieldMask) Size

func (fieldMask *Deployment_FieldMask) Size() int

func (*Deployment_FieldMask) String

func (fieldMask *Deployment_FieldMask) String() string

func (*Deployment_FieldMask) Subtract

func (fieldMask *Deployment_FieldMask) Subtract(other *Deployment_FieldMask) *Deployment_FieldMask

func (*Deployment_FieldMask) SubtractRaw

func (fieldMask *Deployment_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask

func (*Deployment_FieldMask) ToProtoFieldMask

func (fieldMask *Deployment_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*Deployment_FieldMask) Unmarshal

func (fieldMask *Deployment_FieldMask) Unmarshal(data []byte) error

func (*Deployment_FieldMask) UnmarshalJSON

func (fieldMask *Deployment_FieldMask) UnmarshalJSON(data []byte) error

type Deployment_FieldPath

type Deployment_FieldPath interface {
	gotenobject.FieldPath
	Selector() Deployment_FieldPathSelector
	Get(source *Deployment) []interface{}
	GetSingle(source *Deployment) (interface{}, bool)
	ClearValue(item *Deployment)

	// Those methods build corresponding Deployment_FieldPathValue
	// (or array of values) and holds passed value. Panics if injected type is incorrect.
	WithIValue(value interface{}) Deployment_FieldPathValue
	WithIArrayOfValues(values interface{}) Deployment_FieldPathArrayOfValues
	WithIArrayItemValue(value interface{}) Deployment_FieldPathArrayItemValue
}

FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto

func BuildDeployment_FieldPath

func BuildDeployment_FieldPath(fp gotenobject.RawFieldPath) (Deployment_FieldPath, error)

func MustParseDeployment_FieldPath

func MustParseDeployment_FieldPath(rawField string) Deployment_FieldPath

func ParseDeployment_FieldPath

func ParseDeployment_FieldPath(rawField string) (Deployment_FieldPath, error)

type Deployment_FieldPathArrayItemValue

type Deployment_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Deployment_FieldPath
	ContainsValue(*Deployment) bool
}

Deployment_FieldPathArrayItemValue allows storing single item in Path-specific values for Deployment according to their type Present only for array (repeated) types.

func MustParseDeployment_FieldPathArrayItemValue

func MustParseDeployment_FieldPathArrayItemValue(pathStr, valueStr string) Deployment_FieldPathArrayItemValue

func ParseDeployment_FieldPathArrayItemValue

func ParseDeployment_FieldPathArrayItemValue(pathStr, valueStr string) (Deployment_FieldPathArrayItemValue, error)

ParseDeployment_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Deployment_FieldPathArrayOfValues

type Deployment_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Deployment_FieldPath
}

Deployment_FieldPathArrayOfValues allows storing slice of values for Deployment fields according to their type

func MustParseDeployment_FieldPathArrayOfValues

func MustParseDeployment_FieldPathArrayOfValues(pathStr, valuesStr string) Deployment_FieldPathArrayOfValues

func ParseDeployment_FieldPathArrayOfValues

func ParseDeployment_FieldPathArrayOfValues(pathStr, valuesStr string) (Deployment_FieldPathArrayOfValues, error)

type Deployment_FieldPathSelector

type Deployment_FieldPathSelector int32
const (
	Deployment_FieldPathSelectorName                      Deployment_FieldPathSelector = 0
	Deployment_FieldPathSelectorMetadata                  Deployment_FieldPathSelector = 1
	Deployment_FieldPathSelectorServiceName               Deployment_FieldPathSelector = 2
	Deployment_FieldPathSelectorRegion                    Deployment_FieldPathSelector = 3
	Deployment_FieldPathSelectorPublicDomain              Deployment_FieldPathSelector = 4
	Deployment_FieldPathSelectorPrivateDomain             Deployment_FieldPathSelector = 5
	Deployment_FieldPathSelectorLocalNetworkId            Deployment_FieldPathSelector = 6
	Deployment_FieldPathSelectorLocation                  Deployment_FieldPathSelector = 7
	Deployment_FieldPathSelectorIsDisabled                Deployment_FieldPathSelector = 8
	Deployment_FieldPathSelectorEnvRegistryGeneration     Deployment_FieldPathSelector = 9
	Deployment_FieldPathSelectorCurrentVersion            Deployment_FieldPathSelector = 10
	Deployment_FieldPathSelectorAutomaticVersionSwitch    Deployment_FieldPathSelector = 11
	Deployment_FieldPathSelectorUpgradeState              Deployment_FieldPathSelector = 12
	Deployment_FieldPathSelectorAllowedServicesGeneration Deployment_FieldPathSelector = 13
)

func (Deployment_FieldPathSelector) String

type Deployment_FieldPathValue

type Deployment_FieldPathValue interface {
	Deployment_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Deployment)
	CompareWith(*Deployment) (cmp int, comparable bool)
}

Deployment_FieldPathValue allows storing values for Deployment fields according to their type

func MustParseDeployment_FieldPathValue

func MustParseDeployment_FieldPathValue(pathStr, valueStr string) Deployment_FieldPathValue

func ParseDeployment_FieldPathValue

func ParseDeployment_FieldPathValue(pathStr, valueStr string) (Deployment_FieldPathValue, error)

type Deployment_FieldSubPath

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

func (*Deployment_FieldSubPath) AsLocationSubPath

func (fps *Deployment_FieldSubPath) AsLocationSubPath() (DeploymentLocation_FieldPath, bool)

func (*Deployment_FieldSubPath) AsMetadataSubPath

func (fps *Deployment_FieldSubPath) AsMetadataSubPath() (meta.Meta_FieldPath, bool)

func (*Deployment_FieldSubPath) AsUpgradeStateSubPath

func (fps *Deployment_FieldSubPath) AsUpgradeStateSubPath() (DeploymentUpgradeState_FieldPath, bool)

func (*Deployment_FieldSubPath) ClearValue

func (fps *Deployment_FieldSubPath) ClearValue(item *Deployment)

func (*Deployment_FieldSubPath) ClearValueRaw

func (fps *Deployment_FieldSubPath) ClearValueRaw(item proto.Message)

func (*Deployment_FieldSubPath) Get

func (fps *Deployment_FieldSubPath) Get(source *Deployment) (values []interface{})

Get returns all values pointed by selected field from source Deployment

func (*Deployment_FieldSubPath) GetDefault

func (fps *Deployment_FieldSubPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*Deployment_FieldSubPath) GetRaw

func (fps *Deployment_FieldSubPath) GetRaw(source proto.Message) []interface{}

func (*Deployment_FieldSubPath) GetSingle

func (fps *Deployment_FieldSubPath) GetSingle(source *Deployment) (interface{}, bool)

GetSingle returns value of selected field from source Deployment

func (*Deployment_FieldSubPath) GetSingleRaw

func (fps *Deployment_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*Deployment_FieldSubPath) IsLeaf

func (fps *Deployment_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Deployment_FieldSubPath) JSONString

func (fps *Deployment_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Deployment_FieldSubPath) Selector

func (*Deployment_FieldSubPath) SplitIntoTerminalIPaths

func (fps *Deployment_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*Deployment_FieldSubPath) String

func (fps *Deployment_FieldSubPath) String() string

String returns path representation in proto convention

func (*Deployment_FieldSubPath) WithIArrayItemValue

func (fps *Deployment_FieldSubPath) WithIArrayItemValue(value interface{}) Deployment_FieldPathArrayItemValue

func (*Deployment_FieldSubPath) WithIArrayOfValues

func (fps *Deployment_FieldSubPath) WithIArrayOfValues(values interface{}) Deployment_FieldPathArrayOfValues

func (*Deployment_FieldSubPath) WithIValue

func (fps *Deployment_FieldSubPath) WithIValue(value interface{}) Deployment_FieldPathValue

func (*Deployment_FieldSubPath) WithRawIArrayItemValue

func (fps *Deployment_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*Deployment_FieldSubPath) WithRawIArrayOfValues

func (fps *Deployment_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*Deployment_FieldSubPath) WithRawIValue

func (fps *Deployment_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type Deployment_FieldSubPathArrayItemValue

type Deployment_FieldSubPathArrayItemValue struct {
	Deployment_FieldPath
	// contains filtered or unexported fields
}

func (*Deployment_FieldSubPathArrayItemValue) AsLocationPathItemValue

func (*Deployment_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (fpaivs *Deployment_FieldSubPathArrayItemValue) AsMetadataPathItemValue() (meta.Meta_FieldPathArrayItemValue, bool)

func (*Deployment_FieldSubPathArrayItemValue) AsUpgradeStatePathItemValue

func (*Deployment_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *Deployment_FieldSubPathArrayItemValue) ContainsValue(source *Deployment) bool

Contains returns a boolean indicating if value that is being held is present in given 'Deployment'

func (*Deployment_FieldSubPathArrayItemValue) GetRawItemValue

func (fpaivs *Deployment_FieldSubPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored array item value

type Deployment_FieldSubPathArrayOfValues

type Deployment_FieldSubPathArrayOfValues struct {
	Deployment_FieldPath
	// contains filtered or unexported fields
}

func (*Deployment_FieldSubPathArrayOfValues) AsLocationPathArrayOfValues

func (*Deployment_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

func (fpsaov *Deployment_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (meta.Meta_FieldPathArrayOfValues, bool)

func (*Deployment_FieldSubPathArrayOfValues) AsUpgradeStatePathArrayOfValues

func (*Deployment_FieldSubPathArrayOfValues) GetRawValues

func (fpsaov *Deployment_FieldSubPathArrayOfValues) GetRawValues() []interface{}

type Deployment_FieldSubPathValue

type Deployment_FieldSubPathValue struct {
	Deployment_FieldPath
	// contains filtered or unexported fields
}

func (*Deployment_FieldSubPathValue) AsLocationPathValue

func (*Deployment_FieldSubPathValue) AsMetadataPathValue

func (fpvs *Deployment_FieldSubPathValue) AsMetadataPathValue() (meta.Meta_FieldPathValue, bool)

func (*Deployment_FieldSubPathValue) AsUpgradeStatePathValue

func (fpvs *Deployment_FieldSubPathValue) AsUpgradeStatePathValue() (DeploymentUpgradeState_FieldPathValue, bool)

func (*Deployment_FieldSubPathValue) CompareWith

func (fpvs *Deployment_FieldSubPathValue) CompareWith(source *Deployment) (int, bool)

func (*Deployment_FieldSubPathValue) CompareWithRaw

func (fpvs *Deployment_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*Deployment_FieldSubPathValue) GetRawValue

func (fpvs *Deployment_FieldSubPathValue) GetRawValue() interface{}

func (*Deployment_FieldSubPathValue) SetTo

func (fpvs *Deployment_FieldSubPathValue) SetTo(target **Deployment)

func (*Deployment_FieldSubPathValue) SetToRaw

func (fpvs *Deployment_FieldSubPathValue) SetToRaw(target proto.Message)

type Deployment_FieldTerminalPath

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

func (*Deployment_FieldTerminalPath) ClearValue

func (fp *Deployment_FieldTerminalPath) ClearValue(item *Deployment)

func (*Deployment_FieldTerminalPath) ClearValueRaw

func (fp *Deployment_FieldTerminalPath) ClearValueRaw(item proto.Message)

func (*Deployment_FieldTerminalPath) Get

func (fp *Deployment_FieldTerminalPath) Get(source *Deployment) (values []interface{})

Get returns all values pointed by specific field from source Deployment

func (*Deployment_FieldTerminalPath) GetDefault

func (fp *Deployment_FieldTerminalPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*Deployment_FieldTerminalPath) GetRaw

func (fp *Deployment_FieldTerminalPath) GetRaw(source proto.Message) []interface{}

func (*Deployment_FieldTerminalPath) GetSingle

func (fp *Deployment_FieldTerminalPath) GetSingle(source *Deployment) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Deployment

func (*Deployment_FieldTerminalPath) GetSingleRaw

func (fp *Deployment_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*Deployment_FieldTerminalPath) IsLeaf

func (fp *Deployment_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Deployment_FieldTerminalPath) JSONString

func (fp *Deployment_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Deployment_FieldTerminalPath) Selector

func (*Deployment_FieldTerminalPath) SplitIntoTerminalIPaths

func (fp *Deployment_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*Deployment_FieldTerminalPath) String

func (fp *Deployment_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Deployment_FieldTerminalPath) WithIArrayItemValue

func (fp *Deployment_FieldTerminalPath) WithIArrayItemValue(value interface{}) Deployment_FieldPathArrayItemValue

func (*Deployment_FieldTerminalPath) WithIArrayOfValues

func (fp *Deployment_FieldTerminalPath) WithIArrayOfValues(values interface{}) Deployment_FieldPathArrayOfValues

func (*Deployment_FieldTerminalPath) WithIValue

func (fp *Deployment_FieldTerminalPath) WithIValue(value interface{}) Deployment_FieldPathValue

func (*Deployment_FieldTerminalPath) WithRawIArrayItemValue

func (fp *Deployment_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*Deployment_FieldTerminalPath) WithRawIArrayOfValues

func (fp *Deployment_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*Deployment_FieldTerminalPath) WithRawIValue

func (fp *Deployment_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type Deployment_FieldTerminalPathArrayItemValue

type Deployment_FieldTerminalPathArrayItemValue struct {
	Deployment_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Deployment_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Deployment_FieldTerminalPathArrayItemValue) ContainsValue(source *Deployment) bool

Contains returns a boolean indicating if value that is being held is present in given 'Deployment'

func (*Deployment_FieldTerminalPathArrayItemValue) GetRawItemValue

func (fpaiv *Deployment_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored element value for array in object Deployment as interface{}

func (*Deployment_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Deployment_FieldTerminalPathArrayItemValue) GetSingle(source *Deployment) (interface{}, bool)

func (*Deployment_FieldTerminalPathArrayItemValue) GetSingleRaw

func (fpaiv *Deployment_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)

type Deployment_FieldTerminalPathArrayOfValues

type Deployment_FieldTerminalPathArrayOfValues struct {
	Deployment_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Deployment_FieldTerminalPathArrayOfValues) AsAllowedServicesGenerationArrayOfValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) AsAllowedServicesGenerationArrayOfValues() ([]int64, bool)

func (*Deployment_FieldTerminalPathArrayOfValues) AsAutomaticVersionSwitchArrayOfValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) AsAutomaticVersionSwitchArrayOfValues() ([]bool, bool)

func (*Deployment_FieldTerminalPathArrayOfValues) AsCurrentVersionArrayOfValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) AsCurrentVersionArrayOfValues() ([]string, bool)

func (*Deployment_FieldTerminalPathArrayOfValues) AsEnvRegistryGenerationArrayOfValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) AsEnvRegistryGenerationArrayOfValues() ([]int32, bool)

func (*Deployment_FieldTerminalPathArrayOfValues) AsIsDisabledArrayOfValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) AsIsDisabledArrayOfValues() ([]bool, bool)

func (*Deployment_FieldTerminalPathArrayOfValues) AsLocalNetworkIdArrayOfValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) AsLocalNetworkIdArrayOfValues() ([]string, bool)

func (*Deployment_FieldTerminalPathArrayOfValues) AsLocationArrayOfValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) AsLocationArrayOfValues() ([]*Deployment_Location, bool)

func (*Deployment_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*meta.Meta, bool)

func (*Deployment_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)

func (*Deployment_FieldTerminalPathArrayOfValues) AsPrivateDomainArrayOfValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) AsPrivateDomainArrayOfValues() ([]string, bool)

func (*Deployment_FieldTerminalPathArrayOfValues) AsPublicDomainArrayOfValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) AsPublicDomainArrayOfValues() ([]string, bool)

func (*Deployment_FieldTerminalPathArrayOfValues) AsRegionArrayOfValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) AsRegionArrayOfValues() ([]*region.Reference, bool)

func (*Deployment_FieldTerminalPathArrayOfValues) AsServiceNameArrayOfValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) AsServiceNameArrayOfValues() ([]string, bool)

func (*Deployment_FieldTerminalPathArrayOfValues) AsUpgradeStateArrayOfValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) AsUpgradeStateArrayOfValues() ([]*Deployment_UpgradeState, bool)

func (*Deployment_FieldTerminalPathArrayOfValues) GetRawValues

func (fpaov *Deployment_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})

type Deployment_FieldTerminalPathValue

type Deployment_FieldTerminalPathValue struct {
	Deployment_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Deployment_FieldTerminalPathValue) AsAllowedServicesGenerationValue

func (fpv *Deployment_FieldTerminalPathValue) AsAllowedServicesGenerationValue() (int64, bool)

func (*Deployment_FieldTerminalPathValue) AsAutomaticVersionSwitchValue

func (fpv *Deployment_FieldTerminalPathValue) AsAutomaticVersionSwitchValue() (bool, bool)

func (*Deployment_FieldTerminalPathValue) AsCurrentVersionValue

func (fpv *Deployment_FieldTerminalPathValue) AsCurrentVersionValue() (string, bool)

func (*Deployment_FieldTerminalPathValue) AsEnvRegistryGenerationValue

func (fpv *Deployment_FieldTerminalPathValue) AsEnvRegistryGenerationValue() (int32, bool)

func (*Deployment_FieldTerminalPathValue) AsIsDisabledValue

func (fpv *Deployment_FieldTerminalPathValue) AsIsDisabledValue() (bool, bool)

func (*Deployment_FieldTerminalPathValue) AsLocalNetworkIdValue

func (fpv *Deployment_FieldTerminalPathValue) AsLocalNetworkIdValue() (string, bool)

func (*Deployment_FieldTerminalPathValue) AsLocationValue

func (fpv *Deployment_FieldTerminalPathValue) AsLocationValue() (*Deployment_Location, bool)

func (*Deployment_FieldTerminalPathValue) AsMetadataValue

func (fpv *Deployment_FieldTerminalPathValue) AsMetadataValue() (*meta.Meta, bool)

func (*Deployment_FieldTerminalPathValue) AsNameValue

func (fpv *Deployment_FieldTerminalPathValue) AsNameValue() (*Name, bool)

func (*Deployment_FieldTerminalPathValue) AsPrivateDomainValue

func (fpv *Deployment_FieldTerminalPathValue) AsPrivateDomainValue() (string, bool)

func (*Deployment_FieldTerminalPathValue) AsPublicDomainValue

func (fpv *Deployment_FieldTerminalPathValue) AsPublicDomainValue() (string, bool)

func (*Deployment_FieldTerminalPathValue) AsRegionValue

func (fpv *Deployment_FieldTerminalPathValue) AsRegionValue() (*region.Reference, bool)

func (*Deployment_FieldTerminalPathValue) AsServiceNameValue

func (fpv *Deployment_FieldTerminalPathValue) AsServiceNameValue() (string, bool)

func (*Deployment_FieldTerminalPathValue) AsUpgradeStateValue

func (fpv *Deployment_FieldTerminalPathValue) AsUpgradeStateValue() (*Deployment_UpgradeState, bool)

func (*Deployment_FieldTerminalPathValue) CompareWith

func (fpv *Deployment_FieldTerminalPathValue) CompareWith(source *Deployment) (int, bool)

CompareWith compares value in the 'Deployment_FieldTerminalPathValue' with the value under path in 'Deployment'.

func (*Deployment_FieldTerminalPathValue) CompareWithRaw

func (fpv *Deployment_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*Deployment_FieldTerminalPathValue) GetRawValue

func (fpv *Deployment_FieldTerminalPathValue) GetRawValue() interface{}

GetRawValue returns raw value stored under selected path for 'Deployment' as interface{}

func (*Deployment_FieldTerminalPathValue) SetTo

func (fpv *Deployment_FieldTerminalPathValue) SetTo(target **Deployment)

SetTo stores value for selected field for object Deployment

func (*Deployment_FieldTerminalPathValue) SetToRaw

func (fpv *Deployment_FieldTerminalPathValue) SetToRaw(target proto.Message)

type Deployment_Location

type Deployment_Location struct {

	// Continent
	Continent string `protobuf:"bytes,1,opt,name=continent,proto3" json:"continent,omitempty" firestore:"continent"`
	// Country
	Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty" firestore:"country"`
	// Agglomeration
	Agglomeration string `protobuf:"bytes,3,opt,name=agglomeration,proto3" json:"agglomeration,omitempty" firestore:"agglomeration"`
	// City
	City string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty" firestore:"city"`
	// Cloud provider (like GCP, Azure, AWS...)
	Cloud string `protobuf:"bytes,5,opt,name=cloud,proto3" json:"cloud,omitempty" firestore:"cloud"`
	// contains filtered or unexported fields
}

Location describes deployment location of this deployment. It may be used for multi-region routing to help determine closest deployment.

func (*Deployment_Location) Clone

func (*Deployment_Location) CloneRaw

func (*Deployment_Location) Descriptor

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

Deprecated, Use Deployment_Location.ProtoReflect.Descriptor instead.

func (*Deployment_Location) GetAgglomeration

func (m *Deployment_Location) GetAgglomeration() string

func (*Deployment_Location) GetCity

func (m *Deployment_Location) GetCity() string

func (*Deployment_Location) GetCloud

func (m *Deployment_Location) GetCloud() string

func (*Deployment_Location) GetContinent

func (m *Deployment_Location) GetContinent() string

func (*Deployment_Location) GetCountry

func (m *Deployment_Location) GetCountry() string

func (*Deployment_Location) GotenMessage

func (*Deployment_Location) GotenMessage()

func (*Deployment_Location) GotenObjectExt

func (o *Deployment_Location) GotenObjectExt()

func (*Deployment_Location) GotenValidate

func (obj *Deployment_Location) GotenValidate() error

func (*Deployment_Location) MakeDiffFieldMask

func (*Deployment_Location) MakeFullFieldMask

func (o *Deployment_Location) MakeFullFieldMask() *Deployment_Location_FieldMask

func (*Deployment_Location) MakeRawDiffFieldMask

func (o *Deployment_Location) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask

func (*Deployment_Location) MakeRawFullFieldMask

func (o *Deployment_Location) MakeRawFullFieldMask() gotenobject.FieldMask

func (*Deployment_Location) Marshal

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

func (*Deployment_Location) MarshalJSON

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

func (*Deployment_Location) Merge

func (o *Deployment_Location) Merge(source *Deployment_Location)

func (*Deployment_Location) MergeRaw

func (o *Deployment_Location) MergeRaw(source gotenobject.GotenObjectExt)

func (*Deployment_Location) ProtoMessage

func (*Deployment_Location) ProtoMessage()

func (*Deployment_Location) ProtoReflect

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

func (*Deployment_Location) Reset

func (m *Deployment_Location) Reset()

func (*Deployment_Location) SetAgglomeration

func (m *Deployment_Location) SetAgglomeration(fv string)

func (*Deployment_Location) SetCity

func (m *Deployment_Location) SetCity(fv string)

func (*Deployment_Location) SetCloud

func (m *Deployment_Location) SetCloud(fv string)

func (*Deployment_Location) SetContinent

func (m *Deployment_Location) SetContinent(fv string)

func (*Deployment_Location) SetCountry

func (m *Deployment_Location) SetCountry(fv string)

func (*Deployment_Location) String

func (m *Deployment_Location) String() string

func (*Deployment_Location) Unmarshal

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

func (*Deployment_Location) UnmarshalJSON

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

type Deployment_LocationPathSelectorAgglomeration

type Deployment_LocationPathSelectorAgglomeration struct{}

func (Deployment_LocationPathSelectorAgglomeration) FieldPath

func (Deployment_LocationPathSelectorAgglomeration) WithArrayOfValues

func (Deployment_LocationPathSelectorAgglomeration) WithValue

type Deployment_LocationPathSelectorCity

type Deployment_LocationPathSelectorCity struct{}

func (Deployment_LocationPathSelectorCity) FieldPath

func (Deployment_LocationPathSelectorCity) WithArrayOfValues

func (Deployment_LocationPathSelectorCity) WithValue

type Deployment_LocationPathSelectorCloud

type Deployment_LocationPathSelectorCloud struct{}

func (Deployment_LocationPathSelectorCloud) FieldPath

func (Deployment_LocationPathSelectorCloud) WithArrayOfValues

func (Deployment_LocationPathSelectorCloud) WithValue

type Deployment_LocationPathSelectorContinent

type Deployment_LocationPathSelectorContinent struct{}

func (Deployment_LocationPathSelectorContinent) FieldPath

func (Deployment_LocationPathSelectorContinent) WithArrayOfValues

func (Deployment_LocationPathSelectorContinent) WithValue

type Deployment_LocationPathSelectorCountry

type Deployment_LocationPathSelectorCountry struct{}

func (Deployment_LocationPathSelectorCountry) FieldPath

func (Deployment_LocationPathSelectorCountry) WithArrayOfValues

func (Deployment_LocationPathSelectorCountry) WithValue

type Deployment_Location_FieldMask

type Deployment_Location_FieldMask struct {
	Paths []DeploymentLocation_FieldPath
}

func FullDeployment_Location_FieldMask

func FullDeployment_Location_FieldMask() *Deployment_Location_FieldMask

func (*Deployment_Location_FieldMask) AppendPath

func (fieldMask *Deployment_Location_FieldMask) AppendPath(path DeploymentLocation_FieldPath)

func (*Deployment_Location_FieldMask) AppendRawPath

func (fieldMask *Deployment_Location_FieldMask) AppendRawPath(path gotenobject.FieldPath)

func (*Deployment_Location_FieldMask) DecodeFirestore

func (fieldMask *Deployment_Location_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error

func (*Deployment_Location_FieldMask) EncodeFirestore

func (fieldMask *Deployment_Location_FieldMask) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*Deployment_Location_FieldMask) FilterInputFields

func (fieldMask *Deployment_Location_FieldMask) FilterInputFields() *Deployment_Location_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Deployment_Location_FieldMask) FromProtoFieldMask

func (fieldMask *Deployment_Location_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error

func (*Deployment_Location_FieldMask) GetPaths

func (*Deployment_Location_FieldMask) GetRawPaths

func (fieldMask *Deployment_Location_FieldMask) GetRawPaths() []gotenobject.FieldPath

func (*Deployment_Location_FieldMask) IsFull

func (fieldMask *Deployment_Location_FieldMask) IsFull() bool

func (Deployment_Location_FieldMask) Marshal

func (fieldMask Deployment_Location_FieldMask) Marshal() ([]byte, error)

implement methods required by customType

func (Deployment_Location_FieldMask) MarshalJSON

func (fieldMask Deployment_Location_FieldMask) MarshalJSON() ([]byte, error)

func (*Deployment_Location_FieldMask) PathsCount

func (fieldMask *Deployment_Location_FieldMask) PathsCount() int

func (*Deployment_Location_FieldMask) Project

func (*Deployment_Location_FieldMask) ProjectRaw

func (*Deployment_Location_FieldMask) ProtoMessage

func (fieldMask *Deployment_Location_FieldMask) ProtoMessage()

func (*Deployment_Location_FieldMask) ProtoReflect

func (fieldMask *Deployment_Location_FieldMask) ProtoReflect() preflect.Message

func (*Deployment_Location_FieldMask) Reset

func (fieldMask *Deployment_Location_FieldMask) Reset()

func (*Deployment_Location_FieldMask) Set

func (fieldMask *Deployment_Location_FieldMask) Set(target, source *Deployment_Location)

func (*Deployment_Location_FieldMask) SetFromCliFlag

func (fieldMask *Deployment_Location_FieldMask) SetFromCliFlag(raw string) error

func (*Deployment_Location_FieldMask) SetRaw

func (fieldMask *Deployment_Location_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)

func (*Deployment_Location_FieldMask) Size

func (fieldMask *Deployment_Location_FieldMask) Size() int

func (*Deployment_Location_FieldMask) String

func (fieldMask *Deployment_Location_FieldMask) String() string

func (*Deployment_Location_FieldMask) Subtract

func (*Deployment_Location_FieldMask) SubtractRaw

func (*Deployment_Location_FieldMask) ToProtoFieldMask

func (fieldMask *Deployment_Location_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*Deployment_Location_FieldMask) Unmarshal

func (fieldMask *Deployment_Location_FieldMask) Unmarshal(data []byte) error

func (*Deployment_Location_FieldMask) UnmarshalJSON

func (fieldMask *Deployment_Location_FieldMask) UnmarshalJSON(data []byte) error

type Deployment_UpgradeState

type Deployment_UpgradeState struct {
	TargetVersion string                        `` /* 126-byte string literal not displayed */
	ReadyShards   []int64                       `` /* 126-byte string literal not displayed */
	PendingShards []int64                       `` /* 134-byte string literal not displayed */
	Stage         Deployment_UpgradeState_Stage `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

UpgradeState describes current state of database upgrade.

func (*Deployment_UpgradeState) Clone

func (*Deployment_UpgradeState) CloneRaw

func (*Deployment_UpgradeState) Descriptor

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

Deprecated, Use Deployment_UpgradeState.ProtoReflect.Descriptor instead.

func (*Deployment_UpgradeState) GetPendingShards

func (m *Deployment_UpgradeState) GetPendingShards() []int64

func (*Deployment_UpgradeState) GetReadyShards

func (m *Deployment_UpgradeState) GetReadyShards() []int64

func (*Deployment_UpgradeState) GetStage

func (*Deployment_UpgradeState) GetTargetVersion

func (m *Deployment_UpgradeState) GetTargetVersion() string

func (*Deployment_UpgradeState) GotenMessage

func (*Deployment_UpgradeState) GotenMessage()

func (*Deployment_UpgradeState) GotenObjectExt

func (o *Deployment_UpgradeState) GotenObjectExt()

func (*Deployment_UpgradeState) GotenValidate

func (obj *Deployment_UpgradeState) GotenValidate() error

func (*Deployment_UpgradeState) MakeDiffFieldMask

func (*Deployment_UpgradeState) MakeFullFieldMask

func (*Deployment_UpgradeState) MakeRawDiffFieldMask

func (*Deployment_UpgradeState) MakeRawFullFieldMask

func (o *Deployment_UpgradeState) MakeRawFullFieldMask() gotenobject.FieldMask

func (*Deployment_UpgradeState) Marshal

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

func (*Deployment_UpgradeState) MarshalJSON

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

func (*Deployment_UpgradeState) Merge

func (*Deployment_UpgradeState) MergeRaw

func (*Deployment_UpgradeState) ProtoMessage

func (*Deployment_UpgradeState) ProtoMessage()

func (*Deployment_UpgradeState) ProtoReflect

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

func (*Deployment_UpgradeState) Reset

func (m *Deployment_UpgradeState) Reset()

func (*Deployment_UpgradeState) SetPendingShards

func (m *Deployment_UpgradeState) SetPendingShards(fv []int64)

func (*Deployment_UpgradeState) SetReadyShards

func (m *Deployment_UpgradeState) SetReadyShards(fv []int64)

func (*Deployment_UpgradeState) SetStage

func (*Deployment_UpgradeState) SetTargetVersion

func (m *Deployment_UpgradeState) SetTargetVersion(fv string)

func (*Deployment_UpgradeState) String

func (m *Deployment_UpgradeState) String() string

func (*Deployment_UpgradeState) Unmarshal

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

func (*Deployment_UpgradeState) UnmarshalJSON

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

type Deployment_UpgradeStatePathSelectorPendingShards

type Deployment_UpgradeStatePathSelectorPendingShards struct{}

func (Deployment_UpgradeStatePathSelectorPendingShards) FieldPath

func (Deployment_UpgradeStatePathSelectorPendingShards) WithArrayOfValues

func (Deployment_UpgradeStatePathSelectorPendingShards) WithItemValue

func (Deployment_UpgradeStatePathSelectorPendingShards) WithValue

type Deployment_UpgradeStatePathSelectorReadyShards

type Deployment_UpgradeStatePathSelectorReadyShards struct{}

func (Deployment_UpgradeStatePathSelectorReadyShards) FieldPath

func (Deployment_UpgradeStatePathSelectorReadyShards) WithArrayOfValues

func (Deployment_UpgradeStatePathSelectorReadyShards) WithItemValue

func (Deployment_UpgradeStatePathSelectorReadyShards) WithValue

type Deployment_UpgradeStatePathSelectorStage

type Deployment_UpgradeStatePathSelectorStage struct{}

func (Deployment_UpgradeStatePathSelectorStage) FieldPath

type Deployment_UpgradeStatePathSelectorTargetVersion

type Deployment_UpgradeStatePathSelectorTargetVersion struct{}

func (Deployment_UpgradeStatePathSelectorTargetVersion) FieldPath

func (Deployment_UpgradeStatePathSelectorTargetVersion) WithArrayOfValues

func (Deployment_UpgradeStatePathSelectorTargetVersion) WithValue

type Deployment_UpgradeState_FieldMask

type Deployment_UpgradeState_FieldMask struct {
	Paths []DeploymentUpgradeState_FieldPath
}

func FullDeployment_UpgradeState_FieldMask

func FullDeployment_UpgradeState_FieldMask() *Deployment_UpgradeState_FieldMask

func (*Deployment_UpgradeState_FieldMask) AppendPath

func (*Deployment_UpgradeState_FieldMask) AppendRawPath

func (fieldMask *Deployment_UpgradeState_FieldMask) AppendRawPath(path gotenobject.FieldPath)

func (*Deployment_UpgradeState_FieldMask) DecodeFirestore

func (fieldMask *Deployment_UpgradeState_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error

func (*Deployment_UpgradeState_FieldMask) EncodeFirestore

func (fieldMask *Deployment_UpgradeState_FieldMask) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*Deployment_UpgradeState_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Deployment_UpgradeState_FieldMask) FromProtoFieldMask

func (fieldMask *Deployment_UpgradeState_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error

func (*Deployment_UpgradeState_FieldMask) GetPaths

func (*Deployment_UpgradeState_FieldMask) GetRawPaths

func (fieldMask *Deployment_UpgradeState_FieldMask) GetRawPaths() []gotenobject.FieldPath

func (*Deployment_UpgradeState_FieldMask) IsFull

func (fieldMask *Deployment_UpgradeState_FieldMask) IsFull() bool

func (Deployment_UpgradeState_FieldMask) Marshal

func (fieldMask Deployment_UpgradeState_FieldMask) Marshal() ([]byte, error)

implement methods required by customType

func (Deployment_UpgradeState_FieldMask) MarshalJSON

func (fieldMask Deployment_UpgradeState_FieldMask) MarshalJSON() ([]byte, error)

func (*Deployment_UpgradeState_FieldMask) PathsCount

func (fieldMask *Deployment_UpgradeState_FieldMask) PathsCount() int

func (*Deployment_UpgradeState_FieldMask) Project

func (*Deployment_UpgradeState_FieldMask) ProjectRaw

func (*Deployment_UpgradeState_FieldMask) ProtoMessage

func (fieldMask *Deployment_UpgradeState_FieldMask) ProtoMessage()

func (*Deployment_UpgradeState_FieldMask) ProtoReflect

func (fieldMask *Deployment_UpgradeState_FieldMask) ProtoReflect() preflect.Message

func (*Deployment_UpgradeState_FieldMask) Reset

func (fieldMask *Deployment_UpgradeState_FieldMask) Reset()

func (*Deployment_UpgradeState_FieldMask) Set

func (fieldMask *Deployment_UpgradeState_FieldMask) Set(target, source *Deployment_UpgradeState)

func (*Deployment_UpgradeState_FieldMask) SetFromCliFlag

func (fieldMask *Deployment_UpgradeState_FieldMask) SetFromCliFlag(raw string) error

func (*Deployment_UpgradeState_FieldMask) SetRaw

func (fieldMask *Deployment_UpgradeState_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)

func (*Deployment_UpgradeState_FieldMask) Size

func (fieldMask *Deployment_UpgradeState_FieldMask) Size() int

func (*Deployment_UpgradeState_FieldMask) String

func (fieldMask *Deployment_UpgradeState_FieldMask) String() string

func (*Deployment_UpgradeState_FieldMask) Subtract

func (*Deployment_UpgradeState_FieldMask) SubtractRaw

func (*Deployment_UpgradeState_FieldMask) ToProtoFieldMask

func (fieldMask *Deployment_UpgradeState_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*Deployment_UpgradeState_FieldMask) Unmarshal

func (fieldMask *Deployment_UpgradeState_FieldMask) Unmarshal(data []byte) error

func (*Deployment_UpgradeState_FieldMask) UnmarshalJSON

func (fieldMask *Deployment_UpgradeState_FieldMask) UnmarshalJSON(data []byte) error

type Deployment_UpgradeState_Stage

type Deployment_UpgradeState_Stage int32
const (
	Deployment_UpgradeState_READY           Deployment_UpgradeState_Stage = 0
	Deployment_UpgradeState_INITIAL_SYNCING Deployment_UpgradeState_Stage = 1
	Deployment_UpgradeState_SWITCHING       Deployment_UpgradeState_Stage = 2
)

func (Deployment_UpgradeState_Stage) Descriptor

func (Deployment_UpgradeState_Stage) Enum

func (Deployment_UpgradeState_Stage) EnumDescriptor

func (Deployment_UpgradeState_Stage) EnumDescriptor() ([]byte, []int)

Deprecated, Use Deployment_UpgradeState_Stage.ProtoReflect.Descriptor instead.

func (Deployment_UpgradeState_Stage) Number

func (Deployment_UpgradeState_Stage) String

func (Deployment_UpgradeState_Stage) Type

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) CanBeParentless

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor

func (*Descriptor) GetParentResDescriptors

func (d *Descriptor) GetParentResDescriptors() []gotenresource.Descriptor

func (*Descriptor) GetResourceTypeName

func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName

func (*Descriptor) NewGetQuery

func (d *Descriptor) NewGetQuery() gotenresource.GetQuery

func (*Descriptor) NewListQuery

func (d *Descriptor) NewListQuery() gotenresource.ListQuery

func (*Descriptor) NewNameList

func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList

func (*Descriptor) NewParentNameList

func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList

func (*Descriptor) NewParentReferenceList

func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList

func (*Descriptor) NewQueryResultChange

func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange

func (*Descriptor) NewQueryResultSnapshot

func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot

func (*Descriptor) NewReferenceList

func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList

func (*Descriptor) NewResource

func (d *Descriptor) NewResource() gotenresource.Resource

func (*Descriptor) NewResourceChange

func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange

func (*Descriptor) NewResourceChangeList

func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList

func (*Descriptor) NewResourceChangeMap

func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap

func (*Descriptor) NewResourceCursor

func (d *Descriptor) NewResourceCursor() gotenresource.Cursor

func (*Descriptor) NewResourceFieldMask

func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask

func (*Descriptor) NewResourceFilter

func (d *Descriptor) NewResourceFilter() gotenresource.Filter

func (*Descriptor) NewResourceList

func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList

func (*Descriptor) NewResourceMap

func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap

func (*Descriptor) NewResourceName

func (d *Descriptor) NewResourceName() gotenresource.Name

func (*Descriptor) NewResourceOrderBy

func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy

func (*Descriptor) NewResourcePager

func (d *Descriptor) NewResourcePager() gotenresource.PagerQuery

func (*Descriptor) NewSearchQuery

func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery

func (*Descriptor) NewWatchQuery

func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery

func (*Descriptor) ParseFieldPath

func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)

func (*Descriptor) ParseResourceName

func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)

func (*Descriptor) SupportsMetadata

func (d *Descriptor) SupportsMetadata() bool

type Filter

type Filter struct {
	FilterCondition
}

func (*Filter) ConvertToNative

func (filter *Filter) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*Filter) ConvertToType

func (filter *Filter) ConvertToType(typeVal ref.Type) ref.Val

func (*Filter) DecodeFirestore

func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error

func (*Filter) EncodeFirestore

func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*Filter) Equal

func (filter *Filter) Equal(other ref.Val) ref.Val

func (*Filter) Evaluate

func (filter *Filter) Evaluate(res *Deployment) bool

Evaluate is a wrapper on FilterCondition, which also handles nil pointer

func (*Filter) EvaluateRaw

func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool

func (*Filter) FilterSlice

func (filter *Filter) FilterSlice(in []*Deployment) (out []*Deployment)

FilterSlice is a helper for filtering arrays

func (*Filter) GetCondition

func (filter *Filter) GetCondition() FilterCondition

GetCondition is a getter of FilterCondition, which also handles nil pointer

func (*Filter) GetRawCondition

func (filter *Filter) GetRawCondition() gotenresource.FilterCondition

func (*Filter) HasTrait

func (filter *Filter) HasTrait(trait int) bool

func (*Filter) Match

func (filter *Filter) Match(pattern ref.Val) ref.Val

func (*Filter) ParseProtoString

func (filter *Filter) ParseProtoString(data string) error

func (*Filter) ProtoString

func (filter *Filter) ProtoString() (string, error)

func (*Filter) Receive

func (filter *Filter) Receive(function string, overload string, args []ref.Val) ref.Val

func (*Filter) SetFromCliFlag

func (filter *Filter) SetFromCliFlag(raw string) error

func (*Filter) String

func (filter *Filter) String() string

func (*Filter) Type

func (filter *Filter) Type() ref.Type

func (*Filter) TypeName

func (filter *Filter) TypeName() string

func (*Filter) Value

func (filter *Filter) Value() interface{}

type FilterBuilder

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

func NewAndFilterBuilder

func NewAndFilterBuilder() *FilterBuilder

func NewFilterBuilder

func NewFilterBuilder() *FilterBuilder

func NewOrFilterBuilder

func NewOrFilterBuilder() *FilterBuilder

func (*FilterBuilder) Filter

func (b *FilterBuilder) Filter() *Filter

func (*FilterBuilder) Where

func (b *FilterBuilder) Where(opts ...gotenfilter.FilterConditionOption) *filterCndBuilder

func (*FilterBuilder) WherePath

func (b *FilterBuilder) WherePath(fp Deployment_FieldPath, opts ...gotenfilter.FilterConditionOption) *filterCndBuilderAnyPath

func (*FilterBuilder) With

type FilterBuilderOrCondition

type FilterBuilderOrCondition interface {
	// contains filtered or unexported methods
}

type FilterCondition

type FilterCondition interface {
	gotenresource.FilterCondition

	And(...FilterCondition) FilterCondition
	Evaluate(res *Deployment) bool

	// Whether this condition is at least as specific as other.
	// When true, any Deployment that passes this condition will also pass other condition.
	Satisfies(other FilterCondition) bool

	// Checks whether condition specifies given field path
	// Useful for blacklisting protected paths in iam policy conditions
	SpecifiesFieldPath(fp Deployment_FieldPath) bool
	// contains filtered or unexported methods
}

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	Deployment_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *Deployment) bool

func (*FilterConditionCompare) EvaluateRaw

func (cond *FilterConditionCompare) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionCompare) GetOperator

func (*FilterConditionCompare) GetRawFieldPath

func (cond *FilterConditionCompare) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionCompare) GetRawFieldPathValue

func (cond *FilterConditionCompare) GetRawFieldPathValue() gotenobject.FieldPathValue

func (*FilterConditionCompare) Satisfies

func (cond *FilterConditionCompare) Satisfies(other FilterCondition) bool

func (*FilterConditionCompare) SatisfiesRaw

func (cond *FilterConditionCompare) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionCompare) SpecifiesFieldPath

func (cond *FilterConditionCompare) SpecifiesFieldPath(fp Deployment_FieldPath) bool

func (*FilterConditionCompare) SpecifiesRawFieldPath

func (cond *FilterConditionCompare) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionCompare) String

func (cond *FilterConditionCompare) String() string

type FilterConditionComposite

type FilterConditionComposite struct {
	Operator   filterParser.CompositeOperator
	Conditions []FilterCondition
}

func (*FilterConditionComposite) And

func (*FilterConditionComposite) ConditionComposite

func (cond *FilterConditionComposite) ConditionComposite()

func (*FilterConditionComposite) Evaluate

func (cond *FilterConditionComposite) Evaluate(res *Deployment) bool

func (*FilterConditionComposite) EvaluateRaw

func (cond *FilterConditionComposite) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionComposite) GetOperator

func (*FilterConditionComposite) GetSubConditions

func (cond *FilterConditionComposite) GetSubConditions() []gotenresource.FilterCondition

func (*FilterConditionComposite) Satisfies

func (cond *FilterConditionComposite) Satisfies(other FilterCondition) bool

func (*FilterConditionComposite) SatisfiesRaw

func (cond *FilterConditionComposite) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionComposite) SpecifiesFieldPath

func (cond *FilterConditionComposite) SpecifiesFieldPath(fp Deployment_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath

func (cond *FilterConditionComposite) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

func (*FilterConditionContains) And

func (*FilterConditionContains) ConditionContains

func (cond *FilterConditionContains) ConditionContains()

func (*FilterConditionContains) ConditionContainsType

func (cond *FilterConditionContains) ConditionContainsType() gotenresource.ConditionContainsType

func (*FilterConditionContains) Evaluate

func (cond *FilterConditionContains) Evaluate(res *Deployment) bool

func (*FilterConditionContains) EvaluateRaw

func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionContains) GetFieldPath

func (cond *FilterConditionContains) GetFieldPath() Deployment_FieldPath

func (*FilterConditionContains) GetRawFieldPath

func (cond *FilterConditionContains) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionContains) GetRawFieldPathItemValue

func (cond *FilterConditionContains) GetRawFieldPathItemValue() gotenobject.FieldPathArrayItemValue

func (*FilterConditionContains) GetRawFieldPathItemValues

func (cond *FilterConditionContains) GetRawFieldPathItemValues() (res []gotenobject.FieldPathArrayItemValue)

func (*FilterConditionContains) Satisfies

func (cond *FilterConditionContains) Satisfies(other FilterCondition) bool

func (*FilterConditionContains) SatisfiesRaw

func (cond *FilterConditionContains) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionContains) SpecifiesFieldPath

func (cond *FilterConditionContains) SpecifiesFieldPath(fp Deployment_FieldPath) bool

func (*FilterConditionContains) SpecifiesRawFieldPath

func (cond *FilterConditionContains) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionContains) String

func (cond *FilterConditionContains) String() string

type FilterConditionIn

type FilterConditionIn struct {
	Deployment_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *Deployment) bool

func (*FilterConditionIn) EvaluateRaw

func (cond *FilterConditionIn) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionIn) GetRawFieldPath

func (cond *FilterConditionIn) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionIn) GetRawFieldPathArrayOfValues

func (cond *FilterConditionIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues

func (*FilterConditionIn) Satisfies

func (cond *FilterConditionIn) Satisfies(other FilterCondition) bool

func (*FilterConditionIn) SatisfiesRaw

func (cond *FilterConditionIn) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionIn) SpecifiesFieldPath

func (cond *FilterConditionIn) SpecifiesFieldPath(fp Deployment_FieldPath) bool

func (*FilterConditionIn) SpecifiesRawFieldPath

func (cond *FilterConditionIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionIn) String

func (cond *FilterConditionIn) String() string

type FilterConditionIsNaN

type FilterConditionIsNaN struct {
	Not       bool
	FieldPath Deployment_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *Deployment) bool

func (*FilterConditionIsNaN) EvaluateRaw

func (cond *FilterConditionIsNaN) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionIsNaN) GetRawFieldPath

func (cond *FilterConditionIsNaN) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionIsNaN) Satisfies

func (cond *FilterConditionIsNaN) Satisfies(other FilterCondition) bool

func (*FilterConditionIsNaN) SatisfiesRaw

func (cond *FilterConditionIsNaN) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionIsNaN) SpecifiesFieldPath

func (cond *FilterConditionIsNaN) SpecifiesFieldPath(fp Deployment_FieldPath) bool

func (*FilterConditionIsNaN) SpecifiesRawFieldPath

func (cond *FilterConditionIsNaN) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionIsNaN) String

func (cond *FilterConditionIsNaN) String() string

type FilterConditionIsNull

type FilterConditionIsNull struct {
	Not       bool
	FieldPath Deployment_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *Deployment) bool

func (*FilterConditionIsNull) EvaluateRaw

func (cond *FilterConditionIsNull) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionIsNull) GetRawFieldPath

func (cond *FilterConditionIsNull) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionIsNull) NotNull

func (cond *FilterConditionIsNull) NotNull() bool

func (*FilterConditionIsNull) Satisfies

func (cond *FilterConditionIsNull) Satisfies(other FilterCondition) bool

func (*FilterConditionIsNull) SatisfiesRaw

func (cond *FilterConditionIsNull) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionIsNull) SpecifiesFieldPath

func (cond *FilterConditionIsNull) SpecifiesFieldPath(fp Deployment_FieldPath) bool

func (*FilterConditionIsNull) SpecifiesRawFieldPath

func (cond *FilterConditionIsNull) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionIsNull) String

func (cond *FilterConditionIsNull) String() string

type FilterConditionNot

type FilterConditionNot struct {
	FilterCondition
}

func (*FilterConditionNot) And

func (*FilterConditionNot) ConditionNot

func (cond *FilterConditionNot) ConditionNot()

func (*FilterConditionNot) Evaluate

func (cond *FilterConditionNot) Evaluate(res *Deployment) bool

func (*FilterConditionNot) EvaluateRaw

func (cond *FilterConditionNot) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionNot) GetSubCondition

func (cond *FilterConditionNot) GetSubCondition() gotenresource.FilterCondition

func (*FilterConditionNot) Satisfies

func (cond *FilterConditionNot) Satisfies(other FilterCondition) bool

func (*FilterConditionNot) SatisfiesRaw

func (cond *FilterConditionNot) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionNot) SpecifiesFieldPath

func (cond *FilterConditionNot) SpecifiesFieldPath(fp Deployment_FieldPath) bool

func (*FilterConditionNot) SpecifiesRawFieldPath

func (cond *FilterConditionNot) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionNot) String

func (cond *FilterConditionNot) String() string

type FilterConditionNotIn

type FilterConditionNotIn struct {
	Deployment_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *Deployment) bool

func (*FilterConditionNotIn) EvaluateRaw

func (cond *FilterConditionNotIn) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionNotIn) GetRawFieldPath

func (cond *FilterConditionNotIn) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionNotIn) GetRawFieldPathArrayOfValues

func (cond *FilterConditionNotIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues

func (*FilterConditionNotIn) Satisfies

func (cond *FilterConditionNotIn) Satisfies(other FilterCondition) bool

func (*FilterConditionNotIn) SatisfiesRaw

func (cond *FilterConditionNotIn) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionNotIn) SpecifiesFieldPath

func (cond *FilterConditionNotIn) SpecifiesFieldPath(fp Deployment_FieldPath) bool

func (*FilterConditionNotIn) SpecifiesRawFieldPath

func (cond *FilterConditionNotIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionNotIn) String

func (cond *FilterConditionNotIn) String() string

type GetQuery

type GetQuery struct {
	Reference *Reference
	Mask      *Deployment_FieldMask
}

func (*GetQuery) GetFieldMask

func (q *GetQuery) GetFieldMask() gotenobject.FieldMask

func (*GetQuery) GetReference

func (q *GetQuery) GetReference() gotenresource.Reference

func (*GetQuery) GetResourceDescriptor

func (q *GetQuery) GetResourceDescriptor() gotenresource.Descriptor

func (*GetQuery) GotenQuery

func (q *GetQuery) GotenQuery()

func (*GetQuery) SetFieldMask

func (q *GetQuery) SetFieldMask(mask gotenobject.FieldMask)

func (*GetQuery) SetReference

func (q *GetQuery) SetReference(ref gotenresource.Reference)

func (*GetQuery) String

func (q *GetQuery) String() string

type ListQuery

type ListQuery struct {
	Filter         *Filter
	Pager          *PagerQuery
	Mask           *Deployment_FieldMask
	WithPagingInfo bool
}

func (*ListQuery) GetFieldMask

func (q *ListQuery) GetFieldMask() gotenobject.FieldMask

func (*ListQuery) GetFilter

func (q *ListQuery) GetFilter() gotenresource.Filter

func (*ListQuery) GetPager

func (q *ListQuery) GetPager() gotenresource.PagerQuery

func (*ListQuery) GetResourceDescriptor

func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor

func (*ListQuery) GetWithPagingInfo

func (q *ListQuery) GetWithPagingInfo() bool

func (*ListQuery) GotenQuery

func (q *ListQuery) GotenQuery()

func (*ListQuery) SetFieldMask

func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)

func (*ListQuery) SetFilter

func (q *ListQuery) SetFilter(filter gotenresource.Filter)

func (*ListQuery) SetPager

func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)

func (*ListQuery) SetWithPagingInfo

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type Name

type Name struct {
	ParentName
	DeploymentId string `firestore:"deploymentId"`
}

func MustParseName

func MustParseName(name string) *Name

func ParseName

func ParseName(name string) (*Name, error)

func ParseNameOrId

func ParseNameOrId(nameOrId string) (*Name, error)

func (*Name) AsRawReference

func (name *Name) AsRawReference() gotenresource.Reference

func (*Name) AsReference

func (name *Name) AsReference() *Reference

func (*Name) ConvertToNative

func (name *Name) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*Name) ConvertToType

func (name *Name) ConvertToType(typeVal ref.Type) ref.Val

func (*Name) Equal

func (name *Name) Equal(other ref.Val) ref.Val

func (*Name) FullyQualifiedName

func (name *Name) FullyQualifiedName() (string, error)

func (*Name) GetIParentName

func (name *Name) GetIParentName() gotenresource.Name

func (*Name) GetIUnderlyingParentName

func (name *Name) GetIUnderlyingParentName() gotenresource.Name

func (*Name) GetIdParts

func (name *Name) GetIdParts() map[string]string

func (*Name) GetPattern

func (name *Name) GetPattern() gotenresource.NamePattern

func (*Name) GetResourceDescriptor

func (name *Name) GetResourceDescriptor() gotenresource.Descriptor

func (*Name) GetSegments

func (name *Name) GetSegments() gotenresource.NameSegments

func (*Name) GetServiceName

func (name *Name) GetServiceName() *service.Name

func (*Name) GotenEqual

func (name *Name) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*Name) HasTrait

func (name *Name) HasTrait(trait int) bool

func (*Name) IsFullyQualified

func (name *Name) IsFullyQualified() bool

func (*Name) IsSpecified

func (name *Name) IsSpecified() bool

func (*Name) Match

func (name *Name) Match(pattern ref.Val) ref.Val

func (*Name) Matches

func (name *Name) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*Name) ParseProtoString

func (name *Name) ParseProtoString(data string) error

func (*Name) ProtoString

func (name *Name) ProtoString() (string, error)

func (*Name) Receive

func (name *Name) Receive(function string, overload string, args []ref.Val) ref.Val

func (*Name) SetFromCliFlag

func (name *Name) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*Name) SetFromSegments

func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error

func (*Name) String

func (name *Name) String() string

func (*Name) Type

func (name *Name) Type() ref.Type

func (*Name) TypeName

func (name *Name) TypeName() string

func (*Name) Value

func (name *Name) Value() interface{}

type NameBuilder

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

func NewNameBuilder

func NewNameBuilder() *NameBuilder

func (*NameBuilder) Name

func (b *NameBuilder) Name() *Name

func (*NameBuilder) Parent

func (b *NameBuilder) Parent() *ParentName

func (*NameBuilder) ParentReference

func (b *NameBuilder) ParentReference() *ParentReference

func (*NameBuilder) Reference

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

func (b *NameBuilder) SetId(id string) *NameBuilder

func (*NameBuilder) SetService

func (b *NameBuilder) SetService(parent *service.Name) *NameBuilder

func (*NameBuilder) SetServiceId

func (b *NameBuilder) SetServiceId(id string) *NameBuilder

type NamePattern

type NamePattern struct {
	Pattern gotenresource.NamePattern `firestore:"pattern"`
}

type OrderBy

type OrderBy struct {
	OrderByFields []OrderByField
}

OrderBy Is string encoded Custom Protobuf type, which handles "order_by" field order_by consists of coma delimited OrderBy specs, which denote ordering priority, e.g. "state.value asc, state.capacity desc"

func (*OrderBy) Compare

func (orderBy *OrderBy) Compare(left, right *Deployment) int

func (*OrderBy) CompareRaw

func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *Deployment_FieldMask

func (*OrderBy) GetOrderByFields

func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField

func (*OrderBy) GetRawFieldMask

func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask

func (*OrderBy) InsertSorted

func (orderBy *OrderBy) InsertSorted(sorted DeploymentList, elem *Deployment) (DeploymentList, int)

func (*OrderBy) InsertSortedRaw

func (orderBy *OrderBy) InsertSortedRaw(sorted gotenresource.ResourceList, elem gotenresource.Resource) (gotenresource.ResourceList, int)

func (*OrderBy) ParseProtoString

func (orderBy *OrderBy) ParseProtoString(data string) error

func (*OrderBy) ProtoString

func (orderBy *OrderBy) ProtoString() (string, error)

func (*OrderBy) SetFromCliFlag

func (orderBy *OrderBy) SetFromCliFlag(raw string) error

func (*OrderBy) Sort

func (orderBy *OrderBy) Sort(results DeploymentList)

func (*OrderBy) SortRaw

func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath Deployment_FieldPath
	Direction gotenresource.OrderDirection
}

OrderByField is single item in order_by specification it's string format is composed of 2 white-space separated values: - fieldPath and direction, e.g. "state.capacity desc". if direction is not provided, it defaults to "asc" (ascending)

func (*OrderByField) CompareWithDirection

func (orderByFld *OrderByField) CompareWithDirection(left, right *Deployment) int

func (*OrderByField) GetDirection

func (orderByFld *OrderByField) GetDirection() gotenresource.OrderDirection

func (*OrderByField) GetFieldPath

func (orderByFld *OrderByField) GetFieldPath() gotenobject.FieldPath

type PagerCursor

type PagerCursor struct {
	CursorValue   gotenresource.CursorValue
	Inclusion     gotenresource.CursorInclusion
	PageDirection gotenresource.PageDirection
}

PagerCursor is protobuf Custom Type, which (de)serializes "string page_token" for API List processing Database adapter implementation must use this cursor when Paginating list views Token is composed of 3 values (dot separated in serialized form) - CursorValue: Backend-specific value of the cursor. - PageDirection: either l (left) or r (right), which hints DB Adapter whether Snapshot marks Start or End of result - Inclusion: either i (inclusive) or e (exclusive) - Whether cursor marks exact point or right before/after (depending on direction)

func (*PagerCursor) GetInclusion

func (cursor *PagerCursor) GetInclusion() gotenresource.CursorInclusion

func (*PagerCursor) GetPageDirection

func (cursor *PagerCursor) GetPageDirection() gotenresource.PageDirection

func (*PagerCursor) GetValue

func (cursor *PagerCursor) GetValue() gotenresource.CursorValue

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

func (cursor *PagerCursor) ParseProtoString(data string) (err error)

func (*PagerCursor) ProtoString

func (cursor *PagerCursor) ProtoString() (string, error)

func (*PagerCursor) SetCursorValue

func (cursor *PagerCursor) SetCursorValue(value gotenresource.CursorValue)

func (*PagerCursor) SetFromCliFlag

func (cursor *PagerCursor) SetFromCliFlag(raw string) error

func (*PagerCursor) SetInclusion

func (cursor *PagerCursor) SetInclusion(inclusion gotenresource.CursorInclusion)

func (*PagerCursor) SetPageDirection

func (cursor *PagerCursor) SetPageDirection(direction gotenresource.PageDirection)

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

type PagerQuery struct {
	OrderBy     *OrderBy
	Cursor      *PagerCursor
	Limit       int
	PeekForward bool
}

PagerQuery is main struct used for assisting server and database to perform Pagination

func MakePagerQuery

func MakePagerQuery(orderBy *OrderBy, cursor *PagerCursor, pageSize int32, peekForward bool) *PagerQuery

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

func (p *PagerQuery) GetCursor() gotenresource.Cursor

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

func (p *PagerQuery) GetOrderBy() gotenresource.OrderBy

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

func (p *PagerQuery) GetResourceDescriptor() gotenresource.Descriptor

func (*PagerQuery) PageDirection

func (p *PagerQuery) PageDirection() gotenresource.PageDirection

func (*PagerQuery) SetCursor

func (p *PagerQuery) SetCursor(cursor gotenresource.Cursor)

func (*PagerQuery) SetLimit

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy

func (p *PagerQuery) SetOrderBy(orderBy gotenresource.OrderBy)

func (*PagerQuery) SetPageDirection

func (p *PagerQuery) SetPageDirection(direction gotenresource.PageDirection)

func (*PagerQuery) SetPeekForward

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

type ParentName struct {
	NamePattern
	ServiceId string `firestore:"serviceId"`
}

func MustParseParentName

func MustParseParentName(name string) *ParentName

func ParseParentName

func ParseParentName(name string) (*ParentName, error)

func (*ParentName) AsRawReference

func (name *ParentName) AsRawReference() gotenresource.Reference

func (*ParentName) AsReference

func (name *ParentName) AsReference() *ParentReference

func (*ParentName) ConvertToNative

func (name *ParentName) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*ParentName) ConvertToType

func (name *ParentName) ConvertToType(typeVal ref.Type) ref.Val

func (*ParentName) DescendsFrom

func (name *ParentName) DescendsFrom(ancestor string) bool

func (*ParentName) Equal

func (name *ParentName) Equal(other ref.Val) ref.Val

func (*ParentName) FullyQualifiedName

func (name *ParentName) FullyQualifiedName() (string, error)

func (*ParentName) GetIParentName

func (name *ParentName) GetIParentName() gotenresource.Name

func (*ParentName) GetIUnderlyingParentName

func (name *ParentName) GetIUnderlyingParentName() gotenresource.Name

func (*ParentName) GetIdParts

func (name *ParentName) GetIdParts() map[string]string

func (*ParentName) GetPattern

func (name *ParentName) GetPattern() gotenresource.NamePattern

func (*ParentName) GetResourceDescriptor

func (name *ParentName) GetResourceDescriptor() gotenresource.Descriptor

func (*ParentName) GetSegments

func (name *ParentName) GetSegments() gotenresource.NameSegments

func (*ParentName) GetServiceName

func (name *ParentName) GetServiceName() *service.Name

func (*ParentName) GotenEqual

func (name *ParentName) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*ParentName) HasTrait

func (name *ParentName) HasTrait(trait int) bool

func (*ParentName) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

func (*ParentName) Match

func (name *ParentName) Match(pattern ref.Val) ref.Val

func (*ParentName) Matches

func (name *ParentName) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*ParentName) ParseProtoString

func (name *ParentName) ParseProtoString(data string) error

func (*ParentName) ProtoString

func (name *ParentName) ProtoString() (string, error)

func (*ParentName) Receive

func (name *ParentName) Receive(function string, overload string, args []ref.Val) ref.Val

func (*ParentName) SetFromCliFlag

func (name *ParentName) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*ParentName) SetFromSegments

func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error

func (*ParentName) String

func (name *ParentName) String() string

func (*ParentName) Type

func (name *ParentName) Type() ref.Type

func (*ParentName) TypeName

func (name *ParentName) TypeName() string

func (*ParentName) Value

func (name *ParentName) Value() interface{}

type ParentReference

type ParentReference struct {
	ParentName
	// contains filtered or unexported fields
}

func MakeParentReference

func MakeParentReference(name *ParentName) (*ParentReference, error)

func MustParseParentReference

func MustParseParentReference(name string) *ParentReference

func ParseParentReference

func ParseParentReference(name string) (*ParentReference, error)

func (*ParentReference) ClearCached

func (ref *ParentReference) ClearCached()

func (*ParentReference) GetIParentName

func (ref *ParentReference) GetIParentName() gotenresource.Name

func (*ParentReference) GetIUnderlyingParentName

func (ref *ParentReference) GetIUnderlyingParentName() gotenresource.Name

func (*ParentReference) GetIdParts

func (ref *ParentReference) GetIdParts() map[string]string

func (*ParentReference) GetPattern

func (ref *ParentReference) GetPattern() gotenresource.NamePattern

func (*ParentReference) GetRawResource

func (ref *ParentReference) GetRawResource() gotenresource.Resource

func (*ParentReference) GetResourceDescriptor

func (ref *ParentReference) GetResourceDescriptor() gotenresource.Descriptor

func (*ParentReference) GetSegments

func (ref *ParentReference) GetSegments() gotenresource.NameSegments

func (*ParentReference) GetService

func (ref *ParentReference) GetService() *service.Service

func (*ParentReference) GetServiceReference

func (ref *ParentReference) GetServiceReference() *service.Reference

func (*ParentReference) GetUnderlyingReference

func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference

func (*ParentReference) GotenEqual

func (ref *ParentReference) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*ParentReference) IsFullyQualified

func (ref *ParentReference) IsFullyQualified() bool

func (*ParentReference) IsSpecified

func (ref *ParentReference) IsSpecified() bool

func (*ParentReference) Matches

func (name *ParentReference) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*ParentReference) ParseProtoString

func (ref *ParentReference) ParseProtoString(data string) error

func (*ParentReference) ProtoString

func (ref *ParentReference) ProtoString() (string, error)

func (*ParentReference) ResolveRaw

func (ref *ParentReference) ResolveRaw(res gotenresource.Resource) error

func (*ParentReference) Resolved

func (ref *ParentReference) Resolved() bool

func (*ParentReference) SetFromCliFlag

func (ref *ParentReference) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*ParentReference) String

func (ref *ParentReference) String() string

type QueryResultChange

type QueryResultChange struct {
	Changes        []*DeploymentChange
	PrevPageCursor *PagerCursor
	NextPageCursor *PagerCursor
	ResumeToken    string
	IsCurrent      bool
	IsHardReset    bool
	IsSoftReset    bool
	SnapshotSize   int64
}

func (*QueryResultChange) GetIsCurrent

func (qr *QueryResultChange) GetIsCurrent() bool

func (*QueryResultChange) GetIsHardReset

func (qr *QueryResultChange) GetIsHardReset() bool

func (*QueryResultChange) GetIsSoftReset

func (qr *QueryResultChange) GetIsSoftReset() bool

func (*QueryResultChange) GetNextPageCursor

func (qr *QueryResultChange) GetNextPageCursor() gotenresource.Cursor

func (*QueryResultChange) GetPrevPageCursor

func (qr *QueryResultChange) GetPrevPageCursor() gotenresource.Cursor

func (*QueryResultChange) GetResults

func (*QueryResultChange) GetResumeToken

func (qr *QueryResultChange) GetResumeToken() string

func (*QueryResultChange) GetSnapshotSize

func (qr *QueryResultChange) GetSnapshotSize() int64

func (*QueryResultChange) SetCursors

func (qr *QueryResultChange) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)

func (*QueryResultChange) SetIsCurrent

func (qr *QueryResultChange) SetIsCurrent()

func (*QueryResultChange) SetIsHardReset

func (qr *QueryResultChange) SetIsHardReset()

func (*QueryResultChange) SetIsSoftReset

func (qr *QueryResultChange) SetIsSoftReset()

func (*QueryResultChange) SetResults

func (qr *QueryResultChange) SetResults(results gotenresource.ResourceChangeList)

func (*QueryResultChange) SetResumeToken

func (qr *QueryResultChange) SetResumeToken(token string)

func (*QueryResultChange) SetSnapshotSize

func (qr *QueryResultChange) SetSnapshotSize(size int64)

type QueryResultSnapshot

type QueryResultSnapshot struct {
	Deployments       []*Deployment
	PrevPageCursor    *PagerCursor
	NextPageCursor    *PagerCursor
	TotalResultsCount int32
	CurrentOffset     int32
}

func (*QueryResultSnapshot) GetNextPageCursor

func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor

func (*QueryResultSnapshot) GetPagingInfo

func (qr *QueryResultSnapshot) GetPagingInfo() (totalCount, offset int32)

func (*QueryResultSnapshot) GetPrevPageCursor

func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor

func (*QueryResultSnapshot) GetResults

func (*QueryResultSnapshot) SetCursors

func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)

func (*QueryResultSnapshot) SetPagingInfo

func (qr *QueryResultSnapshot) SetPagingInfo(totalCount, offset int32)

func (*QueryResultSnapshot) SetResults

func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)

type Reference

type Reference struct {
	Name
	// contains filtered or unexported fields
}

func MakeReference

func MakeReference(name *Name, deployment *Deployment) (*Reference, error)

func MustParseReference

func MustParseReference(name string) *Reference

func ParseReference

func ParseReference(name string) (*Reference, error)

func (*Reference) ClearCached

func (ref *Reference) ClearCached()

func (*Reference) FullyQualifiedName

func (ref *Reference) FullyQualifiedName() (string, error)

func (*Reference) GetDeployment

func (ref *Reference) GetDeployment() *Deployment

func (*Reference) GetIParentName

func (ref *Reference) GetIParentName() gotenresource.Name

func (*Reference) GetIUnderlyingParentName

func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name

func (*Reference) GetIdParts

func (ref *Reference) GetIdParts() map[string]string

func (*Reference) GetPattern

func (ref *Reference) GetPattern() gotenresource.NamePattern

func (*Reference) GetRawResource

func (ref *Reference) GetRawResource() gotenresource.Resource

func (*Reference) GetResourceDescriptor

func (ref *Reference) GetResourceDescriptor() gotenresource.Descriptor

func (*Reference) GetSegments

func (ref *Reference) GetSegments() gotenresource.NameSegments

func (*Reference) GotenEqual

func (ref *Reference) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*Reference) IsFullyQualified

func (ref *Reference) IsFullyQualified() bool

func (*Reference) IsSpecified

func (ref *Reference) IsSpecified() bool

func (*Reference) Matches

func (name *Reference) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*Reference) ParseProtoString

func (ref *Reference) ParseProtoString(data string) error

func (*Reference) ProtoString

func (ref *Reference) ProtoString() (string, error)

func (*Reference) Resolve

func (ref *Reference) Resolve(resolved *Deployment)

func (*Reference) ResolveRaw

func (ref *Reference) ResolveRaw(res gotenresource.Resource) error

func (*Reference) Resolved

func (ref *Reference) Resolved() bool

func (*Reference) SetFromCliFlag

func (ref *Reference) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*Reference) String

func (ref *Reference) String() string

type WatchQuery

type WatchQuery struct {
	ListQuery
	WatchType    watch_type.WatchType
	ChunkSize    int
	ResumeToken  string
	StartingTime *timestamppb.Timestamp
}

func (*WatchQuery) GetMaximumChunkSize

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken

func (q *WatchQuery) GetResumeToken() string

func (*WatchQuery) GetStartingTime

func (q *WatchQuery) GetStartingTime() *timestamppb.Timestamp

func (*WatchQuery) GetWatchType

func (q *WatchQuery) GetWatchType() watch_type.WatchType

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetStartingTime

func (q *WatchQuery) SetStartingTime(startingTime *timestamppb.Timestamp)

func (*WatchQuery) SetWatchType

func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)

func (*WatchQuery) String

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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