policy

package
v0.4.29 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 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 Policy

type Policy 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 []*Policy_CriteriaForDisabledSync `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

Policy is an object defining relation between multi-region service 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 (*Policy) Clone

func (o *Policy) Clone() *Policy

func (*Policy) CloneRaw

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

func (*Policy) Descriptor

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

Deprecated, Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetCriteriaForDisabledSync

func (m *Policy) GetCriteriaForDisabledSync() []*Policy_CriteriaForDisabledSync

func (*Policy) GetDefaultControlRegion

func (m *Policy) GetDefaultControlRegion() string

func (*Policy) GetEnabledRegions

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

func (*Policy) GotenMessage

func (*Policy) GotenMessage()

func (*Policy) GotenObjectExt

func (o *Policy) GotenObjectExt()

func (*Policy) GotenValidate

func (obj *Policy) GotenValidate() error

func (*Policy) MakeDiffFieldMask

func (o *Policy) MakeDiffFieldMask(other *Policy) *Policy_FieldMask

func (*Policy) MakeFullFieldMask

func (o *Policy) MakeFullFieldMask() *Policy_FieldMask

func (*Policy) MakeRawDiffFieldMask

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

func (*Policy) MakeRawFullFieldMask

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

func (*Policy) Marshal

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

func (*Policy) MarshalJSON

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

func (*Policy) Merge

func (o *Policy) Merge(source *Policy)

func (*Policy) MergeRaw

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

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (m *Policy) Reset()

func (*Policy) SetCriteriaForDisabledSync

func (m *Policy) SetCriteriaForDisabledSync(fv []*Policy_CriteriaForDisabledSync)

func (*Policy) SetDefaultControlRegion

func (m *Policy) SetDefaultControlRegion(fv string)

func (*Policy) SetEnabledRegions

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

func (*Policy) String

func (m *Policy) String() string

func (*Policy) Unmarshal

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

func (*Policy) UnmarshalJSON

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

type PolicyCriteriaForDisabledSyncFieldPathBuilder

type PolicyCriteriaForDisabledSyncFieldPathBuilder struct{}

func NewPolicyCriteriaForDisabledSyncFieldPathBuilder

func NewPolicyCriteriaForDisabledSyncFieldPathBuilder() PolicyCriteriaForDisabledSyncFieldPathBuilder

func (PolicyCriteriaForDisabledSyncFieldPathBuilder) DestRegion

func (PolicyCriteriaForDisabledSyncFieldPathBuilder) ResourceTypeName

func (PolicyCriteriaForDisabledSyncFieldPathBuilder) SourceRegion

type PolicyCriteriaForDisabledSync_FieldPath

type PolicyCriteriaForDisabledSync_FieldPath interface {
	gotenobject.FieldPath
	Selector() PolicyCriteriaForDisabledSync_FieldPathSelector
	Get(source *Policy_CriteriaForDisabledSync) []interface{}
	GetSingle(source *Policy_CriteriaForDisabledSync) (interface{}, bool)
	ClearValue(item *Policy_CriteriaForDisabledSync)

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

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

func MustParsePolicyCriteriaForDisabledSync_FieldPath

func MustParsePolicyCriteriaForDisabledSync_FieldPath(rawField string) PolicyCriteriaForDisabledSync_FieldPath

func ParsePolicyCriteriaForDisabledSync_FieldPath

func ParsePolicyCriteriaForDisabledSync_FieldPath(rawField string) (PolicyCriteriaForDisabledSync_FieldPath, error)

type PolicyCriteriaForDisabledSync_FieldPathArrayItemValue

type PolicyCriteriaForDisabledSync_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	PolicyCriteriaForDisabledSync_FieldPath
	ContainsValue(*Policy_CriteriaForDisabledSync) bool
}

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

func MustParsePolicyCriteriaForDisabledSync_FieldPathArrayItemValue

func MustParsePolicyCriteriaForDisabledSync_FieldPathArrayItemValue(pathStr, valueStr string) PolicyCriteriaForDisabledSync_FieldPathArrayItemValue

func ParsePolicyCriteriaForDisabledSync_FieldPathArrayItemValue

func ParsePolicyCriteriaForDisabledSync_FieldPathArrayItemValue(pathStr, valueStr string) (PolicyCriteriaForDisabledSync_FieldPathArrayItemValue, error)

ParsePolicyCriteriaForDisabledSync_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type PolicyCriteriaForDisabledSync_FieldPathArrayOfValues

type PolicyCriteriaForDisabledSync_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	PolicyCriteriaForDisabledSync_FieldPath
}

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

func MustParsePolicyCriteriaForDisabledSync_FieldPathArrayOfValues

func MustParsePolicyCriteriaForDisabledSync_FieldPathArrayOfValues(pathStr, valuesStr string) PolicyCriteriaForDisabledSync_FieldPathArrayOfValues

func ParsePolicyCriteriaForDisabledSync_FieldPathArrayOfValues

func ParsePolicyCriteriaForDisabledSync_FieldPathArrayOfValues(pathStr, valuesStr string) (PolicyCriteriaForDisabledSync_FieldPathArrayOfValues, error)

type PolicyCriteriaForDisabledSync_FieldPathSelector

type PolicyCriteriaForDisabledSync_FieldPathSelector int32
const (
	PolicyCriteriaForDisabledSync_FieldPathSelectorResourceTypeName PolicyCriteriaForDisabledSync_FieldPathSelector = 0
	PolicyCriteriaForDisabledSync_FieldPathSelectorSourceRegion     PolicyCriteriaForDisabledSync_FieldPathSelector = 1
	PolicyCriteriaForDisabledSync_FieldPathSelectorDestRegion       PolicyCriteriaForDisabledSync_FieldPathSelector = 2
)

func (PolicyCriteriaForDisabledSync_FieldPathSelector) String

type PolicyCriteriaForDisabledSync_FieldPathValue

type PolicyCriteriaForDisabledSync_FieldPathValue interface {
	PolicyCriteriaForDisabledSync_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Policy_CriteriaForDisabledSync)
	CompareWith(*Policy_CriteriaForDisabledSync) (cmp int, comparable bool)
}

PolicyCriteriaForDisabledSync_FieldPathValue allows storing values for CriteriaForDisabledSync fields according to their type

func MustParsePolicyCriteriaForDisabledSync_FieldPathValue

func MustParsePolicyCriteriaForDisabledSync_FieldPathValue(pathStr, valueStr string) PolicyCriteriaForDisabledSync_FieldPathValue

func ParsePolicyCriteriaForDisabledSync_FieldPathValue

func ParsePolicyCriteriaForDisabledSync_FieldPathValue(pathStr, valueStr string) (PolicyCriteriaForDisabledSync_FieldPathValue, error)

type PolicyCriteriaForDisabledSync_FieldTerminalPath

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

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) ClearValue

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) ClearValueRaw

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) Get

Get returns all values pointed by specific field from source Policy_CriteriaForDisabledSync

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) GetRaw

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

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source Policy_CriteriaForDisabledSync

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) GetSingleRaw

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

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) Selector

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) String

String returns path representation in proto convention

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) WithIArrayItemValue

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) WithIArrayOfValues

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) WithIValue

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIArrayItemValue

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

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIArrayOfValues

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

func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIValue

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

type PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue

type PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue struct {
	PolicyCriteriaForDisabledSync_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetSingle

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues

type PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues struct {
	PolicyCriteriaForDisabledSync_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsDestRegionArrayOfValues

func (fpaov *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsDestRegionArrayOfValues() ([]string, bool)

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsResourceTypeNameArrayOfValues

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

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsSourceRegionArrayOfValues

func (fpaov *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsSourceRegionArrayOfValues() ([]string, bool)

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) GetRawValues

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

type PolicyCriteriaForDisabledSync_FieldTerminalPathValue

type PolicyCriteriaForDisabledSync_FieldTerminalPathValue struct {
	PolicyCriteriaForDisabledSync_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsDestRegionValue

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsResourceTypeNameValue

func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsResourceTypeNameValue() (string, bool)

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsSourceRegionValue

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'PolicyCriteriaForDisabledSync_FieldTerminalPathValue' with the value under path in 'Policy_CriteriaForDisabledSync'.

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) CompareWithRaw

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) GetRawValue

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

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

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object CriteriaForDisabledSync

func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) SetToRaw

type PolicyFieldPathBuilder

type PolicyFieldPathBuilder struct{}

func NewPolicyFieldPathBuilder

func NewPolicyFieldPathBuilder() PolicyFieldPathBuilder

func (PolicyFieldPathBuilder) CriteriaForDisabledSync

func (PolicyFieldPathBuilder) DefaultControlRegion

func (PolicyFieldPathBuilder) EnabledRegions

type PolicyPathSelectorCriteriaForDisabledSync

type PolicyPathSelectorCriteriaForDisabledSync struct{}

func (PolicyPathSelectorCriteriaForDisabledSync) DestRegion

func (PolicyPathSelectorCriteriaForDisabledSync) FieldPath

func (PolicyPathSelectorCriteriaForDisabledSync) ResourceTypeName

func (PolicyPathSelectorCriteriaForDisabledSync) SourceRegion

func (PolicyPathSelectorCriteriaForDisabledSync) WithArrayOfValues

func (PolicyPathSelectorCriteriaForDisabledSync) WithItemValue

func (PolicyPathSelectorCriteriaForDisabledSync) WithSubArrayItemValue

func (PolicyPathSelectorCriteriaForDisabledSync) WithSubArrayOfValues

func (PolicyPathSelectorCriteriaForDisabledSync) WithSubPath

func (PolicyPathSelectorCriteriaForDisabledSync) WithSubValue

func (PolicyPathSelectorCriteriaForDisabledSync) WithValue

type PolicyPathSelectorCriteriaForDisabledSyncDestRegion

type PolicyPathSelectorCriteriaForDisabledSyncDestRegion struct{}

func (PolicyPathSelectorCriteriaForDisabledSyncDestRegion) FieldPath

func (PolicyPathSelectorCriteriaForDisabledSyncDestRegion) WithArrayOfValues

func (PolicyPathSelectorCriteriaForDisabledSyncDestRegion) WithValue

type PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName

type PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName struct{}

func (PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) FieldPath

func (PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) WithArrayOfValues

func (PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) WithValue

type PolicyPathSelectorCriteriaForDisabledSyncSourceRegion

type PolicyPathSelectorCriteriaForDisabledSyncSourceRegion struct{}

func (PolicyPathSelectorCriteriaForDisabledSyncSourceRegion) FieldPath

func (PolicyPathSelectorCriteriaForDisabledSyncSourceRegion) WithArrayOfValues

func (PolicyPathSelectorCriteriaForDisabledSyncSourceRegion) WithValue

type PolicyPathSelectorDefaultControlRegion

type PolicyPathSelectorDefaultControlRegion struct{}

func (PolicyPathSelectorDefaultControlRegion) FieldPath

func (PolicyPathSelectorDefaultControlRegion) WithArrayOfValues

func (PolicyPathSelectorDefaultControlRegion) WithValue

type PolicyPathSelectorEnabledRegions

type PolicyPathSelectorEnabledRegions struct{}

func (PolicyPathSelectorEnabledRegions) FieldPath

func (PolicyPathSelectorEnabledRegions) WithArrayOfValues

func (PolicyPathSelectorEnabledRegions) WithItemValue

func (PolicyPathSelectorEnabledRegions) WithValue

type Policy_CriteriaForDisabledSync

type Policy_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 (*Policy_CriteriaForDisabledSync) Clone

func (*Policy_CriteriaForDisabledSync) CloneRaw

func (*Policy_CriteriaForDisabledSync) Descriptor

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

Deprecated, Use Policy_CriteriaForDisabledSync.ProtoReflect.Descriptor instead.

func (*Policy_CriteriaForDisabledSync) GetDestRegion

func (m *Policy_CriteriaForDisabledSync) GetDestRegion() string

func (*Policy_CriteriaForDisabledSync) GetResourceTypeName

func (m *Policy_CriteriaForDisabledSync) GetResourceTypeName() string

func (*Policy_CriteriaForDisabledSync) GetSourceRegion

func (m *Policy_CriteriaForDisabledSync) GetSourceRegion() string

func (*Policy_CriteriaForDisabledSync) GotenMessage

func (*Policy_CriteriaForDisabledSync) GotenMessage()

func (*Policy_CriteriaForDisabledSync) GotenObjectExt

func (o *Policy_CriteriaForDisabledSync) GotenObjectExt()

func (*Policy_CriteriaForDisabledSync) GotenValidate

func (obj *Policy_CriteriaForDisabledSync) GotenValidate() error

func (*Policy_CriteriaForDisabledSync) MakeDiffFieldMask

func (*Policy_CriteriaForDisabledSync) MakeFullFieldMask

func (*Policy_CriteriaForDisabledSync) MakeRawDiffFieldMask

func (*Policy_CriteriaForDisabledSync) MakeRawFullFieldMask

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

func (*Policy_CriteriaForDisabledSync) Marshal

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

func (*Policy_CriteriaForDisabledSync) MarshalJSON

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

func (*Policy_CriteriaForDisabledSync) Merge

func (*Policy_CriteriaForDisabledSync) MergeRaw

func (*Policy_CriteriaForDisabledSync) ProtoMessage

func (*Policy_CriteriaForDisabledSync) ProtoMessage()

func (*Policy_CriteriaForDisabledSync) ProtoReflect

func (*Policy_CriteriaForDisabledSync) Reset

func (m *Policy_CriteriaForDisabledSync) Reset()

func (*Policy_CriteriaForDisabledSync) SetDestRegion

func (m *Policy_CriteriaForDisabledSync) SetDestRegion(fv string)

func (*Policy_CriteriaForDisabledSync) SetResourceTypeName

func (m *Policy_CriteriaForDisabledSync) SetResourceTypeName(fv string)

func (*Policy_CriteriaForDisabledSync) SetSourceRegion

func (m *Policy_CriteriaForDisabledSync) SetSourceRegion(fv string)

func (*Policy_CriteriaForDisabledSync) String

func (*Policy_CriteriaForDisabledSync) Unmarshal

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

func (*Policy_CriteriaForDisabledSync) UnmarshalJSON

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

type Policy_CriteriaForDisabledSyncPathSelectorDestRegion

type Policy_CriteriaForDisabledSyncPathSelectorDestRegion struct{}

func (Policy_CriteriaForDisabledSyncPathSelectorDestRegion) FieldPath

func (Policy_CriteriaForDisabledSyncPathSelectorDestRegion) WithArrayOfValues

func (Policy_CriteriaForDisabledSyncPathSelectorDestRegion) WithValue

type Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName

type Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName struct{}

func (Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName) FieldPath

func (Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName) WithArrayOfValues

func (Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName) WithValue

type Policy_CriteriaForDisabledSyncPathSelectorSourceRegion

type Policy_CriteriaForDisabledSyncPathSelectorSourceRegion struct{}

func (Policy_CriteriaForDisabledSyncPathSelectorSourceRegion) FieldPath

func (Policy_CriteriaForDisabledSyncPathSelectorSourceRegion) WithArrayOfValues

func (Policy_CriteriaForDisabledSyncPathSelectorSourceRegion) WithValue

type Policy_CriteriaForDisabledSync_FieldMask

type Policy_CriteriaForDisabledSync_FieldMask struct {
	Paths []PolicyCriteriaForDisabledSync_FieldPath
}

func FullPolicy_CriteriaForDisabledSync_FieldMask

func FullPolicy_CriteriaForDisabledSync_FieldMask() *Policy_CriteriaForDisabledSync_FieldMask

func (*Policy_CriteriaForDisabledSync_FieldMask) AppendPath

func (*Policy_CriteriaForDisabledSync_FieldMask) AppendRawPath

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

func (*Policy_CriteriaForDisabledSync_FieldMask) DecodeFirestore

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

func (*Policy_CriteriaForDisabledSync_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Policy_CriteriaForDisabledSync_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Policy_CriteriaForDisabledSync_FieldMask) FromProtoFieldMask

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

func (*Policy_CriteriaForDisabledSync_FieldMask) GetPaths

func (*Policy_CriteriaForDisabledSync_FieldMask) GetRawPaths

func (*Policy_CriteriaForDisabledSync_FieldMask) IsFull

func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) IsFull() bool

func (Policy_CriteriaForDisabledSync_FieldMask) Marshal

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

implement methods required by customType

func (Policy_CriteriaForDisabledSync_FieldMask) MarshalJSON

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

func (*Policy_CriteriaForDisabledSync_FieldMask) PathsCount

func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) PathsCount() int

func (*Policy_CriteriaForDisabledSync_FieldMask) Project

func (*Policy_CriteriaForDisabledSync_FieldMask) ProjectRaw

func (*Policy_CriteriaForDisabledSync_FieldMask) ProtoMessage

func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) ProtoMessage()

func (*Policy_CriteriaForDisabledSync_FieldMask) ProtoReflect

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

func (*Policy_CriteriaForDisabledSync_FieldMask) Reset

func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) Reset()

func (*Policy_CriteriaForDisabledSync_FieldMask) Set

func (*Policy_CriteriaForDisabledSync_FieldMask) SetFromCliFlag

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

func (*Policy_CriteriaForDisabledSync_FieldMask) SetRaw

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

func (*Policy_CriteriaForDisabledSync_FieldMask) Size

func (*Policy_CriteriaForDisabledSync_FieldMask) String

func (*Policy_CriteriaForDisabledSync_FieldMask) Subtract

func (*Policy_CriteriaForDisabledSync_FieldMask) SubtractRaw

func (*Policy_CriteriaForDisabledSync_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Policy_CriteriaForDisabledSync_FieldMask) Unmarshal

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

func (*Policy_CriteriaForDisabledSync_FieldMask) UnmarshalJSON

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

type Policy_FieldMask

type Policy_FieldMask struct {
	Paths []Policy_FieldPath
}

func FullPolicy_FieldMask

func FullPolicy_FieldMask() *Policy_FieldMask

func (*Policy_FieldMask) AppendPath

func (fieldMask *Policy_FieldMask) AppendPath(path Policy_FieldPath)

func (*Policy_FieldMask) AppendRawPath

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

func (*Policy_FieldMask) DecodeFirestore

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

func (*Policy_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Policy_FieldMask) FilterInputFields

func (fieldMask *Policy_FieldMask) FilterInputFields() *Policy_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Policy_FieldMask) FromProtoFieldMask

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

func (*Policy_FieldMask) GetPaths

func (fieldMask *Policy_FieldMask) GetPaths() []Policy_FieldPath

func (*Policy_FieldMask) GetRawPaths

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

func (*Policy_FieldMask) IsFull

func (fieldMask *Policy_FieldMask) IsFull() bool

func (Policy_FieldMask) Marshal

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

implement methods required by customType

func (Policy_FieldMask) MarshalJSON

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

func (*Policy_FieldMask) PathsCount

func (fieldMask *Policy_FieldMask) PathsCount() int

func (*Policy_FieldMask) Project

func (fieldMask *Policy_FieldMask) Project(source *Policy) *Policy

func (*Policy_FieldMask) ProjectRaw

func (*Policy_FieldMask) ProtoMessage

func (fieldMask *Policy_FieldMask) ProtoMessage()

func (*Policy_FieldMask) ProtoReflect

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

func (*Policy_FieldMask) Reset

func (fieldMask *Policy_FieldMask) Reset()

func (*Policy_FieldMask) Set

func (fieldMask *Policy_FieldMask) Set(target, source *Policy)

func (*Policy_FieldMask) SetFromCliFlag

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

func (*Policy_FieldMask) SetRaw

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

func (*Policy_FieldMask) Size

func (fieldMask *Policy_FieldMask) Size() int

func (*Policy_FieldMask) String

func (fieldMask *Policy_FieldMask) String() string

func (*Policy_FieldMask) Subtract

func (fieldMask *Policy_FieldMask) Subtract(other *Policy_FieldMask) *Policy_FieldMask

func (*Policy_FieldMask) SubtractRaw

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

func (*Policy_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Policy_FieldMask) Unmarshal

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

func (*Policy_FieldMask) UnmarshalJSON

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

type Policy_FieldPath

type Policy_FieldPath interface {
	gotenobject.FieldPath
	Selector() Policy_FieldPathSelector
	Get(source *Policy) []interface{}
	GetSingle(source *Policy) (interface{}, bool)
	ClearValue(item *Policy)

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

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

func BuildPolicy_FieldPath

func BuildPolicy_FieldPath(fp gotenobject.RawFieldPath) (Policy_FieldPath, error)

func MustParsePolicy_FieldPath

func MustParsePolicy_FieldPath(rawField string) Policy_FieldPath

func ParsePolicy_FieldPath

func ParsePolicy_FieldPath(rawField string) (Policy_FieldPath, error)

type Policy_FieldPathArrayItemValue

type Policy_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Policy_FieldPath
	ContainsValue(*Policy) bool
}

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

func MustParsePolicy_FieldPathArrayItemValue

func MustParsePolicy_FieldPathArrayItemValue(pathStr, valueStr string) Policy_FieldPathArrayItemValue

func ParsePolicy_FieldPathArrayItemValue

func ParsePolicy_FieldPathArrayItemValue(pathStr, valueStr string) (Policy_FieldPathArrayItemValue, error)

ParsePolicy_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Policy_FieldPathArrayOfValues

type Policy_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Policy_FieldPath
}

Policy_FieldPathArrayOfValues allows storing slice of values for Policy fields according to their type

func MustParsePolicy_FieldPathArrayOfValues

func MustParsePolicy_FieldPathArrayOfValues(pathStr, valuesStr string) Policy_FieldPathArrayOfValues

func ParsePolicy_FieldPathArrayOfValues

func ParsePolicy_FieldPathArrayOfValues(pathStr, valuesStr string) (Policy_FieldPathArrayOfValues, error)

type Policy_FieldPathSelector

type Policy_FieldPathSelector int32
const (
	Policy_FieldPathSelectorEnabledRegions          Policy_FieldPathSelector = 0
	Policy_FieldPathSelectorDefaultControlRegion    Policy_FieldPathSelector = 1
	Policy_FieldPathSelectorCriteriaForDisabledSync Policy_FieldPathSelector = 2
)

func (Policy_FieldPathSelector) String

func (s Policy_FieldPathSelector) String() string

type Policy_FieldPathValue

type Policy_FieldPathValue interface {
	Policy_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Policy)
	CompareWith(*Policy) (cmp int, comparable bool)
}

Policy_FieldPathValue allows storing values for Policy fields according to their type

func MustParsePolicy_FieldPathValue

func MustParsePolicy_FieldPathValue(pathStr, valueStr string) Policy_FieldPathValue

func ParsePolicy_FieldPathValue

func ParsePolicy_FieldPathValue(pathStr, valueStr string) (Policy_FieldPathValue, error)

type Policy_FieldSubPath

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

func (*Policy_FieldSubPath) AsCriteriaForDisabledSyncSubPath

func (fps *Policy_FieldSubPath) AsCriteriaForDisabledSyncSubPath() (PolicyCriteriaForDisabledSync_FieldPath, bool)

func (*Policy_FieldSubPath) ClearValue

func (fps *Policy_FieldSubPath) ClearValue(item *Policy)

func (*Policy_FieldSubPath) ClearValueRaw

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

func (*Policy_FieldSubPath) Get

func (fps *Policy_FieldSubPath) Get(source *Policy) (values []interface{})

Get returns all values pointed by selected field from source Policy

func (*Policy_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Policy_FieldSubPath) GetRaw

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

func (*Policy_FieldSubPath) GetSingle

func (fps *Policy_FieldSubPath) GetSingle(source *Policy) (interface{}, bool)

GetSingle returns value of selected field from source Policy

func (*Policy_FieldSubPath) GetSingleRaw

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

func (*Policy_FieldSubPath) IsLeaf

func (fps *Policy_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Policy_FieldSubPath) JSONString

func (fps *Policy_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Policy_FieldSubPath) Selector

func (*Policy_FieldSubPath) String

func (fps *Policy_FieldSubPath) String() string

String returns path representation in proto convention

func (*Policy_FieldSubPath) WithIArrayItemValue

func (fps *Policy_FieldSubPath) WithIArrayItemValue(value interface{}) Policy_FieldPathArrayItemValue

func (*Policy_FieldSubPath) WithIArrayOfValues

func (fps *Policy_FieldSubPath) WithIArrayOfValues(values interface{}) Policy_FieldPathArrayOfValues

func (*Policy_FieldSubPath) WithIValue

func (fps *Policy_FieldSubPath) WithIValue(value interface{}) Policy_FieldPathValue

func (*Policy_FieldSubPath) WithRawIArrayItemValue

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

func (*Policy_FieldSubPath) WithRawIArrayOfValues

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

func (*Policy_FieldSubPath) WithRawIValue

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

type Policy_FieldSubPathArrayItemValue

type Policy_FieldSubPathArrayItemValue struct {
	Policy_FieldPath
	// contains filtered or unexported fields
}

func (*Policy_FieldSubPathArrayItemValue) AsCriteriaForDisabledSyncPathItemValue

func (fpaivs *Policy_FieldSubPathArrayItemValue) AsCriteriaForDisabledSyncPathItemValue() (PolicyCriteriaForDisabledSync_FieldPathArrayItemValue, bool)

func (*Policy_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *Policy_FieldSubPathArrayItemValue) ContainsValue(source *Policy) bool

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

func (*Policy_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type Policy_FieldSubPathArrayOfValues

type Policy_FieldSubPathArrayOfValues struct {
	Policy_FieldPath
	// contains filtered or unexported fields
}

func (*Policy_FieldSubPathArrayOfValues) AsCriteriaForDisabledSyncPathArrayOfValues

func (fpsaov *Policy_FieldSubPathArrayOfValues) AsCriteriaForDisabledSyncPathArrayOfValues() (PolicyCriteriaForDisabledSync_FieldPathArrayOfValues, bool)

func (*Policy_FieldSubPathArrayOfValues) GetRawValues

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

type Policy_FieldSubPathValue

type Policy_FieldSubPathValue struct {
	Policy_FieldPath
	// contains filtered or unexported fields
}

func (*Policy_FieldSubPathValue) AsCriteriaForDisabledSyncPathValue

func (fpvs *Policy_FieldSubPathValue) AsCriteriaForDisabledSyncPathValue() (PolicyCriteriaForDisabledSync_FieldPathValue, bool)

func (*Policy_FieldSubPathValue) CompareWith

func (fpvs *Policy_FieldSubPathValue) CompareWith(source *Policy) (int, bool)

func (*Policy_FieldSubPathValue) CompareWithRaw

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

func (*Policy_FieldSubPathValue) GetRawValue

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

func (*Policy_FieldSubPathValue) SetTo

func (fpvs *Policy_FieldSubPathValue) SetTo(target **Policy)

func (*Policy_FieldSubPathValue) SetToRaw

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

type Policy_FieldTerminalPath

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

func (*Policy_FieldTerminalPath) ClearValue

func (fp *Policy_FieldTerminalPath) ClearValue(item *Policy)

func (*Policy_FieldTerminalPath) ClearValueRaw

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

func (*Policy_FieldTerminalPath) Get

func (fp *Policy_FieldTerminalPath) Get(source *Policy) (values []interface{})

Get returns all values pointed by specific field from source Policy

func (*Policy_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Policy_FieldTerminalPath) GetRaw

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

func (*Policy_FieldTerminalPath) GetSingle

func (fp *Policy_FieldTerminalPath) GetSingle(source *Policy) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Policy

func (*Policy_FieldTerminalPath) GetSingleRaw

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

func (*Policy_FieldTerminalPath) IsLeaf

func (fp *Policy_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Policy_FieldTerminalPath) JSONString

func (fp *Policy_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Policy_FieldTerminalPath) Selector

func (*Policy_FieldTerminalPath) String

func (fp *Policy_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Policy_FieldTerminalPath) WithIArrayItemValue

func (fp *Policy_FieldTerminalPath) WithIArrayItemValue(value interface{}) Policy_FieldPathArrayItemValue

func (*Policy_FieldTerminalPath) WithIArrayOfValues

func (fp *Policy_FieldTerminalPath) WithIArrayOfValues(values interface{}) Policy_FieldPathArrayOfValues

func (*Policy_FieldTerminalPath) WithIValue

func (fp *Policy_FieldTerminalPath) WithIValue(value interface{}) Policy_FieldPathValue

func (*Policy_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Policy_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Policy_FieldTerminalPath) WithRawIValue

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

type Policy_FieldTerminalPathArrayItemValue

type Policy_FieldTerminalPathArrayItemValue struct {
	Policy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Policy_FieldTerminalPathArrayItemValue) AsCriteriaForDisabledSyncItemValue

func (fpaiv *Policy_FieldTerminalPathArrayItemValue) AsCriteriaForDisabledSyncItemValue() (*Policy_CriteriaForDisabledSync, bool)

func (*Policy_FieldTerminalPathArrayItemValue) AsEnabledRegionsItemValue

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

func (*Policy_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Policy_FieldTerminalPathArrayItemValue) ContainsValue(source *Policy) bool

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

func (*Policy_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Policy_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Policy_FieldTerminalPathArrayItemValue) GetSingle(source *Policy) (interface{}, bool)

func (*Policy_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Policy_FieldTerminalPathArrayOfValues

type Policy_FieldTerminalPathArrayOfValues struct {
	Policy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Policy_FieldTerminalPathArrayOfValues) AsCriteriaForDisabledSyncArrayOfValues

func (fpaov *Policy_FieldTerminalPathArrayOfValues) AsCriteriaForDisabledSyncArrayOfValues() ([][]*Policy_CriteriaForDisabledSync, bool)

func (*Policy_FieldTerminalPathArrayOfValues) AsDefaultControlRegionArrayOfValues

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

func (*Policy_FieldTerminalPathArrayOfValues) AsEnabledRegionsArrayOfValues

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

func (*Policy_FieldTerminalPathArrayOfValues) GetRawValues

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

type Policy_FieldTerminalPathValue

type Policy_FieldTerminalPathValue struct {
	Policy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Policy_FieldTerminalPathValue) AsCriteriaForDisabledSyncValue

func (fpv *Policy_FieldTerminalPathValue) AsCriteriaForDisabledSyncValue() ([]*Policy_CriteriaForDisabledSync, bool)

func (*Policy_FieldTerminalPathValue) AsDefaultControlRegionValue

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

func (*Policy_FieldTerminalPathValue) AsEnabledRegionsValue

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

func (*Policy_FieldTerminalPathValue) CompareWith

func (fpv *Policy_FieldTerminalPathValue) CompareWith(source *Policy) (int, bool)

CompareWith compares value in the 'Policy_FieldTerminalPathValue' with the value under path in 'Policy'.

func (*Policy_FieldTerminalPathValue) CompareWithRaw

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

func (*Policy_FieldTerminalPathValue) GetRawValue

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

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

func (*Policy_FieldTerminalPathValue) SetTo

func (fpv *Policy_FieldTerminalPathValue) SetTo(target **Policy)

SetTo stores value for selected field for object Policy

func (*Policy_FieldTerminalPathValue) SetToRaw

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

Jump to

Keyboard shortcuts

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