multi_region_policy

package
v0.10.24 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiRegionPolicy

type MultiRegionPolicy struct {

	// List of regions available in the scope.
	// It is forbidden to create resource within given scope outside allowed regions.
	EnabledRegions []string `` /* 130-byte string literal not displayed */
	// Must be within restricted_regions. Defines region handling CUD requests for
	// resources not attached to any region.
	DefaultControlRegion string `` /* 156-byte string literal not displayed */
	// List of criteria according to which synchronization is disabled.
	CriteriaForDisabledSync []*MultiRegionPolicy_CriteriaForDisabledSync `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

MultiRegionPolicy is an object defining relation between service in multi-region environment and resource holding this policy (as one of its fields). Policy ought to be used for high-level resources like "Project" or "Organization" which form top elements in scopes. Policy then, attached to such a high level resource defines syncing policies for all kid resources and limits their geographical belonging (kid resources can belong only to the region allowed by a policy). Note: While policy governs all resources under policy holder resource, policy holder resource itself is not subject to this policy. This rule allows information about policy spread properly across regions and enables routing.

func (*MultiRegionPolicy) Clone

func (*MultiRegionPolicy) CloneRaw

func (*MultiRegionPolicy) Descriptor

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

Deprecated, Use MultiRegionPolicy.ProtoReflect.Descriptor instead.

func (*MultiRegionPolicy) GetCriteriaForDisabledSync

func (m *MultiRegionPolicy) GetCriteriaForDisabledSync() []*MultiRegionPolicy_CriteriaForDisabledSync

func (*MultiRegionPolicy) GetDefaultControlRegion

func (m *MultiRegionPolicy) GetDefaultControlRegion() string

func (*MultiRegionPolicy) GetEnabledRegions

func (m *MultiRegionPolicy) GetEnabledRegions() []string

func (*MultiRegionPolicy) GotenMessage

func (*MultiRegionPolicy) GotenMessage()

func (*MultiRegionPolicy) GotenObjectExt

func (o *MultiRegionPolicy) GotenObjectExt()

func (*MultiRegionPolicy) GotenValidate

func (obj *MultiRegionPolicy) GotenValidate() error

func (*MultiRegionPolicy) MakeDiffFieldMask

func (o *MultiRegionPolicy) MakeDiffFieldMask(other *MultiRegionPolicy) *MultiRegionPolicy_FieldMask

func (*MultiRegionPolicy) MakeFullFieldMask

func (o *MultiRegionPolicy) MakeFullFieldMask() *MultiRegionPolicy_FieldMask

func (*MultiRegionPolicy) MakeRawDiffFieldMask

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

func (*MultiRegionPolicy) MakeRawFullFieldMask

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

func (*MultiRegionPolicy) Marshal

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

func (*MultiRegionPolicy) MarshalJSON

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

func (*MultiRegionPolicy) Merge

func (o *MultiRegionPolicy) Merge(source *MultiRegionPolicy)

func (*MultiRegionPolicy) MergeRaw

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

func (*MultiRegionPolicy) ProtoMessage

func (*MultiRegionPolicy) ProtoMessage()

func (*MultiRegionPolicy) ProtoReflect

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

func (*MultiRegionPolicy) Reset

func (m *MultiRegionPolicy) Reset()

func (*MultiRegionPolicy) SetCriteriaForDisabledSync

func (m *MultiRegionPolicy) SetCriteriaForDisabledSync(fv []*MultiRegionPolicy_CriteriaForDisabledSync)

func (*MultiRegionPolicy) SetDefaultControlRegion

func (m *MultiRegionPolicy) SetDefaultControlRegion(fv string)

func (*MultiRegionPolicy) SetEnabledRegions

func (m *MultiRegionPolicy) SetEnabledRegions(fv []string)

func (*MultiRegionPolicy) String

func (m *MultiRegionPolicy) String() string

func (*MultiRegionPolicy) Unmarshal

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

func (*MultiRegionPolicy) UnmarshalJSON

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

type MultiRegionPolicyCriteriaForDisabledSyncFieldPathBuilder

type MultiRegionPolicyCriteriaForDisabledSyncFieldPathBuilder struct{}

func (MultiRegionPolicyCriteriaForDisabledSyncFieldPathBuilder) DestRegion

func (MultiRegionPolicyCriteriaForDisabledSyncFieldPathBuilder) SourceRegion

type MultiRegionPolicyCriteriaForDisabledSync_FieldPath

type MultiRegionPolicyCriteriaForDisabledSync_FieldPath interface {
	gotenobject.FieldPath
	Selector() MultiRegionPolicyCriteriaForDisabledSync_FieldPathSelector
	Get(source *MultiRegionPolicy_CriteriaForDisabledSync) []interface{}
	GetSingle(source *MultiRegionPolicy_CriteriaForDisabledSync) (interface{}, bool)
	ClearValue(item *MultiRegionPolicy_CriteriaForDisabledSync)

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

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

func MustParseMultiRegionPolicyCriteriaForDisabledSync_FieldPath

func MustParseMultiRegionPolicyCriteriaForDisabledSync_FieldPath(rawField string) MultiRegionPolicyCriteriaForDisabledSync_FieldPath

func ParseMultiRegionPolicyCriteriaForDisabledSync_FieldPath

func ParseMultiRegionPolicyCriteriaForDisabledSync_FieldPath(rawField string) (MultiRegionPolicyCriteriaForDisabledSync_FieldPath, error)

type MultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayItemValue

type MultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	MultiRegionPolicyCriteriaForDisabledSync_FieldPath
	ContainsValue(*MultiRegionPolicy_CriteriaForDisabledSync) bool
}

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

func MustParseMultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayItemValue

func MustParseMultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayItemValue(pathStr, valueStr string) MultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayItemValue

func ParseMultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayItemValue

func ParseMultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayItemValue(pathStr, valueStr string) (MultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayItemValue, error)

ParseMultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type MultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayOfValues

type MultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	MultiRegionPolicyCriteriaForDisabledSync_FieldPath
}

MultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayOfValues allows storing slice of values for CriteriaForDisabledSync fields according to their type

func MustParseMultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayOfValues

func MustParseMultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayOfValues(pathStr, valuesStr string) MultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayOfValues

func ParseMultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayOfValues

func ParseMultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayOfValues(pathStr, valuesStr string) (MultiRegionPolicyCriteriaForDisabledSync_FieldPathArrayOfValues, error)

type MultiRegionPolicyCriteriaForDisabledSync_FieldPathSelector

type MultiRegionPolicyCriteriaForDisabledSync_FieldPathSelector int32
const (
	MultiRegionPolicyCriteriaForDisabledSync_FieldPathSelectorResourceTypeName MultiRegionPolicyCriteriaForDisabledSync_FieldPathSelector = 0
	MultiRegionPolicyCriteriaForDisabledSync_FieldPathSelectorSourceRegion     MultiRegionPolicyCriteriaForDisabledSync_FieldPathSelector = 1
	MultiRegionPolicyCriteriaForDisabledSync_FieldPathSelectorDestRegion       MultiRegionPolicyCriteriaForDisabledSync_FieldPathSelector = 2
)

func (MultiRegionPolicyCriteriaForDisabledSync_FieldPathSelector) String

type MultiRegionPolicyCriteriaForDisabledSync_FieldPathValue

type MultiRegionPolicyCriteriaForDisabledSync_FieldPathValue interface {
	MultiRegionPolicyCriteriaForDisabledSync_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **MultiRegionPolicy_CriteriaForDisabledSync)
	CompareWith(*MultiRegionPolicy_CriteriaForDisabledSync) (cmp int, comparable bool)
}

MultiRegionPolicyCriteriaForDisabledSync_FieldPathValue allows storing values for CriteriaForDisabledSync fields according to their type

func MustParseMultiRegionPolicyCriteriaForDisabledSync_FieldPathValue

func MustParseMultiRegionPolicyCriteriaForDisabledSync_FieldPathValue(pathStr, valueStr string) MultiRegionPolicyCriteriaForDisabledSync_FieldPathValue

func ParseMultiRegionPolicyCriteriaForDisabledSync_FieldPathValue

func ParseMultiRegionPolicyCriteriaForDisabledSync_FieldPathValue(pathStr, valueStr string) (MultiRegionPolicyCriteriaForDisabledSync_FieldPathValue, error)

type MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath

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

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) ClearValue

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) ClearValueRaw

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) Get

Get returns all values pointed by specific field from source MultiRegionPolicy_CriteriaForDisabledSync

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) GetDefault

GetDefault returns a default value of the field type

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) GetRaw

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source MultiRegionPolicy_CriteriaForDisabledSync

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) GetSingleRaw

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

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) Selector

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) String

String returns path representation in proto convention

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) WithIArrayItemValue

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) WithIArrayOfValues

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) WithIValue

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIArrayItemValue

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIArrayOfValues

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIValue

type MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue

type MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue struct {
	MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetRawItemValue

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

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetSingle

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetSingleRaw

type MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues

type MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues struct {
	MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsDestRegionArrayOfValues

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsResourceTypeNameArrayOfValues

func (fpaov *MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsResourceTypeNameArrayOfValues() ([]string, bool)

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsSourceRegionArrayOfValues

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) GetRawValues

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

type MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathValue

type MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathValue struct {
	MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsDestRegionValue

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsResourceTypeNameValue

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsSourceRegionValue

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathValue' with the value under path in 'MultiRegionPolicy_CriteriaForDisabledSync'.

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathValue) CompareWithRaw

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathValue) GetRawValue

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

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object CriteriaForDisabledSync

func (*MultiRegionPolicyCriteriaForDisabledSync_FieldTerminalPathValue) SetToRaw

type MultiRegionPolicyFieldPathBuilder

type MultiRegionPolicyFieldPathBuilder struct{}

func NewMultiRegionPolicyFieldPathBuilder

func NewMultiRegionPolicyFieldPathBuilder() MultiRegionPolicyFieldPathBuilder

func (MultiRegionPolicyFieldPathBuilder) CriteriaForDisabledSync

func (MultiRegionPolicyFieldPathBuilder) DefaultControlRegion

func (MultiRegionPolicyFieldPathBuilder) EnabledRegions

type MultiRegionPolicyPathSelectorCriteriaForDisabledSync

type MultiRegionPolicyPathSelectorCriteriaForDisabledSync struct{}

func (MultiRegionPolicyPathSelectorCriteriaForDisabledSync) DestRegion

func (MultiRegionPolicyPathSelectorCriteriaForDisabledSync) FieldPath

func (MultiRegionPolicyPathSelectorCriteriaForDisabledSync) SourceRegion

func (MultiRegionPolicyPathSelectorCriteriaForDisabledSync) WithArrayOfValues

func (MultiRegionPolicyPathSelectorCriteriaForDisabledSync) WithValue

type MultiRegionPolicyPathSelectorCriteriaForDisabledSyncDestRegion

type MultiRegionPolicyPathSelectorCriteriaForDisabledSyncDestRegion struct{}

func (MultiRegionPolicyPathSelectorCriteriaForDisabledSyncDestRegion) FieldPath

func (MultiRegionPolicyPathSelectorCriteriaForDisabledSyncDestRegion) WithArrayOfValues

func (MultiRegionPolicyPathSelectorCriteriaForDisabledSyncDestRegion) WithValue

type MultiRegionPolicyPathSelectorCriteriaForDisabledSyncResourceTypeName

type MultiRegionPolicyPathSelectorCriteriaForDisabledSyncResourceTypeName struct{}

func (MultiRegionPolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) FieldPath

func (MultiRegionPolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) WithArrayOfValues

func (MultiRegionPolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) WithValue

type MultiRegionPolicyPathSelectorCriteriaForDisabledSyncSourceRegion

type MultiRegionPolicyPathSelectorCriteriaForDisabledSyncSourceRegion struct{}

func (MultiRegionPolicyPathSelectorCriteriaForDisabledSyncSourceRegion) FieldPath

func (MultiRegionPolicyPathSelectorCriteriaForDisabledSyncSourceRegion) WithArrayOfValues

func (MultiRegionPolicyPathSelectorCriteriaForDisabledSyncSourceRegion) WithValue

type MultiRegionPolicyPathSelectorDefaultControlRegion

type MultiRegionPolicyPathSelectorDefaultControlRegion struct{}

func (MultiRegionPolicyPathSelectorDefaultControlRegion) FieldPath

func (MultiRegionPolicyPathSelectorDefaultControlRegion) WithArrayOfValues

func (MultiRegionPolicyPathSelectorDefaultControlRegion) WithValue

type MultiRegionPolicyPathSelectorEnabledRegions

type MultiRegionPolicyPathSelectorEnabledRegions struct{}

func (MultiRegionPolicyPathSelectorEnabledRegions) FieldPath

func (MultiRegionPolicyPathSelectorEnabledRegions) WithArrayOfValues

func (MultiRegionPolicyPathSelectorEnabledRegions) WithItemValue

func (MultiRegionPolicyPathSelectorEnabledRegions) WithValue

type MultiRegionPolicy_CriteriaForDisabledSync

type MultiRegionPolicy_CriteriaForDisabledSync struct {

	// Fully qualified name of a resource. If not provided, all are considered Required format:
	// "${SERVICE_DOMAIN}/${RESOURCE_SINGLE_NAME_CAMEL}, for example: "ntt.edgelq.com/Device"
	ResourceTypeName string `` /* 140-byte string literal not displayed */
	// Source region indicates that this rule prevents syncing into this region. If left blank, then all regions are
	// considered.
	SourceRegion string `protobuf:"bytes,2,opt,name=source_region,json=sourceRegion,proto3" json:"source_region,omitempty" firestore:"sourceRegion"`
	// Dest region indicates that this rule prevents syncing from this region. If left blank, then all regions are
	// considered.
	DestRegion string `protobuf:"bytes,3,opt,name=dest_region,json=destRegion,proto3" json:"dest_region,omitempty" firestore:"destRegion"`
	// contains filtered or unexported fields
}

CriteriaForDisabledSync is a rule preventing data synchronization. By default, everything within Policy scope is synced (unless schema tells otherwise). However, within single scope to which this policy is attached, it is possible to blacklist synchronization for specific criteria. Examples: { resource_type_name: "ntt.edgelq.com/Device", sourceRegion: "France" } -> will make Devices in France private { resource_type_name: "ntt.edgelq.com/Device", destRegion: "HongKong" } -> will prevent from syncing Devices INTO HongKong region { resource_type_name: "ntt.edgelq.com/Device", sourceRegion: "Germany", destRegion: "HongKong" } -> Will block syncing of Devices from Germany to HongKong. { resource_type_name: "ntt.edgelq.com/Pod" } -> will make Pods in all regions private { region: "Japan" } -> will make all resources in Japan private

func (*MultiRegionPolicy_CriteriaForDisabledSync) Clone

func (*MultiRegionPolicy_CriteriaForDisabledSync) CloneRaw

func (*MultiRegionPolicy_CriteriaForDisabledSync) Descriptor

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

Deprecated, Use MultiRegionPolicy_CriteriaForDisabledSync.ProtoReflect.Descriptor instead.

func (*MultiRegionPolicy_CriteriaForDisabledSync) GetDestRegion

func (*MultiRegionPolicy_CriteriaForDisabledSync) GetResourceTypeName

func (m *MultiRegionPolicy_CriteriaForDisabledSync) GetResourceTypeName() string

func (*MultiRegionPolicy_CriteriaForDisabledSync) GetSourceRegion

func (*MultiRegionPolicy_CriteriaForDisabledSync) GotenMessage

func (*MultiRegionPolicy_CriteriaForDisabledSync) GotenObjectExt

func (o *MultiRegionPolicy_CriteriaForDisabledSync) GotenObjectExt()

func (*MultiRegionPolicy_CriteriaForDisabledSync) GotenValidate

func (obj *MultiRegionPolicy_CriteriaForDisabledSync) GotenValidate() error

func (*MultiRegionPolicy_CriteriaForDisabledSync) MakeFullFieldMask

func (*MultiRegionPolicy_CriteriaForDisabledSync) MakeRawDiffFieldMask

func (*MultiRegionPolicy_CriteriaForDisabledSync) MakeRawFullFieldMask

func (*MultiRegionPolicy_CriteriaForDisabledSync) Marshal

func (*MultiRegionPolicy_CriteriaForDisabledSync) MarshalJSON

func (*MultiRegionPolicy_CriteriaForDisabledSync) Merge

func (*MultiRegionPolicy_CriteriaForDisabledSync) MergeRaw

func (*MultiRegionPolicy_CriteriaForDisabledSync) ProtoMessage

func (*MultiRegionPolicy_CriteriaForDisabledSync) ProtoReflect

func (*MultiRegionPolicy_CriteriaForDisabledSync) Reset

func (*MultiRegionPolicy_CriteriaForDisabledSync) SetDestRegion

func (*MultiRegionPolicy_CriteriaForDisabledSync) SetResourceTypeName

func (m *MultiRegionPolicy_CriteriaForDisabledSync) SetResourceTypeName(fv string)

func (*MultiRegionPolicy_CriteriaForDisabledSync) SetSourceRegion

func (m *MultiRegionPolicy_CriteriaForDisabledSync) SetSourceRegion(fv string)

func (*MultiRegionPolicy_CriteriaForDisabledSync) String

func (*MultiRegionPolicy_CriteriaForDisabledSync) Unmarshal

func (*MultiRegionPolicy_CriteriaForDisabledSync) UnmarshalJSON

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

type MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorDestRegion

type MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorDestRegion struct{}

func (MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorDestRegion) FieldPath

func (MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorDestRegion) WithArrayOfValues

func (MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorDestRegion) WithValue

type MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorResourceTypeName

type MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorResourceTypeName struct{}

func (MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorResourceTypeName) FieldPath

func (MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorResourceTypeName) WithArrayOfValues

func (MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorResourceTypeName) WithValue

type MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorSourceRegion

type MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorSourceRegion struct{}

func (MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorSourceRegion) FieldPath

func (MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorSourceRegion) WithArrayOfValues

func (MultiRegionPolicy_CriteriaForDisabledSyncPathSelectorSourceRegion) WithValue

type MultiRegionPolicy_CriteriaForDisabledSync_FieldMask

type MultiRegionPolicy_CriteriaForDisabledSync_FieldMask struct {
	Paths []MultiRegionPolicyCriteriaForDisabledSync_FieldPath
}

func FullMultiRegionPolicy_CriteriaForDisabledSync_FieldMask

func FullMultiRegionPolicy_CriteriaForDisabledSync_FieldMask() *MultiRegionPolicy_CriteriaForDisabledSync_FieldMask

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) AppendPath

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) AppendRawPath

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) DecodeFirestore

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) EncodeFirestore

firestore encoding/decoding integration

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) FromProtoFieldMask

func (fieldMask *MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) GetPaths

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) GetRawPaths

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) IsFull

func (MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) Marshal

implement methods required by customType

func (MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) MarshalJSON

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

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) PathsCount

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) Project

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) ProjectRaw

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) ProtoMessage

func (fieldMask *MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) ProtoMessage()

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) ProtoReflect

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) Reset

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) Set

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) SetFromCliFlag

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

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) SetRaw

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) Size

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) String

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) SubtractRaw

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) ToProtoFieldMask

ToFieldMask is used for proto conversions

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) Unmarshal

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

func (*MultiRegionPolicy_CriteriaForDisabledSync_FieldMask) UnmarshalJSON

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

type MultiRegionPolicy_FieldMask

type MultiRegionPolicy_FieldMask struct {
	Paths []MultiRegionPolicy_FieldPath
}

func FullMultiRegionPolicy_FieldMask

func FullMultiRegionPolicy_FieldMask() *MultiRegionPolicy_FieldMask

func (*MultiRegionPolicy_FieldMask) AppendPath

func (fieldMask *MultiRegionPolicy_FieldMask) AppendPath(path MultiRegionPolicy_FieldPath)

func (*MultiRegionPolicy_FieldMask) AppendRawPath

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

func (*MultiRegionPolicy_FieldMask) DecodeFirestore

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

func (*MultiRegionPolicy_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*MultiRegionPolicy_FieldMask) FilterInputFields

func (fieldMask *MultiRegionPolicy_FieldMask) FilterInputFields() *MultiRegionPolicy_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*MultiRegionPolicy_FieldMask) FromProtoFieldMask

func (fieldMask *MultiRegionPolicy_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error

func (*MultiRegionPolicy_FieldMask) GetPaths

func (*MultiRegionPolicy_FieldMask) GetRawPaths

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

func (*MultiRegionPolicy_FieldMask) IsFull

func (fieldMask *MultiRegionPolicy_FieldMask) IsFull() bool

func (MultiRegionPolicy_FieldMask) Marshal

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

implement methods required by customType

func (MultiRegionPolicy_FieldMask) MarshalJSON

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

func (*MultiRegionPolicy_FieldMask) PathsCount

func (fieldMask *MultiRegionPolicy_FieldMask) PathsCount() int

func (*MultiRegionPolicy_FieldMask) Project

func (*MultiRegionPolicy_FieldMask) ProjectRaw

func (*MultiRegionPolicy_FieldMask) ProtoMessage

func (fieldMask *MultiRegionPolicy_FieldMask) ProtoMessage()

func (*MultiRegionPolicy_FieldMask) ProtoReflect

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

func (*MultiRegionPolicy_FieldMask) Reset

func (fieldMask *MultiRegionPolicy_FieldMask) Reset()

func (*MultiRegionPolicy_FieldMask) Set

func (fieldMask *MultiRegionPolicy_FieldMask) Set(target, source *MultiRegionPolicy)

func (*MultiRegionPolicy_FieldMask) SetFromCliFlag

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

func (*MultiRegionPolicy_FieldMask) SetRaw

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

func (*MultiRegionPolicy_FieldMask) Size

func (fieldMask *MultiRegionPolicy_FieldMask) Size() int

func (*MultiRegionPolicy_FieldMask) String

func (fieldMask *MultiRegionPolicy_FieldMask) String() string

func (*MultiRegionPolicy_FieldMask) Subtract

func (*MultiRegionPolicy_FieldMask) SubtractRaw

func (*MultiRegionPolicy_FieldMask) ToProtoFieldMask

func (fieldMask *MultiRegionPolicy_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*MultiRegionPolicy_FieldMask) Unmarshal

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

func (*MultiRegionPolicy_FieldMask) UnmarshalJSON

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

type MultiRegionPolicy_FieldPath

type MultiRegionPolicy_FieldPath interface {
	gotenobject.FieldPath
	Selector() MultiRegionPolicy_FieldPathSelector
	Get(source *MultiRegionPolicy) []interface{}
	GetSingle(source *MultiRegionPolicy) (interface{}, bool)
	ClearValue(item *MultiRegionPolicy)

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

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

func MustParseMultiRegionPolicy_FieldPath

func MustParseMultiRegionPolicy_FieldPath(rawField string) MultiRegionPolicy_FieldPath

func ParseMultiRegionPolicy_FieldPath

func ParseMultiRegionPolicy_FieldPath(rawField string) (MultiRegionPolicy_FieldPath, error)

type MultiRegionPolicy_FieldPathArrayItemValue

type MultiRegionPolicy_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	MultiRegionPolicy_FieldPath
	ContainsValue(*MultiRegionPolicy) bool
}

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

func MustParseMultiRegionPolicy_FieldPathArrayItemValue

func MustParseMultiRegionPolicy_FieldPathArrayItemValue(pathStr, valueStr string) MultiRegionPolicy_FieldPathArrayItemValue

func ParseMultiRegionPolicy_FieldPathArrayItemValue

func ParseMultiRegionPolicy_FieldPathArrayItemValue(pathStr, valueStr string) (MultiRegionPolicy_FieldPathArrayItemValue, error)

ParseMultiRegionPolicy_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type MultiRegionPolicy_FieldPathArrayOfValues

type MultiRegionPolicy_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	MultiRegionPolicy_FieldPath
}

MultiRegionPolicy_FieldPathArrayOfValues allows storing slice of values for MultiRegionPolicy fields according to their type

func MustParseMultiRegionPolicy_FieldPathArrayOfValues

func MustParseMultiRegionPolicy_FieldPathArrayOfValues(pathStr, valuesStr string) MultiRegionPolicy_FieldPathArrayOfValues

func ParseMultiRegionPolicy_FieldPathArrayOfValues

func ParseMultiRegionPolicy_FieldPathArrayOfValues(pathStr, valuesStr string) (MultiRegionPolicy_FieldPathArrayOfValues, error)

type MultiRegionPolicy_FieldPathSelector

type MultiRegionPolicy_FieldPathSelector int32
const (
	MultiRegionPolicy_FieldPathSelectorEnabledRegions          MultiRegionPolicy_FieldPathSelector = 0
	MultiRegionPolicy_FieldPathSelectorDefaultControlRegion    MultiRegionPolicy_FieldPathSelector = 1
	MultiRegionPolicy_FieldPathSelectorCriteriaForDisabledSync MultiRegionPolicy_FieldPathSelector = 2
)

func (MultiRegionPolicy_FieldPathSelector) String

type MultiRegionPolicy_FieldPathValue

type MultiRegionPolicy_FieldPathValue interface {
	MultiRegionPolicy_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **MultiRegionPolicy)
	CompareWith(*MultiRegionPolicy) (cmp int, comparable bool)
}

MultiRegionPolicy_FieldPathValue allows storing values for MultiRegionPolicy fields according to their type

func MustParseMultiRegionPolicy_FieldPathValue

func MustParseMultiRegionPolicy_FieldPathValue(pathStr, valueStr string) MultiRegionPolicy_FieldPathValue

func ParseMultiRegionPolicy_FieldPathValue

func ParseMultiRegionPolicy_FieldPathValue(pathStr, valueStr string) (MultiRegionPolicy_FieldPathValue, error)

type MultiRegionPolicy_FieldSubPath

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

func (*MultiRegionPolicy_FieldSubPath) AsCriteriaForDisabledSyncSubPath

func (*MultiRegionPolicy_FieldSubPath) ClearValue

func (fps *MultiRegionPolicy_FieldSubPath) ClearValue(item *MultiRegionPolicy)

func (*MultiRegionPolicy_FieldSubPath) ClearValueRaw

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

func (*MultiRegionPolicy_FieldSubPath) Get

func (fps *MultiRegionPolicy_FieldSubPath) Get(source *MultiRegionPolicy) (values []interface{})

Get returns all values pointed by selected field from source MultiRegionPolicy

func (*MultiRegionPolicy_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*MultiRegionPolicy_FieldSubPath) GetRaw

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

func (*MultiRegionPolicy_FieldSubPath) GetSingle

func (fps *MultiRegionPolicy_FieldSubPath) GetSingle(source *MultiRegionPolicy) (interface{}, bool)

GetSingle returns value of selected field from source MultiRegionPolicy

func (*MultiRegionPolicy_FieldSubPath) GetSingleRaw

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

func (*MultiRegionPolicy_FieldSubPath) IsLeaf

func (fps *MultiRegionPolicy_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*MultiRegionPolicy_FieldSubPath) JSONString

func (fps *MultiRegionPolicy_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*MultiRegionPolicy_FieldSubPath) Selector

func (*MultiRegionPolicy_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*MultiRegionPolicy_FieldSubPath) String

func (fps *MultiRegionPolicy_FieldSubPath) String() string

String returns path representation in proto convention

func (*MultiRegionPolicy_FieldSubPath) WithIArrayItemValue

func (fps *MultiRegionPolicy_FieldSubPath) WithIArrayItemValue(value interface{}) MultiRegionPolicy_FieldPathArrayItemValue

func (*MultiRegionPolicy_FieldSubPath) WithIArrayOfValues

func (fps *MultiRegionPolicy_FieldSubPath) WithIArrayOfValues(values interface{}) MultiRegionPolicy_FieldPathArrayOfValues

func (*MultiRegionPolicy_FieldSubPath) WithIValue

func (fps *MultiRegionPolicy_FieldSubPath) WithIValue(value interface{}) MultiRegionPolicy_FieldPathValue

func (*MultiRegionPolicy_FieldSubPath) WithRawIArrayItemValue

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

func (*MultiRegionPolicy_FieldSubPath) WithRawIArrayOfValues

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

func (*MultiRegionPolicy_FieldSubPath) WithRawIValue

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

type MultiRegionPolicy_FieldSubPathArrayItemValue

type MultiRegionPolicy_FieldSubPathArrayItemValue struct {
	MultiRegionPolicy_FieldPath
	// contains filtered or unexported fields
}

func (*MultiRegionPolicy_FieldSubPathArrayItemValue) AsCriteriaForDisabledSyncPathItemValue

func (*MultiRegionPolicy_FieldSubPathArrayItemValue) ContainsValue

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

func (*MultiRegionPolicy_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type MultiRegionPolicy_FieldSubPathArrayOfValues

type MultiRegionPolicy_FieldSubPathArrayOfValues struct {
	MultiRegionPolicy_FieldPath
	// contains filtered or unexported fields
}

func (*MultiRegionPolicy_FieldSubPathArrayOfValues) AsCriteriaForDisabledSyncPathArrayOfValues

func (*MultiRegionPolicy_FieldSubPathArrayOfValues) GetRawValues

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

type MultiRegionPolicy_FieldSubPathValue

type MultiRegionPolicy_FieldSubPathValue struct {
	MultiRegionPolicy_FieldPath
	// contains filtered or unexported fields
}

func (*MultiRegionPolicy_FieldSubPathValue) AsCriteriaForDisabledSyncPathValue

func (*MultiRegionPolicy_FieldSubPathValue) CompareWith

func (fpvs *MultiRegionPolicy_FieldSubPathValue) CompareWith(source *MultiRegionPolicy) (int, bool)

func (*MultiRegionPolicy_FieldSubPathValue) CompareWithRaw

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

func (*MultiRegionPolicy_FieldSubPathValue) GetRawValue

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

func (*MultiRegionPolicy_FieldSubPathValue) SetTo

func (*MultiRegionPolicy_FieldSubPathValue) SetToRaw

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

type MultiRegionPolicy_FieldTerminalPath

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

func (*MultiRegionPolicy_FieldTerminalPath) ClearValue

func (*MultiRegionPolicy_FieldTerminalPath) ClearValueRaw

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

func (*MultiRegionPolicy_FieldTerminalPath) Get

func (fp *MultiRegionPolicy_FieldTerminalPath) Get(source *MultiRegionPolicy) (values []interface{})

Get returns all values pointed by specific field from source MultiRegionPolicy

func (*MultiRegionPolicy_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*MultiRegionPolicy_FieldTerminalPath) GetRaw

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

func (*MultiRegionPolicy_FieldTerminalPath) GetSingle

func (fp *MultiRegionPolicy_FieldTerminalPath) GetSingle(source *MultiRegionPolicy) (interface{}, bool)

GetSingle returns value pointed by specific field of from source MultiRegionPolicy

func (*MultiRegionPolicy_FieldTerminalPath) GetSingleRaw

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

func (*MultiRegionPolicy_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*MultiRegionPolicy_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*MultiRegionPolicy_FieldTerminalPath) Selector

func (*MultiRegionPolicy_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*MultiRegionPolicy_FieldTerminalPath) String

String returns path representation in proto convention

func (*MultiRegionPolicy_FieldTerminalPath) WithIArrayItemValue

func (fp *MultiRegionPolicy_FieldTerminalPath) WithIArrayItemValue(value interface{}) MultiRegionPolicy_FieldPathArrayItemValue

func (*MultiRegionPolicy_FieldTerminalPath) WithIArrayOfValues

func (fp *MultiRegionPolicy_FieldTerminalPath) WithIArrayOfValues(values interface{}) MultiRegionPolicy_FieldPathArrayOfValues

func (*MultiRegionPolicy_FieldTerminalPath) WithIValue

func (*MultiRegionPolicy_FieldTerminalPath) WithRawIArrayItemValue

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

func (*MultiRegionPolicy_FieldTerminalPath) WithRawIArrayOfValues

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

func (*MultiRegionPolicy_FieldTerminalPath) WithRawIValue

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

type MultiRegionPolicy_FieldTerminalPathArrayItemValue

type MultiRegionPolicy_FieldTerminalPathArrayItemValue struct {
	MultiRegionPolicy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MultiRegionPolicy_FieldTerminalPathArrayItemValue) AsCriteriaForDisabledSyncItemValue

func (*MultiRegionPolicy_FieldTerminalPathArrayItemValue) AsEnabledRegionsItemValue

func (fpaiv *MultiRegionPolicy_FieldTerminalPathArrayItemValue) AsEnabledRegionsItemValue() (string, bool)

func (*MultiRegionPolicy_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*MultiRegionPolicy_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*MultiRegionPolicy_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *MultiRegionPolicy_FieldTerminalPathArrayItemValue) GetSingle(source *MultiRegionPolicy) (interface{}, bool)

func (*MultiRegionPolicy_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type MultiRegionPolicy_FieldTerminalPathArrayOfValues

type MultiRegionPolicy_FieldTerminalPathArrayOfValues struct {
	MultiRegionPolicy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MultiRegionPolicy_FieldTerminalPathArrayOfValues) AsCriteriaForDisabledSyncArrayOfValues

func (fpaov *MultiRegionPolicy_FieldTerminalPathArrayOfValues) AsCriteriaForDisabledSyncArrayOfValues() ([][]*MultiRegionPolicy_CriteriaForDisabledSync, bool)

func (*MultiRegionPolicy_FieldTerminalPathArrayOfValues) AsDefaultControlRegionArrayOfValues

func (fpaov *MultiRegionPolicy_FieldTerminalPathArrayOfValues) AsDefaultControlRegionArrayOfValues() ([]string, bool)

func (*MultiRegionPolicy_FieldTerminalPathArrayOfValues) AsEnabledRegionsArrayOfValues

func (fpaov *MultiRegionPolicy_FieldTerminalPathArrayOfValues) AsEnabledRegionsArrayOfValues() ([][]string, bool)

func (*MultiRegionPolicy_FieldTerminalPathArrayOfValues) GetRawValues

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

type MultiRegionPolicy_FieldTerminalPathValue

type MultiRegionPolicy_FieldTerminalPathValue struct {
	MultiRegionPolicy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MultiRegionPolicy_FieldTerminalPathValue) AsCriteriaForDisabledSyncValue

func (*MultiRegionPolicy_FieldTerminalPathValue) AsDefaultControlRegionValue

func (fpv *MultiRegionPolicy_FieldTerminalPathValue) AsDefaultControlRegionValue() (string, bool)

func (*MultiRegionPolicy_FieldTerminalPathValue) AsEnabledRegionsValue

func (fpv *MultiRegionPolicy_FieldTerminalPathValue) AsEnabledRegionsValue() ([]string, bool)

func (*MultiRegionPolicy_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'MultiRegionPolicy_FieldTerminalPathValue' with the value under path in 'MultiRegionPolicy'.

func (*MultiRegionPolicy_FieldTerminalPathValue) CompareWithRaw

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

func (*MultiRegionPolicy_FieldTerminalPathValue) GetRawValue

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

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

func (*MultiRegionPolicy_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object MultiRegionPolicy

func (*MultiRegionPolicy_FieldTerminalPathValue) SetToRaw

Jump to

Keyboard shortcuts

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