alerting_policy

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Project_Region = "projects/{project}/regions/{region}/alertingPolicies/{alerting_policy}"
)

Variables

View Source
var (
	AlertingPolicy_Spec_ConditionsCombiner_name = map[int32]string{
		0: "OR",
		1: "AND",
	}

	AlertingPolicy_Spec_ConditionsCombiner_value = map[string]int32{
		"OR":  0,
		"AND": 1,
	}
)

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access AlertingPolicyAccess) gotenresource.Access

Types

type AlertingPolicy

type AlertingPolicy struct {

	// Name of AlertingPolicy
	Name     *Name          `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	Metadata *ntt_meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// display name
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// Long description
	Description   string                        `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" firestore:"description"`
	Documentation *AlertingPolicy_Documentation `protobuf:"bytes,5,opt,name=documentation,proto3" json:"documentation,omitempty" firestore:"documentation"`
	// Spec
	Spec *AlertingPolicy_Spec `protobuf:"bytes,6,opt,name=spec,proto3" json:"spec,omitempty" firestore:"spec"`
	// contains filtered or unexported fields
}

AlertingPolicy Resource

func (*AlertingPolicy) Clone

func (o *AlertingPolicy) Clone() *AlertingPolicy

func (*AlertingPolicy) CloneRaw

func (*AlertingPolicy) Descriptor

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

Deprecated, Use AlertingPolicy.ProtoReflect.Descriptor instead.

func (*AlertingPolicy) GetDescription

func (m *AlertingPolicy) GetDescription() string

func (*AlertingPolicy) GetDisplayName

func (m *AlertingPolicy) GetDisplayName() string

func (*AlertingPolicy) GetDocumentation

func (m *AlertingPolicy) GetDocumentation() *AlertingPolicy_Documentation

func (*AlertingPolicy) GetMetadata

func (m *AlertingPolicy) GetMetadata() *ntt_meta.Meta

func (*AlertingPolicy) GetName

func (m *AlertingPolicy) GetName() *Name

func (*AlertingPolicy) GetRawName

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

func (*AlertingPolicy) GetResourceDescriptor

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

func (*AlertingPolicy) GetSpec

func (m *AlertingPolicy) GetSpec() *AlertingPolicy_Spec

func (*AlertingPolicy) GotenMessage

func (*AlertingPolicy) GotenMessage()

func (*AlertingPolicy) GotenObjectExt

func (o *AlertingPolicy) GotenObjectExt()

func (*AlertingPolicy) GotenValidate

func (obj *AlertingPolicy) GotenValidate() error

func (*AlertingPolicy) MakeDiffFieldMask

func (o *AlertingPolicy) MakeDiffFieldMask(other *AlertingPolicy) *AlertingPolicy_FieldMask

func (*AlertingPolicy) MakeFullFieldMask

func (o *AlertingPolicy) MakeFullFieldMask() *AlertingPolicy_FieldMask

func (*AlertingPolicy) MakeRawDiffFieldMask

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

func (*AlertingPolicy) MakeRawFullFieldMask

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

func (*AlertingPolicy) Marshal

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

func (*AlertingPolicy) MarshalJSON

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

func (*AlertingPolicy) MaybePopulateDefaults

func (r *AlertingPolicy) MaybePopulateDefaults() error

func (*AlertingPolicy) Merge

func (o *AlertingPolicy) Merge(source *AlertingPolicy)

func (*AlertingPolicy) MergeRaw

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

func (*AlertingPolicy) ProtoMessage

func (*AlertingPolicy) ProtoMessage()

func (*AlertingPolicy) ProtoReflect

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

func (*AlertingPolicy) Reset

func (m *AlertingPolicy) Reset()

func (*AlertingPolicy) SetDescription

func (m *AlertingPolicy) SetDescription(fv string)

func (*AlertingPolicy) SetDisplayName

func (m *AlertingPolicy) SetDisplayName(fv string)

func (*AlertingPolicy) SetDocumentation

func (m *AlertingPolicy) SetDocumentation(fv *AlertingPolicy_Documentation)

func (*AlertingPolicy) SetMetadata

func (m *AlertingPolicy) SetMetadata(fv *ntt_meta.Meta)

func (*AlertingPolicy) SetName

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

func (*AlertingPolicy) SetSpec

func (m *AlertingPolicy) SetSpec(fv *AlertingPolicy_Spec)

func (*AlertingPolicy) String

func (m *AlertingPolicy) String() string

func (*AlertingPolicy) Unmarshal

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

func (*AlertingPolicy) UnmarshalJSON

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

type AlertingPolicyAccess

type AlertingPolicyAccess interface {
	GetAlertingPolicy(context.Context, *GetQuery) (*AlertingPolicy, error)
	BatchGetAlertingPolicies(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryAlertingPolicies(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	SearchAlertingPolicies(context.Context, *SearchQuery) (*QueryResultSnapshot, error)
	WatchAlertingPolicy(context.Context, *GetQuery, func(*AlertingPolicyChange) error) error
	WatchAlertingPolicies(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveAlertingPolicy(context.Context, *AlertingPolicy, ...gotenresource.SaveOption) error
	DeleteAlertingPolicy(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type AlertingPolicyChange

type AlertingPolicyChange struct {

	// AlertingPolicy change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*AlertingPolicyChange_Added_
	//	*AlertingPolicyChange_Modified_
	//	*AlertingPolicyChange_Current_
	//	*AlertingPolicyChange_Removed_
	ChangeType isAlertingPolicyChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*AlertingPolicyChange) Descriptor

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

Deprecated, Use AlertingPolicyChange.ProtoReflect.Descriptor instead.

func (*AlertingPolicyChange) GetAdded

func (*AlertingPolicyChange) GetAlertingPolicy

func (c *AlertingPolicyChange) GetAlertingPolicy() *AlertingPolicy

func (*AlertingPolicyChange) GetAlertingPolicyName

func (c *AlertingPolicyChange) GetAlertingPolicyName() *Name

func (*AlertingPolicyChange) GetChangeType

func (m *AlertingPolicyChange) GetChangeType() isAlertingPolicyChange_ChangeType

func (*AlertingPolicyChange) GetCurrent

func (*AlertingPolicyChange) GetCurrentViewIndex

func (c *AlertingPolicyChange) GetCurrentViewIndex() int32

func (*AlertingPolicyChange) GetModified

func (*AlertingPolicyChange) GetPreviousViewIndex

func (c *AlertingPolicyChange) GetPreviousViewIndex() int32

func (*AlertingPolicyChange) GetRawName

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

func (*AlertingPolicyChange) GetRawResource added in v0.5.1

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

func (*AlertingPolicyChange) GetRemoved

func (*AlertingPolicyChange) GotenMessage

func (*AlertingPolicyChange) GotenMessage()

func (*AlertingPolicyChange) GotenValidate

func (obj *AlertingPolicyChange) GotenValidate() error

func (*AlertingPolicyChange) IsAdd

func (c *AlertingPolicyChange) IsAdd() bool

func (*AlertingPolicyChange) IsCurrent

func (c *AlertingPolicyChange) IsCurrent() bool

func (*AlertingPolicyChange) IsDelete

func (c *AlertingPolicyChange) IsDelete() bool

func (*AlertingPolicyChange) IsModify

func (c *AlertingPolicyChange) IsModify() bool

func (*AlertingPolicyChange) Marshal

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

func (*AlertingPolicyChange) MarshalJSON

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

func (*AlertingPolicyChange) ProtoMessage

func (*AlertingPolicyChange) ProtoMessage()

func (*AlertingPolicyChange) ProtoReflect

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

func (*AlertingPolicyChange) Reset

func (m *AlertingPolicyChange) Reset()

func (*AlertingPolicyChange) SetAdded

func (*AlertingPolicyChange) SetAddedRaw

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

func (*AlertingPolicyChange) SetChangeType

func (m *AlertingPolicyChange) SetChangeType(ofv isAlertingPolicyChange_ChangeType)

func (*AlertingPolicyChange) SetCurrent

func (*AlertingPolicyChange) SetCurrentRaw

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

func (*AlertingPolicyChange) SetDeletedRaw

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

func (*AlertingPolicyChange) SetModified

func (*AlertingPolicyChange) SetModifiedRaw

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

func (*AlertingPolicyChange) SetRemoved

func (*AlertingPolicyChange) String

func (m *AlertingPolicyChange) String() string

func (*AlertingPolicyChange) Unmarshal

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

func (*AlertingPolicyChange) UnmarshalJSON

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

type AlertingPolicyChangeList

type AlertingPolicyChangeList []*AlertingPolicyChange

func (AlertingPolicyChangeList) Append

func (AlertingPolicyChangeList) AppendList

func (AlertingPolicyChangeList) At

func (AlertingPolicyChangeList) Length

func (l AlertingPolicyChangeList) Length() int

func (AlertingPolicyChangeList) Set

func (AlertingPolicyChangeList) Slice

type AlertingPolicyChangeMap

type AlertingPolicyChangeMap map[Name]*AlertingPolicyChange

func (AlertingPolicyChangeMap) Delete

func (AlertingPolicyChangeMap) ForEach

func (AlertingPolicyChangeMap) Get

func (AlertingPolicyChangeMap) Length

func (m AlertingPolicyChangeMap) Length() int

func (AlertingPolicyChangeMap) Set

type AlertingPolicyChange_Added

type AlertingPolicyChange_Added struct {
	AlertingPolicy *AlertingPolicy `` /* 130-byte string literal not displayed */
	// Integer describing index of added AlertingPolicy 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
}

AlertingPolicy has been added to query view

func (*AlertingPolicyChange_Added) Descriptor

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

Deprecated, Use AlertingPolicyChange_Added.ProtoReflect.Descriptor instead.

func (*AlertingPolicyChange_Added) GetAlertingPolicy

func (m *AlertingPolicyChange_Added) GetAlertingPolicy() *AlertingPolicy

func (*AlertingPolicyChange_Added) GetViewIndex

func (m *AlertingPolicyChange_Added) GetViewIndex() int32

func (*AlertingPolicyChange_Added) GotenMessage

func (*AlertingPolicyChange_Added) GotenMessage()

func (*AlertingPolicyChange_Added) GotenValidate

func (obj *AlertingPolicyChange_Added) GotenValidate() error

func (*AlertingPolicyChange_Added) Marshal

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

func (*AlertingPolicyChange_Added) MarshalJSON

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

func (*AlertingPolicyChange_Added) ProtoMessage

func (*AlertingPolicyChange_Added) ProtoMessage()

func (*AlertingPolicyChange_Added) ProtoReflect

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

func (*AlertingPolicyChange_Added) Reset

func (m *AlertingPolicyChange_Added) Reset()

func (*AlertingPolicyChange_Added) SetAlertingPolicy

func (m *AlertingPolicyChange_Added) SetAlertingPolicy(fv *AlertingPolicy)

func (*AlertingPolicyChange_Added) SetViewIndex

func (m *AlertingPolicyChange_Added) SetViewIndex(fv int32)

func (*AlertingPolicyChange_Added) String

func (m *AlertingPolicyChange_Added) String() string

func (*AlertingPolicyChange_Added) Unmarshal

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

func (*AlertingPolicyChange_Added) UnmarshalJSON

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

type AlertingPolicyChange_Added_

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

type AlertingPolicyChange_Current

type AlertingPolicyChange_Current struct {
	AlertingPolicy *AlertingPolicy `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*AlertingPolicyChange_Current) Descriptor

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

Deprecated, Use AlertingPolicyChange_Current.ProtoReflect.Descriptor instead.

func (*AlertingPolicyChange_Current) GetAlertingPolicy

func (m *AlertingPolicyChange_Current) GetAlertingPolicy() *AlertingPolicy

func (*AlertingPolicyChange_Current) GotenMessage

func (*AlertingPolicyChange_Current) GotenMessage()

func (*AlertingPolicyChange_Current) GotenValidate

func (obj *AlertingPolicyChange_Current) GotenValidate() error

func (*AlertingPolicyChange_Current) Marshal

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

func (*AlertingPolicyChange_Current) MarshalJSON

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

func (*AlertingPolicyChange_Current) ProtoMessage

func (*AlertingPolicyChange_Current) ProtoMessage()

func (*AlertingPolicyChange_Current) ProtoReflect

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

func (*AlertingPolicyChange_Current) Reset

func (m *AlertingPolicyChange_Current) Reset()

func (*AlertingPolicyChange_Current) SetAlertingPolicy

func (m *AlertingPolicyChange_Current) SetAlertingPolicy(fv *AlertingPolicy)

func (*AlertingPolicyChange_Current) String

func (*AlertingPolicyChange_Current) Unmarshal

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

func (*AlertingPolicyChange_Current) UnmarshalJSON

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

type AlertingPolicyChange_Current_

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

type AlertingPolicyChange_Modified

type AlertingPolicyChange_Modified struct {

	// Name of modified AlertingPolicy
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// New version of AlertingPolicy or masked difference, depending on
	// mask_changes instrumentation of issued [WatchAlertingPolicyRequest] or
	// [WatchAlertingPoliciesRequest]
	AlertingPolicy *AlertingPolicy `` /* 130-byte string literal not displayed */
	// Used when mask_changes is set, contains field paths of modified
	// properties.
	FieldMask *AlertingPolicy_FieldMask `` /* 146-byte string literal not displayed */
	// Previous view index specifies previous position of modified
	// AlertingPolicy. When modification doesn't affect sorted order, value will
	// remain identical to [view_index].
	PreviousViewIndex int32 `` /* 145-byte string literal not displayed */
	// Integer specifying AlertingPolicy 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
}

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

func (*AlertingPolicyChange_Modified) Descriptor

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

Deprecated, Use AlertingPolicyChange_Modified.ProtoReflect.Descriptor instead.

func (*AlertingPolicyChange_Modified) GetAlertingPolicy

func (m *AlertingPolicyChange_Modified) GetAlertingPolicy() *AlertingPolicy

func (*AlertingPolicyChange_Modified) GetFieldMask

func (*AlertingPolicyChange_Modified) GetName

func (m *AlertingPolicyChange_Modified) GetName() *Name

func (*AlertingPolicyChange_Modified) GetPreviousViewIndex

func (m *AlertingPolicyChange_Modified) GetPreviousViewIndex() int32

func (*AlertingPolicyChange_Modified) GetViewIndex

func (m *AlertingPolicyChange_Modified) GetViewIndex() int32

func (*AlertingPolicyChange_Modified) GotenMessage

func (*AlertingPolicyChange_Modified) GotenMessage()

func (*AlertingPolicyChange_Modified) GotenValidate

func (obj *AlertingPolicyChange_Modified) GotenValidate() error

func (*AlertingPolicyChange_Modified) Marshal

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

func (*AlertingPolicyChange_Modified) MarshalJSON

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

func (*AlertingPolicyChange_Modified) ProtoMessage

func (*AlertingPolicyChange_Modified) ProtoMessage()

func (*AlertingPolicyChange_Modified) ProtoReflect

func (*AlertingPolicyChange_Modified) Reset

func (m *AlertingPolicyChange_Modified) Reset()

func (*AlertingPolicyChange_Modified) SetAlertingPolicy

func (m *AlertingPolicyChange_Modified) SetAlertingPolicy(fv *AlertingPolicy)

func (*AlertingPolicyChange_Modified) SetFieldMask

func (*AlertingPolicyChange_Modified) SetName

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

func (*AlertingPolicyChange_Modified) SetPreviousViewIndex

func (m *AlertingPolicyChange_Modified) SetPreviousViewIndex(fv int32)

func (*AlertingPolicyChange_Modified) SetViewIndex

func (m *AlertingPolicyChange_Modified) SetViewIndex(fv int32)

func (*AlertingPolicyChange_Modified) String

func (*AlertingPolicyChange_Modified) Unmarshal

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

func (*AlertingPolicyChange_Modified) UnmarshalJSON

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

type AlertingPolicyChange_Modified_

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

type AlertingPolicyChange_Removed

type AlertingPolicyChange_Removed struct {
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Integer specifying removed AlertingPolicy 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 AlertingPolicy is deleted or leaves Query view

func (*AlertingPolicyChange_Removed) Descriptor

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

Deprecated, Use AlertingPolicyChange_Removed.ProtoReflect.Descriptor instead.

func (*AlertingPolicyChange_Removed) GetName

func (m *AlertingPolicyChange_Removed) GetName() *Name

func (*AlertingPolicyChange_Removed) GetViewIndex

func (m *AlertingPolicyChange_Removed) GetViewIndex() int32

func (*AlertingPolicyChange_Removed) GotenMessage

func (*AlertingPolicyChange_Removed) GotenMessage()

func (*AlertingPolicyChange_Removed) GotenValidate

func (obj *AlertingPolicyChange_Removed) GotenValidate() error

func (*AlertingPolicyChange_Removed) Marshal

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

func (*AlertingPolicyChange_Removed) MarshalJSON

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

func (*AlertingPolicyChange_Removed) ProtoMessage

func (*AlertingPolicyChange_Removed) ProtoMessage()

func (*AlertingPolicyChange_Removed) ProtoReflect

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

func (*AlertingPolicyChange_Removed) Reset

func (m *AlertingPolicyChange_Removed) Reset()

func (*AlertingPolicyChange_Removed) SetName

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

func (*AlertingPolicyChange_Removed) SetViewIndex

func (m *AlertingPolicyChange_Removed) SetViewIndex(fv int32)

func (*AlertingPolicyChange_Removed) String

func (*AlertingPolicyChange_Removed) Unmarshal

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

func (*AlertingPolicyChange_Removed) UnmarshalJSON

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

type AlertingPolicyChange_Removed_

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

type AlertingPolicyDocumentationFieldPathBuilder

type AlertingPolicyDocumentationFieldPathBuilder struct{}

func NewAlertingPolicyDocumentationFieldPathBuilder

func NewAlertingPolicyDocumentationFieldPathBuilder() AlertingPolicyDocumentationFieldPathBuilder

func (AlertingPolicyDocumentationFieldPathBuilder) Content

func (AlertingPolicyDocumentationFieldPathBuilder) MimeType

type AlertingPolicyDocumentation_FieldPath

type AlertingPolicyDocumentation_FieldPath interface {
	gotenobject.FieldPath
	Selector() AlertingPolicyDocumentation_FieldPathSelector
	Get(source *AlertingPolicy_Documentation) []interface{}
	GetSingle(source *AlertingPolicy_Documentation) (interface{}, bool)
	ClearValue(item *AlertingPolicy_Documentation)

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

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

func MustParseAlertingPolicyDocumentation_FieldPath

func MustParseAlertingPolicyDocumentation_FieldPath(rawField string) AlertingPolicyDocumentation_FieldPath

func ParseAlertingPolicyDocumentation_FieldPath

func ParseAlertingPolicyDocumentation_FieldPath(rawField string) (AlertingPolicyDocumentation_FieldPath, error)

type AlertingPolicyDocumentation_FieldPathArrayItemValue

type AlertingPolicyDocumentation_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AlertingPolicyDocumentation_FieldPath
	ContainsValue(*AlertingPolicy_Documentation) bool
}

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

func MustParseAlertingPolicyDocumentation_FieldPathArrayItemValue

func MustParseAlertingPolicyDocumentation_FieldPathArrayItemValue(pathStr, valueStr string) AlertingPolicyDocumentation_FieldPathArrayItemValue

func ParseAlertingPolicyDocumentation_FieldPathArrayItemValue

func ParseAlertingPolicyDocumentation_FieldPathArrayItemValue(pathStr, valueStr string) (AlertingPolicyDocumentation_FieldPathArrayItemValue, error)

ParseAlertingPolicyDocumentation_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AlertingPolicyDocumentation_FieldPathArrayOfValues

type AlertingPolicyDocumentation_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AlertingPolicyDocumentation_FieldPath
}

AlertingPolicyDocumentation_FieldPathArrayOfValues allows storing slice of values for Documentation fields according to their type

func MustParseAlertingPolicyDocumentation_FieldPathArrayOfValues

func MustParseAlertingPolicyDocumentation_FieldPathArrayOfValues(pathStr, valuesStr string) AlertingPolicyDocumentation_FieldPathArrayOfValues

func ParseAlertingPolicyDocumentation_FieldPathArrayOfValues

func ParseAlertingPolicyDocumentation_FieldPathArrayOfValues(pathStr, valuesStr string) (AlertingPolicyDocumentation_FieldPathArrayOfValues, error)

type AlertingPolicyDocumentation_FieldPathSelector

type AlertingPolicyDocumentation_FieldPathSelector int32
const (
	AlertingPolicyDocumentation_FieldPathSelectorContent  AlertingPolicyDocumentation_FieldPathSelector = 0
	AlertingPolicyDocumentation_FieldPathSelectorMimeType AlertingPolicyDocumentation_FieldPathSelector = 1
)

func (AlertingPolicyDocumentation_FieldPathSelector) String

type AlertingPolicyDocumentation_FieldPathValue

type AlertingPolicyDocumentation_FieldPathValue interface {
	AlertingPolicyDocumentation_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AlertingPolicy_Documentation)
	CompareWith(*AlertingPolicy_Documentation) (cmp int, comparable bool)
}

AlertingPolicyDocumentation_FieldPathValue allows storing values for Documentation fields according to their type

func MustParseAlertingPolicyDocumentation_FieldPathValue

func MustParseAlertingPolicyDocumentation_FieldPathValue(pathStr, valueStr string) AlertingPolicyDocumentation_FieldPathValue

func ParseAlertingPolicyDocumentation_FieldPathValue

func ParseAlertingPolicyDocumentation_FieldPathValue(pathStr, valueStr string) (AlertingPolicyDocumentation_FieldPathValue, error)

type AlertingPolicyDocumentation_FieldTerminalPath

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

func (*AlertingPolicyDocumentation_FieldTerminalPath) ClearValue

func (*AlertingPolicyDocumentation_FieldTerminalPath) ClearValueRaw

func (*AlertingPolicyDocumentation_FieldTerminalPath) Get

func (fp *AlertingPolicyDocumentation_FieldTerminalPath) Get(source *AlertingPolicy_Documentation) (values []interface{})

Get returns all values pointed by specific field from source AlertingPolicy_Documentation

func (*AlertingPolicyDocumentation_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicyDocumentation_FieldTerminalPath) GetRaw

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

func (*AlertingPolicyDocumentation_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source AlertingPolicy_Documentation

func (*AlertingPolicyDocumentation_FieldTerminalPath) GetSingleRaw

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

func (*AlertingPolicyDocumentation_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AlertingPolicyDocumentation_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*AlertingPolicyDocumentation_FieldTerminalPath) Selector

func (*AlertingPolicyDocumentation_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (*AlertingPolicyDocumentation_FieldTerminalPath) String

String returns path representation in proto convention

func (*AlertingPolicyDocumentation_FieldTerminalPath) WithIArrayItemValue

func (*AlertingPolicyDocumentation_FieldTerminalPath) WithIArrayOfValues

func (*AlertingPolicyDocumentation_FieldTerminalPath) WithIValue

func (*AlertingPolicyDocumentation_FieldTerminalPath) WithRawIArrayItemValue

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

func (*AlertingPolicyDocumentation_FieldTerminalPath) WithRawIArrayOfValues

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

func (*AlertingPolicyDocumentation_FieldTerminalPath) WithRawIValue

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

type AlertingPolicyDocumentation_FieldTerminalPathArrayItemValue

type AlertingPolicyDocumentation_FieldTerminalPathArrayItemValue struct {
	AlertingPolicyDocumentation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicyDocumentation_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*AlertingPolicyDocumentation_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*AlertingPolicyDocumentation_FieldTerminalPathArrayItemValue) GetSingle

func (*AlertingPolicyDocumentation_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type AlertingPolicyDocumentation_FieldTerminalPathArrayOfValues

type AlertingPolicyDocumentation_FieldTerminalPathArrayOfValues struct {
	AlertingPolicyDocumentation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicyDocumentation_FieldTerminalPathArrayOfValues) AsContentArrayOfValues

func (fpaov *AlertingPolicyDocumentation_FieldTerminalPathArrayOfValues) AsContentArrayOfValues() ([]string, bool)

func (*AlertingPolicyDocumentation_FieldTerminalPathArrayOfValues) AsMimeTypeArrayOfValues

func (fpaov *AlertingPolicyDocumentation_FieldTerminalPathArrayOfValues) AsMimeTypeArrayOfValues() ([]string, bool)

func (*AlertingPolicyDocumentation_FieldTerminalPathArrayOfValues) GetRawValues

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

type AlertingPolicyDocumentation_FieldTerminalPathValue

type AlertingPolicyDocumentation_FieldTerminalPathValue struct {
	AlertingPolicyDocumentation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicyDocumentation_FieldTerminalPathValue) AsContentValue

func (*AlertingPolicyDocumentation_FieldTerminalPathValue) AsMimeTypeValue

func (*AlertingPolicyDocumentation_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'AlertingPolicyDocumentation_FieldTerminalPathValue' with the value under path in 'AlertingPolicy_Documentation'.

func (*AlertingPolicyDocumentation_FieldTerminalPathValue) CompareWithRaw

func (*AlertingPolicyDocumentation_FieldTerminalPathValue) GetRawValue

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

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

func (*AlertingPolicyDocumentation_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Documentation

func (*AlertingPolicyDocumentation_FieldTerminalPathValue) SetToRaw

type AlertingPolicyFieldPathBuilder

type AlertingPolicyFieldPathBuilder struct{}

func NewAlertingPolicyFieldPathBuilder

func NewAlertingPolicyFieldPathBuilder() AlertingPolicyFieldPathBuilder

func (AlertingPolicyFieldPathBuilder) Description

func (AlertingPolicyFieldPathBuilder) DisplayName

func (AlertingPolicyFieldPathBuilder) Documentation

func (AlertingPolicyFieldPathBuilder) Metadata

func (AlertingPolicyFieldPathBuilder) Name

func (AlertingPolicyFieldPathBuilder) Spec

type AlertingPolicyList

type AlertingPolicyList []*AlertingPolicy

func (AlertingPolicyList) Append

func (AlertingPolicyList) AppendList

func (AlertingPolicyList) At

func (AlertingPolicyList) Length

func (l AlertingPolicyList) Length() int

func (AlertingPolicyList) Set

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

func (AlertingPolicyList) Slice

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

type AlertingPolicyMap

type AlertingPolicyMap map[Name]*AlertingPolicy

func (AlertingPolicyMap) Delete

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

func (AlertingPolicyMap) ForEach

func (AlertingPolicyMap) Get

func (AlertingPolicyMap) Length

func (m AlertingPolicyMap) Length() int

func (AlertingPolicyMap) Set

type AlertingPolicyMapPathSelectorMetadataAnnotations

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

func (AlertingPolicyMapPathSelectorMetadataAnnotations) FieldPath

func (AlertingPolicyMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (AlertingPolicyMapPathSelectorMetadataAnnotations) WithValue

type AlertingPolicyMapPathSelectorMetadataLabels

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

func (AlertingPolicyMapPathSelectorMetadataLabels) FieldPath

func (AlertingPolicyMapPathSelectorMetadataLabels) WithArrayOfValues

func (AlertingPolicyMapPathSelectorMetadataLabels) WithValue

type AlertingPolicyMapPathSelectorMetadataShards

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

func (AlertingPolicyMapPathSelectorMetadataShards) FieldPath

func (AlertingPolicyMapPathSelectorMetadataShards) WithArrayOfValues

func (AlertingPolicyMapPathSelectorMetadataShards) WithValue

type AlertingPolicyNameList

type AlertingPolicyNameList []*Name

func (AlertingPolicyNameList) Append

func (AlertingPolicyNameList) AppendList

func (AlertingPolicyNameList) At

func (AlertingPolicyNameList) Length

func (l AlertingPolicyNameList) Length() int

func (AlertingPolicyNameList) Set

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

func (AlertingPolicyNameList) Slice

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

type AlertingPolicyParentNameList

type AlertingPolicyParentNameList []*ParentName

func (AlertingPolicyParentNameList) Append

func (AlertingPolicyParentNameList) AppendList

func (AlertingPolicyParentNameList) At

func (AlertingPolicyParentNameList) Length

func (l AlertingPolicyParentNameList) Length() int

func (AlertingPolicyParentNameList) Set

func (AlertingPolicyParentNameList) Slice

type AlertingPolicyParentReferenceList

type AlertingPolicyParentReferenceList []*ParentReference

func (AlertingPolicyParentReferenceList) Append

func (AlertingPolicyParentReferenceList) AppendList

func (AlertingPolicyParentReferenceList) At

func (AlertingPolicyParentReferenceList) Length

func (AlertingPolicyParentReferenceList) Set

func (AlertingPolicyParentReferenceList) Slice

type AlertingPolicyPathSelectorDescription

type AlertingPolicyPathSelectorDescription struct{}

func (AlertingPolicyPathSelectorDescription) FieldPath

func (AlertingPolicyPathSelectorDescription) WithArrayOfValues

func (AlertingPolicyPathSelectorDescription) WithValue

type AlertingPolicyPathSelectorDisplayName

type AlertingPolicyPathSelectorDisplayName struct{}

func (AlertingPolicyPathSelectorDisplayName) FieldPath

func (AlertingPolicyPathSelectorDisplayName) WithArrayOfValues

func (AlertingPolicyPathSelectorDisplayName) WithValue

type AlertingPolicyPathSelectorDocumentation

type AlertingPolicyPathSelectorDocumentation struct{}

func (AlertingPolicyPathSelectorDocumentation) Content

func (AlertingPolicyPathSelectorDocumentation) FieldPath

func (AlertingPolicyPathSelectorDocumentation) MimeType

func (AlertingPolicyPathSelectorDocumentation) WithArrayOfValues

func (AlertingPolicyPathSelectorDocumentation) WithSubArrayItemValue

func (AlertingPolicyPathSelectorDocumentation) WithSubArrayOfValues

func (AlertingPolicyPathSelectorDocumentation) WithSubPath

func (AlertingPolicyPathSelectorDocumentation) WithSubValue

func (AlertingPolicyPathSelectorDocumentation) WithValue

type AlertingPolicyPathSelectorDocumentationContent

type AlertingPolicyPathSelectorDocumentationContent struct{}

func (AlertingPolicyPathSelectorDocumentationContent) FieldPath

func (AlertingPolicyPathSelectorDocumentationContent) WithArrayOfValues

func (AlertingPolicyPathSelectorDocumentationContent) WithValue

type AlertingPolicyPathSelectorDocumentationMimeType

type AlertingPolicyPathSelectorDocumentationMimeType struct{}

func (AlertingPolicyPathSelectorDocumentationMimeType) FieldPath

func (AlertingPolicyPathSelectorDocumentationMimeType) WithArrayOfValues

func (AlertingPolicyPathSelectorDocumentationMimeType) WithValue

type AlertingPolicyPathSelectorMetadata

type AlertingPolicyPathSelectorMetadata struct{}

func (AlertingPolicyPathSelectorMetadata) Annotations

func (AlertingPolicyPathSelectorMetadata) CreateTime

func (AlertingPolicyPathSelectorMetadata) DeleteTime added in v0.8.0

func (AlertingPolicyPathSelectorMetadata) FieldPath

func (AlertingPolicyPathSelectorMetadata) Generation

func (AlertingPolicyPathSelectorMetadata) Labels

func (AlertingPolicyPathSelectorMetadata) Lifecycle added in v0.8.0

func (AlertingPolicyPathSelectorMetadata) OwnerReferences

func (AlertingPolicyPathSelectorMetadata) ResourceVersion

func (AlertingPolicyPathSelectorMetadata) Shards

func (AlertingPolicyPathSelectorMetadata) Syncing

func (AlertingPolicyPathSelectorMetadata) Tags

func (AlertingPolicyPathSelectorMetadata) UpdateTime

func (AlertingPolicyPathSelectorMetadata) Uuid

func (AlertingPolicyPathSelectorMetadata) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadata) WithSubArrayItemValue

func (AlertingPolicyPathSelectorMetadata) WithSubArrayOfValues

func (AlertingPolicyPathSelectorMetadata) WithSubPath

func (AlertingPolicyPathSelectorMetadata) WithSubValue

func (AlertingPolicyPathSelectorMetadata) WithValue

type AlertingPolicyPathSelectorMetadataAnnotations

type AlertingPolicyPathSelectorMetadataAnnotations struct{}

func (AlertingPolicyPathSelectorMetadataAnnotations) FieldPath

func (AlertingPolicyPathSelectorMetadataAnnotations) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataAnnotations) WithKey

func (AlertingPolicyPathSelectorMetadataAnnotations) WithValue

type AlertingPolicyPathSelectorMetadataCreateTime

type AlertingPolicyPathSelectorMetadataCreateTime struct{}

func (AlertingPolicyPathSelectorMetadataCreateTime) FieldPath

func (AlertingPolicyPathSelectorMetadataCreateTime) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataCreateTime) WithValue

type AlertingPolicyPathSelectorMetadataDeleteTime added in v0.8.0

type AlertingPolicyPathSelectorMetadataDeleteTime struct{}

func (AlertingPolicyPathSelectorMetadataDeleteTime) FieldPath added in v0.8.0

func (AlertingPolicyPathSelectorMetadataDeleteTime) WithArrayOfValues added in v0.8.0

func (AlertingPolicyPathSelectorMetadataDeleteTime) WithValue added in v0.8.0

type AlertingPolicyPathSelectorMetadataGeneration

type AlertingPolicyPathSelectorMetadataGeneration struct{}

func (AlertingPolicyPathSelectorMetadataGeneration) FieldPath

func (AlertingPolicyPathSelectorMetadataGeneration) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataGeneration) WithValue

type AlertingPolicyPathSelectorMetadataLabels

type AlertingPolicyPathSelectorMetadataLabels struct{}

func (AlertingPolicyPathSelectorMetadataLabels) FieldPath

func (AlertingPolicyPathSelectorMetadataLabels) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataLabels) WithKey

func (AlertingPolicyPathSelectorMetadataLabels) WithValue

type AlertingPolicyPathSelectorMetadataLifecycle added in v0.8.0

type AlertingPolicyPathSelectorMetadataLifecycle struct{}

func (AlertingPolicyPathSelectorMetadataLifecycle) BlockDeletion added in v0.8.0

func (AlertingPolicyPathSelectorMetadataLifecycle) FieldPath added in v0.8.0

func (AlertingPolicyPathSelectorMetadataLifecycle) State added in v0.8.0

func (AlertingPolicyPathSelectorMetadataLifecycle) WithArrayOfValues added in v0.8.0

func (AlertingPolicyPathSelectorMetadataLifecycle) WithValue added in v0.8.0

type AlertingPolicyPathSelectorMetadataLifecycleBlockDeletion added in v0.8.0

type AlertingPolicyPathSelectorMetadataLifecycleBlockDeletion struct{}

func (AlertingPolicyPathSelectorMetadataLifecycleBlockDeletion) FieldPath added in v0.8.0

func (AlertingPolicyPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues added in v0.8.0

func (AlertingPolicyPathSelectorMetadataLifecycleBlockDeletion) WithValue added in v0.8.0

type AlertingPolicyPathSelectorMetadataLifecycleState added in v0.8.0

type AlertingPolicyPathSelectorMetadataLifecycleState struct{}

func (AlertingPolicyPathSelectorMetadataLifecycleState) FieldPath added in v0.8.0

func (AlertingPolicyPathSelectorMetadataLifecycleState) WithArrayOfValues added in v0.8.0

func (AlertingPolicyPathSelectorMetadataLifecycleState) WithValue added in v0.8.0

type AlertingPolicyPathSelectorMetadataOwnerReferences

type AlertingPolicyPathSelectorMetadataOwnerReferences struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferences) Controller

func (AlertingPolicyPathSelectorMetadataOwnerReferences) FieldPath

func (AlertingPolicyPathSelectorMetadataOwnerReferences) Kind

func (AlertingPolicyPathSelectorMetadataOwnerReferences) Name

func (AlertingPolicyPathSelectorMetadataOwnerReferences) Region added in v0.8.0

func (AlertingPolicyPathSelectorMetadataOwnerReferences) RequiresOwnerReference added in v0.8.0

func (AlertingPolicyPathSelectorMetadataOwnerReferences) Version added in v0.8.0

func (AlertingPolicyPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataOwnerReferences) WithItemValue

func (AlertingPolicyPathSelectorMetadataOwnerReferences) WithValue

type AlertingPolicyPathSelectorMetadataOwnerReferencesBlockOwnerDeletion

type AlertingPolicyPathSelectorMetadataOwnerReferencesBlockOwnerDeletion struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath

func (AlertingPolicyPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue

type AlertingPolicyPathSelectorMetadataOwnerReferencesController

type AlertingPolicyPathSelectorMetadataOwnerReferencesController struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferencesController) FieldPath

func (AlertingPolicyPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataOwnerReferencesController) WithValue

type AlertingPolicyPathSelectorMetadataOwnerReferencesKind

type AlertingPolicyPathSelectorMetadataOwnerReferencesKind struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferencesKind) FieldPath

func (AlertingPolicyPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataOwnerReferencesKind) WithValue

type AlertingPolicyPathSelectorMetadataOwnerReferencesName

type AlertingPolicyPathSelectorMetadataOwnerReferencesName struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferencesName) FieldPath

func (AlertingPolicyPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataOwnerReferencesName) WithValue

type AlertingPolicyPathSelectorMetadataOwnerReferencesRegion added in v0.8.0

type AlertingPolicyPathSelectorMetadataOwnerReferencesRegion struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferencesRegion) FieldPath added in v0.8.0

func (AlertingPolicyPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues added in v0.8.0

func (AlertingPolicyPathSelectorMetadataOwnerReferencesRegion) WithValue added in v0.8.0

type AlertingPolicyPathSelectorMetadataOwnerReferencesRequiresOwnerReference added in v0.8.0

type AlertingPolicyPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath added in v0.8.0

func (AlertingPolicyPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues added in v0.8.0

func (AlertingPolicyPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue added in v0.8.0

type AlertingPolicyPathSelectorMetadataOwnerReferencesVersion added in v0.8.0

type AlertingPolicyPathSelectorMetadataOwnerReferencesVersion struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferencesVersion) FieldPath added in v0.8.0

func (AlertingPolicyPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues added in v0.8.0

func (AlertingPolicyPathSelectorMetadataOwnerReferencesVersion) WithValue added in v0.8.0

type AlertingPolicyPathSelectorMetadataResourceVersion

type AlertingPolicyPathSelectorMetadataResourceVersion struct{}

func (AlertingPolicyPathSelectorMetadataResourceVersion) FieldPath

func (AlertingPolicyPathSelectorMetadataResourceVersion) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataResourceVersion) WithValue

type AlertingPolicyPathSelectorMetadataShards

type AlertingPolicyPathSelectorMetadataShards struct{}

func (AlertingPolicyPathSelectorMetadataShards) FieldPath

func (AlertingPolicyPathSelectorMetadataShards) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataShards) WithKey

func (AlertingPolicyPathSelectorMetadataShards) WithValue

type AlertingPolicyPathSelectorMetadataSyncing

type AlertingPolicyPathSelectorMetadataSyncing struct{}

func (AlertingPolicyPathSelectorMetadataSyncing) FieldPath

func (AlertingPolicyPathSelectorMetadataSyncing) OwningRegion

func (AlertingPolicyPathSelectorMetadataSyncing) Regions

func (AlertingPolicyPathSelectorMetadataSyncing) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataSyncing) WithValue

type AlertingPolicyPathSelectorMetadataSyncingOwningRegion

type AlertingPolicyPathSelectorMetadataSyncingOwningRegion struct{}

func (AlertingPolicyPathSelectorMetadataSyncingOwningRegion) FieldPath

func (AlertingPolicyPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataSyncingOwningRegion) WithValue

type AlertingPolicyPathSelectorMetadataSyncingRegions

type AlertingPolicyPathSelectorMetadataSyncingRegions struct{}

func (AlertingPolicyPathSelectorMetadataSyncingRegions) FieldPath

func (AlertingPolicyPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataSyncingRegions) WithItemValue

func (AlertingPolicyPathSelectorMetadataSyncingRegions) WithValue

type AlertingPolicyPathSelectorMetadataTags

type AlertingPolicyPathSelectorMetadataTags struct{}

func (AlertingPolicyPathSelectorMetadataTags) FieldPath

func (AlertingPolicyPathSelectorMetadataTags) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataTags) WithItemValue

func (AlertingPolicyPathSelectorMetadataTags) WithValue

type AlertingPolicyPathSelectorMetadataUpdateTime

type AlertingPolicyPathSelectorMetadataUpdateTime struct{}

func (AlertingPolicyPathSelectorMetadataUpdateTime) FieldPath

func (AlertingPolicyPathSelectorMetadataUpdateTime) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataUpdateTime) WithValue

type AlertingPolicyPathSelectorMetadataUuid

type AlertingPolicyPathSelectorMetadataUuid struct{}

func (AlertingPolicyPathSelectorMetadataUuid) FieldPath

func (AlertingPolicyPathSelectorMetadataUuid) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataUuid) WithValue

type AlertingPolicyPathSelectorName

type AlertingPolicyPathSelectorName struct{}

func (AlertingPolicyPathSelectorName) FieldPath

func (AlertingPolicyPathSelectorName) WithArrayOfValues

func (AlertingPolicyPathSelectorName) WithValue

type AlertingPolicyPathSelectorSpec

type AlertingPolicyPathSelectorSpec struct{}

func (AlertingPolicyPathSelectorSpec) ConditionCombiner

func (AlertingPolicyPathSelectorSpec) Enabled

func (AlertingPolicyPathSelectorSpec) FieldPath

func (AlertingPolicyPathSelectorSpec) Notification

func (AlertingPolicyPathSelectorSpec) WithArrayOfValues

func (AlertingPolicyPathSelectorSpec) WithSubArrayItemValue

func (AlertingPolicyPathSelectorSpec) WithSubArrayOfValues

func (AlertingPolicyPathSelectorSpec) WithSubPath

func (AlertingPolicyPathSelectorSpec) WithSubValue

func (AlertingPolicyPathSelectorSpec) WithValue

type AlertingPolicyPathSelectorSpecConditionCombiner

type AlertingPolicyPathSelectorSpecConditionCombiner struct{}

func (AlertingPolicyPathSelectorSpecConditionCombiner) FieldPath

func (AlertingPolicyPathSelectorSpecConditionCombiner) WithArrayOfValues

func (AlertingPolicyPathSelectorSpecConditionCombiner) WithValue

type AlertingPolicyPathSelectorSpecEnabled

type AlertingPolicyPathSelectorSpecEnabled struct{}

func (AlertingPolicyPathSelectorSpecEnabled) FieldPath

func (AlertingPolicyPathSelectorSpecEnabled) WithArrayOfValues

func (AlertingPolicyPathSelectorSpecEnabled) WithValue

type AlertingPolicyPathSelectorSpecNotification

type AlertingPolicyPathSelectorSpecNotification struct{}

func (AlertingPolicyPathSelectorSpecNotification) FieldPath

func (AlertingPolicyPathSelectorSpecNotification) Slack

func (AlertingPolicyPathSelectorSpecNotification) WithArrayOfValues

func (AlertingPolicyPathSelectorSpecNotification) WithValue

type AlertingPolicyPathSelectorSpecNotificationSlack

type AlertingPolicyPathSelectorSpecNotificationSlack struct{}

func (AlertingPolicyPathSelectorSpecNotificationSlack) App

func (AlertingPolicyPathSelectorSpecNotificationSlack) FieldPath

func (AlertingPolicyPathSelectorSpecNotificationSlack) IncomingWebhook

func (AlertingPolicyPathSelectorSpecNotificationSlack) WithArrayOfValues

func (AlertingPolicyPathSelectorSpecNotificationSlack) WithValue

type AlertingPolicyPathSelectorSpecNotificationSlackApp

type AlertingPolicyPathSelectorSpecNotificationSlackApp struct{}

func (AlertingPolicyPathSelectorSpecNotificationSlackApp) AuthToken

func (AlertingPolicyPathSelectorSpecNotificationSlackApp) Channel

func (AlertingPolicyPathSelectorSpecNotificationSlackApp) FieldPath

func (AlertingPolicyPathSelectorSpecNotificationSlackApp) WithArrayOfValues

func (AlertingPolicyPathSelectorSpecNotificationSlackApp) WithValue

type AlertingPolicyPathSelectorSpecNotificationSlackAppAuthToken

type AlertingPolicyPathSelectorSpecNotificationSlackAppAuthToken struct{}

func (AlertingPolicyPathSelectorSpecNotificationSlackAppAuthToken) FieldPath

func (AlertingPolicyPathSelectorSpecNotificationSlackAppAuthToken) WithArrayOfValues

func (AlertingPolicyPathSelectorSpecNotificationSlackAppAuthToken) WithValue

type AlertingPolicyPathSelectorSpecNotificationSlackAppChannel

type AlertingPolicyPathSelectorSpecNotificationSlackAppChannel struct{}

func (AlertingPolicyPathSelectorSpecNotificationSlackAppChannel) FieldPath

func (AlertingPolicyPathSelectorSpecNotificationSlackAppChannel) WithArrayOfValues

func (AlertingPolicyPathSelectorSpecNotificationSlackAppChannel) WithItemValue

func (AlertingPolicyPathSelectorSpecNotificationSlackAppChannel) WithValue

type AlertingPolicyPathSelectorSpecNotificationSlackIncomingWebhook

type AlertingPolicyPathSelectorSpecNotificationSlackIncomingWebhook struct{}

func (AlertingPolicyPathSelectorSpecNotificationSlackIncomingWebhook) FieldPath

func (AlertingPolicyPathSelectorSpecNotificationSlackIncomingWebhook) WithArrayOfValues

func (AlertingPolicyPathSelectorSpecNotificationSlackIncomingWebhook) WithValue

type AlertingPolicyReferenceList

type AlertingPolicyReferenceList []*Reference

func (AlertingPolicyReferenceList) Append

func (AlertingPolicyReferenceList) AppendList

func (AlertingPolicyReferenceList) At

func (AlertingPolicyReferenceList) Length

func (l AlertingPolicyReferenceList) Length() int

func (AlertingPolicyReferenceList) Set

func (AlertingPolicyReferenceList) Slice

type AlertingPolicySpecFieldPathBuilder

type AlertingPolicySpecFieldPathBuilder struct{}

func NewAlertingPolicySpecFieldPathBuilder

func NewAlertingPolicySpecFieldPathBuilder() AlertingPolicySpecFieldPathBuilder

func (AlertingPolicySpecFieldPathBuilder) ConditionCombiner

func (AlertingPolicySpecFieldPathBuilder) Enabled

func (AlertingPolicySpecFieldPathBuilder) Notification

type AlertingPolicySpecNotificationFieldPathBuilder

type AlertingPolicySpecNotificationFieldPathBuilder struct{}

func NewAlertingPolicySpecNotificationFieldPathBuilder

func NewAlertingPolicySpecNotificationFieldPathBuilder() AlertingPolicySpecNotificationFieldPathBuilder

func (AlertingPolicySpecNotificationFieldPathBuilder) Slack

type AlertingPolicySpecNotificationSlackAppFieldPathBuilder

type AlertingPolicySpecNotificationSlackAppFieldPathBuilder struct{}

func (AlertingPolicySpecNotificationSlackAppFieldPathBuilder) AuthToken

func (AlertingPolicySpecNotificationSlackAppFieldPathBuilder) Channel

type AlertingPolicySpecNotificationSlackApp_FieldPath

type AlertingPolicySpecNotificationSlackApp_FieldPath interface {
	gotenobject.FieldPath
	Selector() AlertingPolicySpecNotificationSlackApp_FieldPathSelector
	Get(source *AlertingPolicy_Spec_Notification_Slack_App) []interface{}
	GetSingle(source *AlertingPolicy_Spec_Notification_Slack_App) (interface{}, bool)
	ClearValue(item *AlertingPolicy_Spec_Notification_Slack_App)

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

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

func MustParseAlertingPolicySpecNotificationSlackApp_FieldPath

func MustParseAlertingPolicySpecNotificationSlackApp_FieldPath(rawField string) AlertingPolicySpecNotificationSlackApp_FieldPath

func ParseAlertingPolicySpecNotificationSlackApp_FieldPath

func ParseAlertingPolicySpecNotificationSlackApp_FieldPath(rawField string) (AlertingPolicySpecNotificationSlackApp_FieldPath, error)

type AlertingPolicySpecNotificationSlackApp_FieldPathArrayItemValue

type AlertingPolicySpecNotificationSlackApp_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AlertingPolicySpecNotificationSlackApp_FieldPath
	ContainsValue(*AlertingPolicy_Spec_Notification_Slack_App) bool
}

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

func MustParseAlertingPolicySpecNotificationSlackApp_FieldPathArrayItemValue

func MustParseAlertingPolicySpecNotificationSlackApp_FieldPathArrayItemValue(pathStr, valueStr string) AlertingPolicySpecNotificationSlackApp_FieldPathArrayItemValue

func ParseAlertingPolicySpecNotificationSlackApp_FieldPathArrayItemValue

func ParseAlertingPolicySpecNotificationSlackApp_FieldPathArrayItemValue(pathStr, valueStr string) (AlertingPolicySpecNotificationSlackApp_FieldPathArrayItemValue, error)

ParseAlertingPolicySpecNotificationSlackApp_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AlertingPolicySpecNotificationSlackApp_FieldPathArrayOfValues

type AlertingPolicySpecNotificationSlackApp_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AlertingPolicySpecNotificationSlackApp_FieldPath
}

AlertingPolicySpecNotificationSlackApp_FieldPathArrayOfValues allows storing slice of values for App fields according to their type

func MustParseAlertingPolicySpecNotificationSlackApp_FieldPathArrayOfValues

func MustParseAlertingPolicySpecNotificationSlackApp_FieldPathArrayOfValues(pathStr, valuesStr string) AlertingPolicySpecNotificationSlackApp_FieldPathArrayOfValues

func ParseAlertingPolicySpecNotificationSlackApp_FieldPathArrayOfValues

func ParseAlertingPolicySpecNotificationSlackApp_FieldPathArrayOfValues(pathStr, valuesStr string) (AlertingPolicySpecNotificationSlackApp_FieldPathArrayOfValues, error)

type AlertingPolicySpecNotificationSlackApp_FieldPathSelector

type AlertingPolicySpecNotificationSlackApp_FieldPathSelector int32
const (
	AlertingPolicySpecNotificationSlackApp_FieldPathSelectorAuthToken AlertingPolicySpecNotificationSlackApp_FieldPathSelector = 0
	AlertingPolicySpecNotificationSlackApp_FieldPathSelectorChannel   AlertingPolicySpecNotificationSlackApp_FieldPathSelector = 1
)

func (AlertingPolicySpecNotificationSlackApp_FieldPathSelector) String

type AlertingPolicySpecNotificationSlackApp_FieldPathValue

type AlertingPolicySpecNotificationSlackApp_FieldPathValue interface {
	AlertingPolicySpecNotificationSlackApp_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AlertingPolicy_Spec_Notification_Slack_App)
	CompareWith(*AlertingPolicy_Spec_Notification_Slack_App) (cmp int, comparable bool)
}

AlertingPolicySpecNotificationSlackApp_FieldPathValue allows storing values for App fields according to their type

func MustParseAlertingPolicySpecNotificationSlackApp_FieldPathValue

func MustParseAlertingPolicySpecNotificationSlackApp_FieldPathValue(pathStr, valueStr string) AlertingPolicySpecNotificationSlackApp_FieldPathValue

func ParseAlertingPolicySpecNotificationSlackApp_FieldPathValue

func ParseAlertingPolicySpecNotificationSlackApp_FieldPathValue(pathStr, valueStr string) (AlertingPolicySpecNotificationSlackApp_FieldPathValue, error)

type AlertingPolicySpecNotificationSlackApp_FieldTerminalPath

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

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) ClearValue

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) ClearValueRaw

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) Get

Get returns all values pointed by specific field from source AlertingPolicy_Spec_Notification_Slack_App

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) GetRaw

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source AlertingPolicy_Spec_Notification_Slack_App

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) GetSingleRaw

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

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) Selector

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) String

String returns path representation in proto convention

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) WithIArrayItemValue

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) WithIArrayOfValues

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) WithIValue

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) WithRawIArrayItemValue

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) WithRawIArrayOfValues

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPath) WithRawIValue

type AlertingPolicySpecNotificationSlackApp_FieldTerminalPathArrayItemValue

type AlertingPolicySpecNotificationSlackApp_FieldTerminalPathArrayItemValue struct {
	AlertingPolicySpecNotificationSlackApp_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathArrayItemValue) AsChannelItemValue

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathArrayItemValue) GetRawItemValue

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

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathArrayItemValue) GetSingle

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathArrayItemValue) GetSingleRaw

type AlertingPolicySpecNotificationSlackApp_FieldTerminalPathArrayOfValues

type AlertingPolicySpecNotificationSlackApp_FieldTerminalPathArrayOfValues struct {
	AlertingPolicySpecNotificationSlackApp_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathArrayOfValues) AsAuthTokenArrayOfValues

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathArrayOfValues) AsChannelArrayOfValues

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathArrayOfValues) GetRawValues

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

type AlertingPolicySpecNotificationSlackApp_FieldTerminalPathValue

type AlertingPolicySpecNotificationSlackApp_FieldTerminalPathValue struct {
	AlertingPolicySpecNotificationSlackApp_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathValue) AsAuthTokenValue

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathValue) AsChannelValue

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'AlertingPolicySpecNotificationSlackApp_FieldTerminalPathValue' with the value under path in 'AlertingPolicy_Spec_Notification_Slack_App'.

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathValue) CompareWithRaw

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathValue) GetRawValue

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

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object App

func (*AlertingPolicySpecNotificationSlackApp_FieldTerminalPathValue) SetToRaw

type AlertingPolicySpecNotificationSlackFieldPathBuilder

type AlertingPolicySpecNotificationSlackFieldPathBuilder struct{}

func (AlertingPolicySpecNotificationSlackFieldPathBuilder) App

func (AlertingPolicySpecNotificationSlackFieldPathBuilder) IncomingWebhook

type AlertingPolicySpecNotificationSlack_FieldPath

type AlertingPolicySpecNotificationSlack_FieldPath interface {
	gotenobject.FieldPath
	Selector() AlertingPolicySpecNotificationSlack_FieldPathSelector
	Get(source *AlertingPolicy_Spec_Notification_Slack) []interface{}
	GetSingle(source *AlertingPolicy_Spec_Notification_Slack) (interface{}, bool)
	ClearValue(item *AlertingPolicy_Spec_Notification_Slack)

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

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

func MustParseAlertingPolicySpecNotificationSlack_FieldPath

func MustParseAlertingPolicySpecNotificationSlack_FieldPath(rawField string) AlertingPolicySpecNotificationSlack_FieldPath

func ParseAlertingPolicySpecNotificationSlack_FieldPath

func ParseAlertingPolicySpecNotificationSlack_FieldPath(rawField string) (AlertingPolicySpecNotificationSlack_FieldPath, error)

type AlertingPolicySpecNotificationSlack_FieldPathArrayItemValue

type AlertingPolicySpecNotificationSlack_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AlertingPolicySpecNotificationSlack_FieldPath
	ContainsValue(*AlertingPolicy_Spec_Notification_Slack) bool
}

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

func MustParseAlertingPolicySpecNotificationSlack_FieldPathArrayItemValue

func MustParseAlertingPolicySpecNotificationSlack_FieldPathArrayItemValue(pathStr, valueStr string) AlertingPolicySpecNotificationSlack_FieldPathArrayItemValue

func ParseAlertingPolicySpecNotificationSlack_FieldPathArrayItemValue

func ParseAlertingPolicySpecNotificationSlack_FieldPathArrayItemValue(pathStr, valueStr string) (AlertingPolicySpecNotificationSlack_FieldPathArrayItemValue, error)

ParseAlertingPolicySpecNotificationSlack_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AlertingPolicySpecNotificationSlack_FieldPathArrayOfValues

type AlertingPolicySpecNotificationSlack_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AlertingPolicySpecNotificationSlack_FieldPath
}

AlertingPolicySpecNotificationSlack_FieldPathArrayOfValues allows storing slice of values for Slack fields according to their type

func MustParseAlertingPolicySpecNotificationSlack_FieldPathArrayOfValues

func MustParseAlertingPolicySpecNotificationSlack_FieldPathArrayOfValues(pathStr, valuesStr string) AlertingPolicySpecNotificationSlack_FieldPathArrayOfValues

func ParseAlertingPolicySpecNotificationSlack_FieldPathArrayOfValues

func ParseAlertingPolicySpecNotificationSlack_FieldPathArrayOfValues(pathStr, valuesStr string) (AlertingPolicySpecNotificationSlack_FieldPathArrayOfValues, error)

type AlertingPolicySpecNotificationSlack_FieldPathSelector

type AlertingPolicySpecNotificationSlack_FieldPathSelector int32
const (
	AlertingPolicySpecNotificationSlack_FieldPathSelectorApp             AlertingPolicySpecNotificationSlack_FieldPathSelector = 0
	AlertingPolicySpecNotificationSlack_FieldPathSelectorIncomingWebhook AlertingPolicySpecNotificationSlack_FieldPathSelector = 1
)

func (AlertingPolicySpecNotificationSlack_FieldPathSelector) String

type AlertingPolicySpecNotificationSlack_FieldPathValue

type AlertingPolicySpecNotificationSlack_FieldPathValue interface {
	AlertingPolicySpecNotificationSlack_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AlertingPolicy_Spec_Notification_Slack)
	CompareWith(*AlertingPolicy_Spec_Notification_Slack) (cmp int, comparable bool)
}

AlertingPolicySpecNotificationSlack_FieldPathValue allows storing values for Slack fields according to their type

func MustParseAlertingPolicySpecNotificationSlack_FieldPathValue

func MustParseAlertingPolicySpecNotificationSlack_FieldPathValue(pathStr, valueStr string) AlertingPolicySpecNotificationSlack_FieldPathValue

func ParseAlertingPolicySpecNotificationSlack_FieldPathValue

func ParseAlertingPolicySpecNotificationSlack_FieldPathValue(pathStr, valueStr string) (AlertingPolicySpecNotificationSlack_FieldPathValue, error)

type AlertingPolicySpecNotificationSlack_FieldSubPath

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

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) AsAppSubPath

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) ClearValue

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) ClearValueRaw

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) Get

Get returns all values pointed by selected field from source AlertingPolicy_Spec_Notification_Slack

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) GetRaw

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

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) GetSingle

GetSingle returns value of selected field from source AlertingPolicy_Spec_Notification_Slack

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) GetSingleRaw

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

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) JSONString

JSONString returns path representation is JSON convention

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) Selector

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) String

String returns path representation in proto convention

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) WithIArrayItemValue

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) WithIArrayOfValues

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) WithIValue

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) WithRawIArrayItemValue

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

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) WithRawIArrayOfValues

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

func (*AlertingPolicySpecNotificationSlack_FieldSubPath) WithRawIValue

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

type AlertingPolicySpecNotificationSlack_FieldSubPathArrayItemValue

type AlertingPolicySpecNotificationSlack_FieldSubPathArrayItemValue struct {
	AlertingPolicySpecNotificationSlack_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotificationSlack_FieldSubPathArrayItemValue) AsAppPathItemValue

func (*AlertingPolicySpecNotificationSlack_FieldSubPathArrayItemValue) ContainsValue

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

func (*AlertingPolicySpecNotificationSlack_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type AlertingPolicySpecNotificationSlack_FieldSubPathArrayOfValues

type AlertingPolicySpecNotificationSlack_FieldSubPathArrayOfValues struct {
	AlertingPolicySpecNotificationSlack_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotificationSlack_FieldSubPathArrayOfValues) AsAppPathArrayOfValues

func (*AlertingPolicySpecNotificationSlack_FieldSubPathArrayOfValues) GetRawValues

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

type AlertingPolicySpecNotificationSlack_FieldSubPathValue

type AlertingPolicySpecNotificationSlack_FieldSubPathValue struct {
	AlertingPolicySpecNotificationSlack_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotificationSlack_FieldSubPathValue) AsAppPathValue

func (*AlertingPolicySpecNotificationSlack_FieldSubPathValue) CompareWith

func (*AlertingPolicySpecNotificationSlack_FieldSubPathValue) CompareWithRaw

func (*AlertingPolicySpecNotificationSlack_FieldSubPathValue) GetRawValue

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

func (*AlertingPolicySpecNotificationSlack_FieldSubPathValue) SetTo

func (*AlertingPolicySpecNotificationSlack_FieldSubPathValue) SetToRaw

type AlertingPolicySpecNotificationSlack_FieldTerminalPath

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

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) ClearValue

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) ClearValueRaw

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) Get

Get returns all values pointed by specific field from source AlertingPolicy_Spec_Notification_Slack

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) GetRaw

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

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source AlertingPolicy_Spec_Notification_Slack

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) GetSingleRaw

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

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) Selector

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) String

String returns path representation in proto convention

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) WithIArrayItemValue

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) WithIArrayOfValues

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) WithIValue

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) WithRawIArrayItemValue

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) WithRawIArrayOfValues

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPath) WithRawIValue

type AlertingPolicySpecNotificationSlack_FieldTerminalPathArrayItemValue

type AlertingPolicySpecNotificationSlack_FieldTerminalPathArrayItemValue struct {
	AlertingPolicySpecNotificationSlack_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPathArrayItemValue) GetSingle

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPathArrayItemValue) GetSingleRaw

type AlertingPolicySpecNotificationSlack_FieldTerminalPathArrayOfValues

type AlertingPolicySpecNotificationSlack_FieldTerminalPathArrayOfValues struct {
	AlertingPolicySpecNotificationSlack_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPathArrayOfValues) AsAppArrayOfValues

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPathArrayOfValues) AsIncomingWebhookArrayOfValues

func (fpaov *AlertingPolicySpecNotificationSlack_FieldTerminalPathArrayOfValues) AsIncomingWebhookArrayOfValues() ([]string, bool)

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPathArrayOfValues) GetRawValues

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

type AlertingPolicySpecNotificationSlack_FieldTerminalPathValue

type AlertingPolicySpecNotificationSlack_FieldTerminalPathValue struct {
	AlertingPolicySpecNotificationSlack_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPathValue) AsAppValue

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPathValue) AsIncomingWebhookValue

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'AlertingPolicySpecNotificationSlack_FieldTerminalPathValue' with the value under path in 'AlertingPolicy_Spec_Notification_Slack'.

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPathValue) CompareWithRaw

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPathValue) GetRawValue

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

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

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Slack

func (*AlertingPolicySpecNotificationSlack_FieldTerminalPathValue) SetToRaw

type AlertingPolicySpecNotification_FieldPath

type AlertingPolicySpecNotification_FieldPath interface {
	gotenobject.FieldPath
	Selector() AlertingPolicySpecNotification_FieldPathSelector
	Get(source *AlertingPolicy_Spec_Notification) []interface{}
	GetSingle(source *AlertingPolicy_Spec_Notification) (interface{}, bool)
	ClearValue(item *AlertingPolicy_Spec_Notification)

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

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

func MustParseAlertingPolicySpecNotification_FieldPath

func MustParseAlertingPolicySpecNotification_FieldPath(rawField string) AlertingPolicySpecNotification_FieldPath

func ParseAlertingPolicySpecNotification_FieldPath

func ParseAlertingPolicySpecNotification_FieldPath(rawField string) (AlertingPolicySpecNotification_FieldPath, error)

type AlertingPolicySpecNotification_FieldPathArrayItemValue

type AlertingPolicySpecNotification_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AlertingPolicySpecNotification_FieldPath
	ContainsValue(*AlertingPolicy_Spec_Notification) bool
}

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

func MustParseAlertingPolicySpecNotification_FieldPathArrayItemValue

func MustParseAlertingPolicySpecNotification_FieldPathArrayItemValue(pathStr, valueStr string) AlertingPolicySpecNotification_FieldPathArrayItemValue

func ParseAlertingPolicySpecNotification_FieldPathArrayItemValue

func ParseAlertingPolicySpecNotification_FieldPathArrayItemValue(pathStr, valueStr string) (AlertingPolicySpecNotification_FieldPathArrayItemValue, error)

ParseAlertingPolicySpecNotification_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AlertingPolicySpecNotification_FieldPathArrayOfValues

type AlertingPolicySpecNotification_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AlertingPolicySpecNotification_FieldPath
}

AlertingPolicySpecNotification_FieldPathArrayOfValues allows storing slice of values for Notification fields according to their type

func MustParseAlertingPolicySpecNotification_FieldPathArrayOfValues

func MustParseAlertingPolicySpecNotification_FieldPathArrayOfValues(pathStr, valuesStr string) AlertingPolicySpecNotification_FieldPathArrayOfValues

func ParseAlertingPolicySpecNotification_FieldPathArrayOfValues

func ParseAlertingPolicySpecNotification_FieldPathArrayOfValues(pathStr, valuesStr string) (AlertingPolicySpecNotification_FieldPathArrayOfValues, error)

type AlertingPolicySpecNotification_FieldPathSelector

type AlertingPolicySpecNotification_FieldPathSelector int32
const (
	AlertingPolicySpecNotification_FieldPathSelectorSlack AlertingPolicySpecNotification_FieldPathSelector = 0
)

func (AlertingPolicySpecNotification_FieldPathSelector) String

type AlertingPolicySpecNotification_FieldPathValue

type AlertingPolicySpecNotification_FieldPathValue interface {
	AlertingPolicySpecNotification_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AlertingPolicy_Spec_Notification)
	CompareWith(*AlertingPolicy_Spec_Notification) (cmp int, comparable bool)
}

AlertingPolicySpecNotification_FieldPathValue allows storing values for Notification fields according to their type

func MustParseAlertingPolicySpecNotification_FieldPathValue

func MustParseAlertingPolicySpecNotification_FieldPathValue(pathStr, valueStr string) AlertingPolicySpecNotification_FieldPathValue

func ParseAlertingPolicySpecNotification_FieldPathValue

func ParseAlertingPolicySpecNotification_FieldPathValue(pathStr, valueStr string) (AlertingPolicySpecNotification_FieldPathValue, error)

type AlertingPolicySpecNotification_FieldSubPath

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

func (*AlertingPolicySpecNotification_FieldSubPath) AsSlackSubPath

func (*AlertingPolicySpecNotification_FieldSubPath) ClearValue

func (*AlertingPolicySpecNotification_FieldSubPath) ClearValueRaw

func (*AlertingPolicySpecNotification_FieldSubPath) Get

func (fps *AlertingPolicySpecNotification_FieldSubPath) Get(source *AlertingPolicy_Spec_Notification) (values []interface{})

Get returns all values pointed by selected field from source AlertingPolicy_Spec_Notification

func (*AlertingPolicySpecNotification_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicySpecNotification_FieldSubPath) GetRaw

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

func (*AlertingPolicySpecNotification_FieldSubPath) GetSingle

GetSingle returns value of selected field from source AlertingPolicy_Spec_Notification

func (*AlertingPolicySpecNotification_FieldSubPath) GetSingleRaw

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

func (*AlertingPolicySpecNotification_FieldSubPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AlertingPolicySpecNotification_FieldSubPath) JSONString

JSONString returns path representation is JSON convention

func (*AlertingPolicySpecNotification_FieldSubPath) Selector

func (*AlertingPolicySpecNotification_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*AlertingPolicySpecNotification_FieldSubPath) String

String returns path representation in proto convention

func (*AlertingPolicySpecNotification_FieldSubPath) WithIArrayItemValue

func (*AlertingPolicySpecNotification_FieldSubPath) WithIArrayOfValues

func (*AlertingPolicySpecNotification_FieldSubPath) WithIValue

func (*AlertingPolicySpecNotification_FieldSubPath) WithRawIArrayItemValue

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

func (*AlertingPolicySpecNotification_FieldSubPath) WithRawIArrayOfValues

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

func (*AlertingPolicySpecNotification_FieldSubPath) WithRawIValue

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

type AlertingPolicySpecNotification_FieldSubPathArrayItemValue

type AlertingPolicySpecNotification_FieldSubPathArrayItemValue struct {
	AlertingPolicySpecNotification_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotification_FieldSubPathArrayItemValue) AsSlackPathItemValue

func (*AlertingPolicySpecNotification_FieldSubPathArrayItemValue) ContainsValue

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

func (*AlertingPolicySpecNotification_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type AlertingPolicySpecNotification_FieldSubPathArrayOfValues

type AlertingPolicySpecNotification_FieldSubPathArrayOfValues struct {
	AlertingPolicySpecNotification_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotification_FieldSubPathArrayOfValues) AsSlackPathArrayOfValues

func (*AlertingPolicySpecNotification_FieldSubPathArrayOfValues) GetRawValues

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

type AlertingPolicySpecNotification_FieldSubPathValue

type AlertingPolicySpecNotification_FieldSubPathValue struct {
	AlertingPolicySpecNotification_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotification_FieldSubPathValue) AsSlackPathValue

func (*AlertingPolicySpecNotification_FieldSubPathValue) CompareWith

func (*AlertingPolicySpecNotification_FieldSubPathValue) CompareWithRaw

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

func (*AlertingPolicySpecNotification_FieldSubPathValue) GetRawValue

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

func (*AlertingPolicySpecNotification_FieldSubPathValue) SetTo

func (*AlertingPolicySpecNotification_FieldSubPathValue) SetToRaw

type AlertingPolicySpecNotification_FieldTerminalPath

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

func (*AlertingPolicySpecNotification_FieldTerminalPath) ClearValue

func (*AlertingPolicySpecNotification_FieldTerminalPath) ClearValueRaw

func (*AlertingPolicySpecNotification_FieldTerminalPath) Get

Get returns all values pointed by specific field from source AlertingPolicy_Spec_Notification

func (*AlertingPolicySpecNotification_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicySpecNotification_FieldTerminalPath) GetRaw

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

func (*AlertingPolicySpecNotification_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source AlertingPolicy_Spec_Notification

func (*AlertingPolicySpecNotification_FieldTerminalPath) GetSingleRaw

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

func (*AlertingPolicySpecNotification_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AlertingPolicySpecNotification_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*AlertingPolicySpecNotification_FieldTerminalPath) Selector

func (*AlertingPolicySpecNotification_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (*AlertingPolicySpecNotification_FieldTerminalPath) String

String returns path representation in proto convention

func (*AlertingPolicySpecNotification_FieldTerminalPath) WithIArrayItemValue

func (*AlertingPolicySpecNotification_FieldTerminalPath) WithIArrayOfValues

func (*AlertingPolicySpecNotification_FieldTerminalPath) WithIValue

func (*AlertingPolicySpecNotification_FieldTerminalPath) WithRawIArrayItemValue

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

func (*AlertingPolicySpecNotification_FieldTerminalPath) WithRawIArrayOfValues

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

func (*AlertingPolicySpecNotification_FieldTerminalPath) WithRawIValue

type AlertingPolicySpecNotification_FieldTerminalPathArrayItemValue

type AlertingPolicySpecNotification_FieldTerminalPathArrayItemValue struct {
	AlertingPolicySpecNotification_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotification_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*AlertingPolicySpecNotification_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*AlertingPolicySpecNotification_FieldTerminalPathArrayItemValue) GetSingle

func (*AlertingPolicySpecNotification_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type AlertingPolicySpecNotification_FieldTerminalPathArrayOfValues

type AlertingPolicySpecNotification_FieldTerminalPathArrayOfValues struct {
	AlertingPolicySpecNotification_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotification_FieldTerminalPathArrayOfValues) AsSlackArrayOfValues

func (*AlertingPolicySpecNotification_FieldTerminalPathArrayOfValues) GetRawValues

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

type AlertingPolicySpecNotification_FieldTerminalPathValue

type AlertingPolicySpecNotification_FieldTerminalPathValue struct {
	AlertingPolicySpecNotification_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotification_FieldTerminalPathValue) AsSlackValue

func (*AlertingPolicySpecNotification_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'AlertingPolicySpecNotification_FieldTerminalPathValue' with the value under path in 'AlertingPolicy_Spec_Notification'.

func (*AlertingPolicySpecNotification_FieldTerminalPathValue) CompareWithRaw

func (*AlertingPolicySpecNotification_FieldTerminalPathValue) GetRawValue

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

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

func (*AlertingPolicySpecNotification_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Notification

func (*AlertingPolicySpecNotification_FieldTerminalPathValue) SetToRaw

type AlertingPolicySpec_FieldPath

type AlertingPolicySpec_FieldPath interface {
	gotenobject.FieldPath
	Selector() AlertingPolicySpec_FieldPathSelector
	Get(source *AlertingPolicy_Spec) []interface{}
	GetSingle(source *AlertingPolicy_Spec) (interface{}, bool)
	ClearValue(item *AlertingPolicy_Spec)

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

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

func MustParseAlertingPolicySpec_FieldPath

func MustParseAlertingPolicySpec_FieldPath(rawField string) AlertingPolicySpec_FieldPath

func ParseAlertingPolicySpec_FieldPath

func ParseAlertingPolicySpec_FieldPath(rawField string) (AlertingPolicySpec_FieldPath, error)

type AlertingPolicySpec_FieldPathArrayItemValue

type AlertingPolicySpec_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AlertingPolicySpec_FieldPath
	ContainsValue(*AlertingPolicy_Spec) bool
}

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

func MustParseAlertingPolicySpec_FieldPathArrayItemValue

func MustParseAlertingPolicySpec_FieldPathArrayItemValue(pathStr, valueStr string) AlertingPolicySpec_FieldPathArrayItemValue

func ParseAlertingPolicySpec_FieldPathArrayItemValue

func ParseAlertingPolicySpec_FieldPathArrayItemValue(pathStr, valueStr string) (AlertingPolicySpec_FieldPathArrayItemValue, error)

ParseAlertingPolicySpec_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AlertingPolicySpec_FieldPathArrayOfValues

type AlertingPolicySpec_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AlertingPolicySpec_FieldPath
}

AlertingPolicySpec_FieldPathArrayOfValues allows storing slice of values for Spec fields according to their type

func MustParseAlertingPolicySpec_FieldPathArrayOfValues

func MustParseAlertingPolicySpec_FieldPathArrayOfValues(pathStr, valuesStr string) AlertingPolicySpec_FieldPathArrayOfValues

func ParseAlertingPolicySpec_FieldPathArrayOfValues

func ParseAlertingPolicySpec_FieldPathArrayOfValues(pathStr, valuesStr string) (AlertingPolicySpec_FieldPathArrayOfValues, error)

type AlertingPolicySpec_FieldPathSelector

type AlertingPolicySpec_FieldPathSelector int32
const (
	AlertingPolicySpec_FieldPathSelectorEnabled           AlertingPolicySpec_FieldPathSelector = 0
	AlertingPolicySpec_FieldPathSelectorConditionCombiner AlertingPolicySpec_FieldPathSelector = 1
	AlertingPolicySpec_FieldPathSelectorNotification      AlertingPolicySpec_FieldPathSelector = 2
)

func (AlertingPolicySpec_FieldPathSelector) String

type AlertingPolicySpec_FieldPathValue

type AlertingPolicySpec_FieldPathValue interface {
	AlertingPolicySpec_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AlertingPolicy_Spec)
	CompareWith(*AlertingPolicy_Spec) (cmp int, comparable bool)
}

AlertingPolicySpec_FieldPathValue allows storing values for Spec fields according to their type

func MustParseAlertingPolicySpec_FieldPathValue

func MustParseAlertingPolicySpec_FieldPathValue(pathStr, valueStr string) AlertingPolicySpec_FieldPathValue

func ParseAlertingPolicySpec_FieldPathValue

func ParseAlertingPolicySpec_FieldPathValue(pathStr, valueStr string) (AlertingPolicySpec_FieldPathValue, error)

type AlertingPolicySpec_FieldSubPath

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

func (*AlertingPolicySpec_FieldSubPath) AsNotificationSubPath

func (*AlertingPolicySpec_FieldSubPath) ClearValue

func (*AlertingPolicySpec_FieldSubPath) ClearValueRaw

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

func (*AlertingPolicySpec_FieldSubPath) Get

func (fps *AlertingPolicySpec_FieldSubPath) Get(source *AlertingPolicy_Spec) (values []interface{})

Get returns all values pointed by selected field from source AlertingPolicy_Spec

func (*AlertingPolicySpec_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicySpec_FieldSubPath) GetRaw

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

func (*AlertingPolicySpec_FieldSubPath) GetSingle

func (fps *AlertingPolicySpec_FieldSubPath) GetSingle(source *AlertingPolicy_Spec) (interface{}, bool)

GetSingle returns value of selected field from source AlertingPolicy_Spec

func (*AlertingPolicySpec_FieldSubPath) GetSingleRaw

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

func (*AlertingPolicySpec_FieldSubPath) IsLeaf

func (fps *AlertingPolicySpec_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*AlertingPolicySpec_FieldSubPath) JSONString

func (fps *AlertingPolicySpec_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*AlertingPolicySpec_FieldSubPath) Selector

func (*AlertingPolicySpec_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*AlertingPolicySpec_FieldSubPath) String

String returns path representation in proto convention

func (*AlertingPolicySpec_FieldSubPath) WithIArrayItemValue

func (fps *AlertingPolicySpec_FieldSubPath) WithIArrayItemValue(value interface{}) AlertingPolicySpec_FieldPathArrayItemValue

func (*AlertingPolicySpec_FieldSubPath) WithIArrayOfValues

func (fps *AlertingPolicySpec_FieldSubPath) WithIArrayOfValues(values interface{}) AlertingPolicySpec_FieldPathArrayOfValues

func (*AlertingPolicySpec_FieldSubPath) WithIValue

func (fps *AlertingPolicySpec_FieldSubPath) WithIValue(value interface{}) AlertingPolicySpec_FieldPathValue

func (*AlertingPolicySpec_FieldSubPath) WithRawIArrayItemValue

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

func (*AlertingPolicySpec_FieldSubPath) WithRawIArrayOfValues

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

func (*AlertingPolicySpec_FieldSubPath) WithRawIValue

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

type AlertingPolicySpec_FieldSubPathArrayItemValue

type AlertingPolicySpec_FieldSubPathArrayItemValue struct {
	AlertingPolicySpec_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpec_FieldSubPathArrayItemValue) AsNotificationPathItemValue

func (*AlertingPolicySpec_FieldSubPathArrayItemValue) ContainsValue

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

func (*AlertingPolicySpec_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type AlertingPolicySpec_FieldSubPathArrayOfValues

type AlertingPolicySpec_FieldSubPathArrayOfValues struct {
	AlertingPolicySpec_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpec_FieldSubPathArrayOfValues) AsNotificationPathArrayOfValues

func (*AlertingPolicySpec_FieldSubPathArrayOfValues) GetRawValues

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

type AlertingPolicySpec_FieldSubPathValue

type AlertingPolicySpec_FieldSubPathValue struct {
	AlertingPolicySpec_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpec_FieldSubPathValue) AsNotificationPathValue

func (*AlertingPolicySpec_FieldSubPathValue) CompareWith

func (fpvs *AlertingPolicySpec_FieldSubPathValue) CompareWith(source *AlertingPolicy_Spec) (int, bool)

func (*AlertingPolicySpec_FieldSubPathValue) CompareWithRaw

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

func (*AlertingPolicySpec_FieldSubPathValue) GetRawValue

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

func (*AlertingPolicySpec_FieldSubPathValue) SetTo

func (*AlertingPolicySpec_FieldSubPathValue) SetToRaw

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

type AlertingPolicySpec_FieldTerminalPath

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

func (*AlertingPolicySpec_FieldTerminalPath) ClearValue

func (*AlertingPolicySpec_FieldTerminalPath) ClearValueRaw

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

func (*AlertingPolicySpec_FieldTerminalPath) Get

func (fp *AlertingPolicySpec_FieldTerminalPath) Get(source *AlertingPolicy_Spec) (values []interface{})

Get returns all values pointed by specific field from source AlertingPolicy_Spec

func (*AlertingPolicySpec_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicySpec_FieldTerminalPath) GetRaw

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

func (*AlertingPolicySpec_FieldTerminalPath) GetSingle

func (fp *AlertingPolicySpec_FieldTerminalPath) GetSingle(source *AlertingPolicy_Spec) (interface{}, bool)

GetSingle returns value pointed by specific field of from source AlertingPolicy_Spec

func (*AlertingPolicySpec_FieldTerminalPath) GetSingleRaw

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

func (*AlertingPolicySpec_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AlertingPolicySpec_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*AlertingPolicySpec_FieldTerminalPath) Selector

func (*AlertingPolicySpec_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*AlertingPolicySpec_FieldTerminalPath) String

String returns path representation in proto convention

func (*AlertingPolicySpec_FieldTerminalPath) WithIArrayItemValue

func (fp *AlertingPolicySpec_FieldTerminalPath) WithIArrayItemValue(value interface{}) AlertingPolicySpec_FieldPathArrayItemValue

func (*AlertingPolicySpec_FieldTerminalPath) WithIArrayOfValues

func (fp *AlertingPolicySpec_FieldTerminalPath) WithIArrayOfValues(values interface{}) AlertingPolicySpec_FieldPathArrayOfValues

func (*AlertingPolicySpec_FieldTerminalPath) WithIValue

func (*AlertingPolicySpec_FieldTerminalPath) WithRawIArrayItemValue

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

func (*AlertingPolicySpec_FieldTerminalPath) WithRawIArrayOfValues

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

func (*AlertingPolicySpec_FieldTerminalPath) WithRawIValue

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

type AlertingPolicySpec_FieldTerminalPathArrayItemValue

type AlertingPolicySpec_FieldTerminalPathArrayItemValue struct {
	AlertingPolicySpec_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpec_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*AlertingPolicySpec_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*AlertingPolicySpec_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *AlertingPolicySpec_FieldTerminalPathArrayItemValue) GetSingle(source *AlertingPolicy_Spec) (interface{}, bool)

func (*AlertingPolicySpec_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type AlertingPolicySpec_FieldTerminalPathArrayOfValues

type AlertingPolicySpec_FieldTerminalPathArrayOfValues struct {
	AlertingPolicySpec_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpec_FieldTerminalPathArrayOfValues) AsConditionCombinerArrayOfValues

func (*AlertingPolicySpec_FieldTerminalPathArrayOfValues) AsEnabledArrayOfValues

func (fpaov *AlertingPolicySpec_FieldTerminalPathArrayOfValues) AsEnabledArrayOfValues() ([]bool, bool)

func (*AlertingPolicySpec_FieldTerminalPathArrayOfValues) AsNotificationArrayOfValues

func (*AlertingPolicySpec_FieldTerminalPathArrayOfValues) GetRawValues

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

type AlertingPolicySpec_FieldTerminalPathValue

type AlertingPolicySpec_FieldTerminalPathValue struct {
	AlertingPolicySpec_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpec_FieldTerminalPathValue) AsConditionCombinerValue

func (*AlertingPolicySpec_FieldTerminalPathValue) AsEnabledValue

func (fpv *AlertingPolicySpec_FieldTerminalPathValue) AsEnabledValue() (bool, bool)

func (*AlertingPolicySpec_FieldTerminalPathValue) AsNotificationValue

func (*AlertingPolicySpec_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'AlertingPolicySpec_FieldTerminalPathValue' with the value under path in 'AlertingPolicy_Spec'.

func (*AlertingPolicySpec_FieldTerminalPathValue) CompareWithRaw

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

func (*AlertingPolicySpec_FieldTerminalPathValue) GetRawValue

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

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

func (*AlertingPolicySpec_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Spec

func (*AlertingPolicySpec_FieldTerminalPathValue) SetToRaw

type AlertingPolicy_Documentation

type AlertingPolicy_Documentation struct {

	// Documentation content
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" firestore:"content"`
	// documentation mime type. Only `"text/markdown"` is supported.
	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty" firestore:"mimeType"`
	// contains filtered or unexported fields
}

Documentation

func (*AlertingPolicy_Documentation) Clone

func (*AlertingPolicy_Documentation) CloneRaw

func (*AlertingPolicy_Documentation) Descriptor

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

Deprecated, Use AlertingPolicy_Documentation.ProtoReflect.Descriptor instead.

func (*AlertingPolicy_Documentation) GetContent

func (m *AlertingPolicy_Documentation) GetContent() string

func (*AlertingPolicy_Documentation) GetMimeType

func (m *AlertingPolicy_Documentation) GetMimeType() string

func (*AlertingPolicy_Documentation) GotenMessage

func (*AlertingPolicy_Documentation) GotenMessage()

func (*AlertingPolicy_Documentation) GotenObjectExt

func (o *AlertingPolicy_Documentation) GotenObjectExt()

func (*AlertingPolicy_Documentation) GotenValidate

func (obj *AlertingPolicy_Documentation) GotenValidate() error

func (*AlertingPolicy_Documentation) MakeDiffFieldMask

func (*AlertingPolicy_Documentation) MakeFullFieldMask

func (*AlertingPolicy_Documentation) MakeRawDiffFieldMask

func (*AlertingPolicy_Documentation) MakeRawFullFieldMask

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

func (*AlertingPolicy_Documentation) Marshal

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

func (*AlertingPolicy_Documentation) MarshalJSON

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

func (*AlertingPolicy_Documentation) Merge

func (*AlertingPolicy_Documentation) MergeRaw

func (*AlertingPolicy_Documentation) ProtoMessage

func (*AlertingPolicy_Documentation) ProtoMessage()

func (*AlertingPolicy_Documentation) ProtoReflect

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

func (*AlertingPolicy_Documentation) Reset

func (m *AlertingPolicy_Documentation) Reset()

func (*AlertingPolicy_Documentation) SetContent

func (m *AlertingPolicy_Documentation) SetContent(fv string)

func (*AlertingPolicy_Documentation) SetMimeType

func (m *AlertingPolicy_Documentation) SetMimeType(fv string)

func (*AlertingPolicy_Documentation) String

func (*AlertingPolicy_Documentation) Unmarshal

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

func (*AlertingPolicy_Documentation) UnmarshalJSON

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

type AlertingPolicy_DocumentationPathSelectorContent

type AlertingPolicy_DocumentationPathSelectorContent struct{}

func (AlertingPolicy_DocumentationPathSelectorContent) FieldPath

func (AlertingPolicy_DocumentationPathSelectorContent) WithArrayOfValues

func (AlertingPolicy_DocumentationPathSelectorContent) WithValue

type AlertingPolicy_DocumentationPathSelectorMimeType

type AlertingPolicy_DocumentationPathSelectorMimeType struct{}

func (AlertingPolicy_DocumentationPathSelectorMimeType) FieldPath

func (AlertingPolicy_DocumentationPathSelectorMimeType) WithArrayOfValues

func (AlertingPolicy_DocumentationPathSelectorMimeType) WithValue

type AlertingPolicy_Documentation_FieldMask

type AlertingPolicy_Documentation_FieldMask struct {
	Paths []AlertingPolicyDocumentation_FieldPath
}

func FullAlertingPolicy_Documentation_FieldMask

func FullAlertingPolicy_Documentation_FieldMask() *AlertingPolicy_Documentation_FieldMask

func (*AlertingPolicy_Documentation_FieldMask) AppendPath

func (*AlertingPolicy_Documentation_FieldMask) AppendRawPath

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

func (*AlertingPolicy_Documentation_FieldMask) DecodeFirestore

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

func (*AlertingPolicy_Documentation_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*AlertingPolicy_Documentation_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AlertingPolicy_Documentation_FieldMask) FromProtoFieldMask

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

func (*AlertingPolicy_Documentation_FieldMask) GetPaths

func (*AlertingPolicy_Documentation_FieldMask) GetRawPaths

func (*AlertingPolicy_Documentation_FieldMask) IsFull

func (fieldMask *AlertingPolicy_Documentation_FieldMask) IsFull() bool

func (AlertingPolicy_Documentation_FieldMask) Marshal

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

implement methods required by customType

func (AlertingPolicy_Documentation_FieldMask) MarshalJSON

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

func (*AlertingPolicy_Documentation_FieldMask) PathsCount

func (fieldMask *AlertingPolicy_Documentation_FieldMask) PathsCount() int

func (*AlertingPolicy_Documentation_FieldMask) Project

func (*AlertingPolicy_Documentation_FieldMask) ProjectRaw

func (*AlertingPolicy_Documentation_FieldMask) ProtoMessage

func (fieldMask *AlertingPolicy_Documentation_FieldMask) ProtoMessage()

func (*AlertingPolicy_Documentation_FieldMask) ProtoReflect

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

func (*AlertingPolicy_Documentation_FieldMask) Reset

func (fieldMask *AlertingPolicy_Documentation_FieldMask) Reset()

func (*AlertingPolicy_Documentation_FieldMask) Set

func (*AlertingPolicy_Documentation_FieldMask) SetFromCliFlag

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

func (*AlertingPolicy_Documentation_FieldMask) SetRaw

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

func (*AlertingPolicy_Documentation_FieldMask) Size

func (fieldMask *AlertingPolicy_Documentation_FieldMask) Size() int

func (*AlertingPolicy_Documentation_FieldMask) String

func (fieldMask *AlertingPolicy_Documentation_FieldMask) String() string

func (*AlertingPolicy_Documentation_FieldMask) Subtract

func (*AlertingPolicy_Documentation_FieldMask) SubtractRaw

func (*AlertingPolicy_Documentation_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*AlertingPolicy_Documentation_FieldMask) Unmarshal

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

func (*AlertingPolicy_Documentation_FieldMask) UnmarshalJSON

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

type AlertingPolicy_FieldMask

type AlertingPolicy_FieldMask struct {
	Paths []AlertingPolicy_FieldPath
}

func FullAlertingPolicy_FieldMask

func FullAlertingPolicy_FieldMask() *AlertingPolicy_FieldMask

func ResourceViewFieldMask

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

func (*AlertingPolicy_FieldMask) AppendPath

func (fieldMask *AlertingPolicy_FieldMask) AppendPath(path AlertingPolicy_FieldPath)

func (*AlertingPolicy_FieldMask) AppendRawPath

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

func (*AlertingPolicy_FieldMask) DecodeFirestore

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

func (*AlertingPolicy_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*AlertingPolicy_FieldMask) FilterInputFields

func (fieldMask *AlertingPolicy_FieldMask) FilterInputFields() *AlertingPolicy_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AlertingPolicy_FieldMask) FromProtoFieldMask

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

func (*AlertingPolicy_FieldMask) GetPaths

func (fieldMask *AlertingPolicy_FieldMask) GetPaths() []AlertingPolicy_FieldPath

func (*AlertingPolicy_FieldMask) GetRawPaths

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

func (*AlertingPolicy_FieldMask) IsFull

func (fieldMask *AlertingPolicy_FieldMask) IsFull() bool

func (AlertingPolicy_FieldMask) Marshal

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

implement methods required by customType

func (AlertingPolicy_FieldMask) MarshalJSON

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

func (*AlertingPolicy_FieldMask) PathsCount

func (fieldMask *AlertingPolicy_FieldMask) PathsCount() int

func (*AlertingPolicy_FieldMask) Project

func (fieldMask *AlertingPolicy_FieldMask) Project(source *AlertingPolicy) *AlertingPolicy

func (*AlertingPolicy_FieldMask) ProjectRaw

func (*AlertingPolicy_FieldMask) ProtoMessage

func (fieldMask *AlertingPolicy_FieldMask) ProtoMessage()

func (*AlertingPolicy_FieldMask) ProtoReflect

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

func (*AlertingPolicy_FieldMask) Reset

func (fieldMask *AlertingPolicy_FieldMask) Reset()

func (*AlertingPolicy_FieldMask) Set

func (fieldMask *AlertingPolicy_FieldMask) Set(target, source *AlertingPolicy)

func (*AlertingPolicy_FieldMask) SetFromCliFlag

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

func (*AlertingPolicy_FieldMask) SetRaw

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

func (*AlertingPolicy_FieldMask) Size

func (fieldMask *AlertingPolicy_FieldMask) Size() int

func (*AlertingPolicy_FieldMask) String

func (fieldMask *AlertingPolicy_FieldMask) String() string

func (*AlertingPolicy_FieldMask) Subtract

func (*AlertingPolicy_FieldMask) SubtractRaw

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

func (*AlertingPolicy_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*AlertingPolicy_FieldMask) Unmarshal

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

func (*AlertingPolicy_FieldMask) UnmarshalJSON

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

type AlertingPolicy_FieldPath

type AlertingPolicy_FieldPath interface {
	gotenobject.FieldPath
	Selector() AlertingPolicy_FieldPathSelector
	Get(source *AlertingPolicy) []interface{}
	GetSingle(source *AlertingPolicy) (interface{}, bool)
	ClearValue(item *AlertingPolicy)

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

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

func MustParseAlertingPolicy_FieldPath

func MustParseAlertingPolicy_FieldPath(rawField string) AlertingPolicy_FieldPath

func ParseAlertingPolicy_FieldPath

func ParseAlertingPolicy_FieldPath(rawField string) (AlertingPolicy_FieldPath, error)

type AlertingPolicy_FieldPathArrayItemValue

type AlertingPolicy_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AlertingPolicy_FieldPath
	ContainsValue(*AlertingPolicy) bool
}

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

func MustParseAlertingPolicy_FieldPathArrayItemValue

func MustParseAlertingPolicy_FieldPathArrayItemValue(pathStr, valueStr string) AlertingPolicy_FieldPathArrayItemValue

func ParseAlertingPolicy_FieldPathArrayItemValue

func ParseAlertingPolicy_FieldPathArrayItemValue(pathStr, valueStr string) (AlertingPolicy_FieldPathArrayItemValue, error)

ParseAlertingPolicy_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AlertingPolicy_FieldPathArrayOfValues

type AlertingPolicy_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AlertingPolicy_FieldPath
}

AlertingPolicy_FieldPathArrayOfValues allows storing slice of values for AlertingPolicy fields according to their type

func MustParseAlertingPolicy_FieldPathArrayOfValues

func MustParseAlertingPolicy_FieldPathArrayOfValues(pathStr, valuesStr string) AlertingPolicy_FieldPathArrayOfValues

func ParseAlertingPolicy_FieldPathArrayOfValues

func ParseAlertingPolicy_FieldPathArrayOfValues(pathStr, valuesStr string) (AlertingPolicy_FieldPathArrayOfValues, error)

type AlertingPolicy_FieldPathSelector

type AlertingPolicy_FieldPathSelector int32
const (
	AlertingPolicy_FieldPathSelectorName          AlertingPolicy_FieldPathSelector = 0
	AlertingPolicy_FieldPathSelectorMetadata      AlertingPolicy_FieldPathSelector = 1
	AlertingPolicy_FieldPathSelectorDisplayName   AlertingPolicy_FieldPathSelector = 2
	AlertingPolicy_FieldPathSelectorDescription   AlertingPolicy_FieldPathSelector = 3
	AlertingPolicy_FieldPathSelectorDocumentation AlertingPolicy_FieldPathSelector = 4
	AlertingPolicy_FieldPathSelectorSpec          AlertingPolicy_FieldPathSelector = 5
)

func (AlertingPolicy_FieldPathSelector) String

type AlertingPolicy_FieldPathValue

type AlertingPolicy_FieldPathValue interface {
	AlertingPolicy_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AlertingPolicy)
	CompareWith(*AlertingPolicy) (cmp int, comparable bool)
}

AlertingPolicy_FieldPathValue allows storing values for AlertingPolicy fields according to their type

func MustParseAlertingPolicy_FieldPathValue

func MustParseAlertingPolicy_FieldPathValue(pathStr, valueStr string) AlertingPolicy_FieldPathValue

func ParseAlertingPolicy_FieldPathValue

func ParseAlertingPolicy_FieldPathValue(pathStr, valueStr string) (AlertingPolicy_FieldPathValue, error)

type AlertingPolicy_FieldSubPath

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

func (*AlertingPolicy_FieldSubPath) AsDocumentationSubPath

func (*AlertingPolicy_FieldSubPath) AsMetadataSubPath

func (fps *AlertingPolicy_FieldSubPath) AsMetadataSubPath() (ntt_meta.Meta_FieldPath, bool)

func (*AlertingPolicy_FieldSubPath) AsSpecSubPath

func (*AlertingPolicy_FieldSubPath) ClearValue

func (fps *AlertingPolicy_FieldSubPath) ClearValue(item *AlertingPolicy)

func (*AlertingPolicy_FieldSubPath) ClearValueRaw

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

func (*AlertingPolicy_FieldSubPath) Get

func (fps *AlertingPolicy_FieldSubPath) Get(source *AlertingPolicy) (values []interface{})

Get returns all values pointed by selected field from source AlertingPolicy

func (*AlertingPolicy_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicy_FieldSubPath) GetRaw

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

func (*AlertingPolicy_FieldSubPath) GetSingle

func (fps *AlertingPolicy_FieldSubPath) GetSingle(source *AlertingPolicy) (interface{}, bool)

GetSingle returns value of selected field from source AlertingPolicy

func (*AlertingPolicy_FieldSubPath) GetSingleRaw

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

func (*AlertingPolicy_FieldSubPath) IsLeaf

func (fps *AlertingPolicy_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*AlertingPolicy_FieldSubPath) JSONString

func (fps *AlertingPolicy_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*AlertingPolicy_FieldSubPath) Selector

func (*AlertingPolicy_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*AlertingPolicy_FieldSubPath) String

func (fps *AlertingPolicy_FieldSubPath) String() string

String returns path representation in proto convention

func (*AlertingPolicy_FieldSubPath) WithIArrayItemValue

func (fps *AlertingPolicy_FieldSubPath) WithIArrayItemValue(value interface{}) AlertingPolicy_FieldPathArrayItemValue

func (*AlertingPolicy_FieldSubPath) WithIArrayOfValues

func (fps *AlertingPolicy_FieldSubPath) WithIArrayOfValues(values interface{}) AlertingPolicy_FieldPathArrayOfValues

func (*AlertingPolicy_FieldSubPath) WithIValue

func (fps *AlertingPolicy_FieldSubPath) WithIValue(value interface{}) AlertingPolicy_FieldPathValue

func (*AlertingPolicy_FieldSubPath) WithRawIArrayItemValue

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

func (*AlertingPolicy_FieldSubPath) WithRawIArrayOfValues

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

func (*AlertingPolicy_FieldSubPath) WithRawIValue

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

type AlertingPolicy_FieldSubPathArrayItemValue

type AlertingPolicy_FieldSubPathArrayItemValue struct {
	AlertingPolicy_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicy_FieldSubPathArrayItemValue) AsDocumentationPathItemValue

func (*AlertingPolicy_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*AlertingPolicy_FieldSubPathArrayItemValue) AsSpecPathItemValue

func (*AlertingPolicy_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *AlertingPolicy_FieldSubPathArrayItemValue) ContainsValue(source *AlertingPolicy) bool

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

func (*AlertingPolicy_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type AlertingPolicy_FieldSubPathArrayOfValues

type AlertingPolicy_FieldSubPathArrayOfValues struct {
	AlertingPolicy_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicy_FieldSubPathArrayOfValues) AsDocumentationPathArrayOfValues

func (*AlertingPolicy_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

func (fpsaov *AlertingPolicy_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (ntt_meta.Meta_FieldPathArrayOfValues, bool)

func (*AlertingPolicy_FieldSubPathArrayOfValues) AsSpecPathArrayOfValues

func (*AlertingPolicy_FieldSubPathArrayOfValues) GetRawValues

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

type AlertingPolicy_FieldSubPathValue

type AlertingPolicy_FieldSubPathValue struct {
	AlertingPolicy_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicy_FieldSubPathValue) AsDocumentationPathValue

func (*AlertingPolicy_FieldSubPathValue) AsMetadataPathValue

func (fpvs *AlertingPolicy_FieldSubPathValue) AsMetadataPathValue() (ntt_meta.Meta_FieldPathValue, bool)

func (*AlertingPolicy_FieldSubPathValue) AsSpecPathValue

func (*AlertingPolicy_FieldSubPathValue) CompareWith

func (fpvs *AlertingPolicy_FieldSubPathValue) CompareWith(source *AlertingPolicy) (int, bool)

func (*AlertingPolicy_FieldSubPathValue) CompareWithRaw

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

func (*AlertingPolicy_FieldSubPathValue) GetRawValue

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

func (*AlertingPolicy_FieldSubPathValue) SetTo

func (fpvs *AlertingPolicy_FieldSubPathValue) SetTo(target **AlertingPolicy)

func (*AlertingPolicy_FieldSubPathValue) SetToRaw

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

type AlertingPolicy_FieldTerminalPath

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

func (*AlertingPolicy_FieldTerminalPath) ClearValue

func (fp *AlertingPolicy_FieldTerminalPath) ClearValue(item *AlertingPolicy)

func (*AlertingPolicy_FieldTerminalPath) ClearValueRaw

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

func (*AlertingPolicy_FieldTerminalPath) Get

func (fp *AlertingPolicy_FieldTerminalPath) Get(source *AlertingPolicy) (values []interface{})

Get returns all values pointed by specific field from source AlertingPolicy

func (*AlertingPolicy_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicy_FieldTerminalPath) GetRaw

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

func (*AlertingPolicy_FieldTerminalPath) GetSingle

func (fp *AlertingPolicy_FieldTerminalPath) GetSingle(source *AlertingPolicy) (interface{}, bool)

GetSingle returns value pointed by specific field of from source AlertingPolicy

func (*AlertingPolicy_FieldTerminalPath) GetSingleRaw

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

func (*AlertingPolicy_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AlertingPolicy_FieldTerminalPath) JSONString

func (fp *AlertingPolicy_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*AlertingPolicy_FieldTerminalPath) Selector

func (*AlertingPolicy_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*AlertingPolicy_FieldTerminalPath) String

String returns path representation in proto convention

func (*AlertingPolicy_FieldTerminalPath) WithIArrayItemValue

func (fp *AlertingPolicy_FieldTerminalPath) WithIArrayItemValue(value interface{}) AlertingPolicy_FieldPathArrayItemValue

func (*AlertingPolicy_FieldTerminalPath) WithIArrayOfValues

func (fp *AlertingPolicy_FieldTerminalPath) WithIArrayOfValues(values interface{}) AlertingPolicy_FieldPathArrayOfValues

func (*AlertingPolicy_FieldTerminalPath) WithIValue

func (fp *AlertingPolicy_FieldTerminalPath) WithIValue(value interface{}) AlertingPolicy_FieldPathValue

func (*AlertingPolicy_FieldTerminalPath) WithRawIArrayItemValue

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

func (*AlertingPolicy_FieldTerminalPath) WithRawIArrayOfValues

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

func (*AlertingPolicy_FieldTerminalPath) WithRawIValue

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

type AlertingPolicy_FieldTerminalPathArrayItemValue

type AlertingPolicy_FieldTerminalPathArrayItemValue struct {
	AlertingPolicy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicy_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*AlertingPolicy_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*AlertingPolicy_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *AlertingPolicy_FieldTerminalPathArrayItemValue) GetSingle(source *AlertingPolicy) (interface{}, bool)

func (*AlertingPolicy_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type AlertingPolicy_FieldTerminalPathArrayOfValues

type AlertingPolicy_FieldTerminalPathArrayOfValues struct {
	AlertingPolicy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues

func (fpaov *AlertingPolicy_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues() ([]string, bool)

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

func (fpaov *AlertingPolicy_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues() ([]string, bool)

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) AsDocumentationArrayOfValues

func (fpaov *AlertingPolicy_FieldTerminalPathArrayOfValues) AsDocumentationArrayOfValues() ([]*AlertingPolicy_Documentation, bool)

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

func (fpaov *AlertingPolicy_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*ntt_meta.Meta, bool)

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) AsSpecArrayOfValues

func (fpaov *AlertingPolicy_FieldTerminalPathArrayOfValues) AsSpecArrayOfValues() ([]*AlertingPolicy_Spec, bool)

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) GetRawValues

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

type AlertingPolicy_FieldTerminalPathValue

type AlertingPolicy_FieldTerminalPathValue struct {
	AlertingPolicy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicy_FieldTerminalPathValue) AsDescriptionValue

func (fpv *AlertingPolicy_FieldTerminalPathValue) AsDescriptionValue() (string, bool)

func (*AlertingPolicy_FieldTerminalPathValue) AsDisplayNameValue

func (fpv *AlertingPolicy_FieldTerminalPathValue) AsDisplayNameValue() (string, bool)

func (*AlertingPolicy_FieldTerminalPathValue) AsDocumentationValue

func (*AlertingPolicy_FieldTerminalPathValue) AsMetadataValue

func (fpv *AlertingPolicy_FieldTerminalPathValue) AsMetadataValue() (*ntt_meta.Meta, bool)

func (*AlertingPolicy_FieldTerminalPathValue) AsNameValue

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

func (*AlertingPolicy_FieldTerminalPathValue) AsSpecValue

func (*AlertingPolicy_FieldTerminalPathValue) CompareWith

func (fpv *AlertingPolicy_FieldTerminalPathValue) CompareWith(source *AlertingPolicy) (int, bool)

CompareWith compares value in the 'AlertingPolicy_FieldTerminalPathValue' with the value under path in 'AlertingPolicy'.

func (*AlertingPolicy_FieldTerminalPathValue) CompareWithRaw

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

func (*AlertingPolicy_FieldTerminalPathValue) GetRawValue

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

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

func (*AlertingPolicy_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object AlertingPolicy

func (*AlertingPolicy_FieldTerminalPathValue) SetToRaw

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

type AlertingPolicy_Spec

type AlertingPolicy_Spec struct {

	// Whether policy is enabled and will evaluate any conditions
	// Note: If any existing fired alerts are present,
	// they will not be resolved automatically
	// TODO: consider if they should?
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty" firestore:"enabled"`
	// Condition Combiner when deciding if ANY (OR) or ALL (AND) conditions for
	// given subset of resource labels must fire in order to trigger an alert
	// TODO: Add support to AND
	ConditionCombiner AlertingPolicy_Spec_ConditionsCombiner `` /* 205-byte string literal not displayed */
	// Notification specification
	Notification *AlertingPolicy_Spec_Notification `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification,omitempty" firestore:"notification"`
	// contains filtered or unexported fields
}

func (*AlertingPolicy_Spec) Clone

func (*AlertingPolicy_Spec) CloneRaw

func (*AlertingPolicy_Spec) Descriptor

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

Deprecated, Use AlertingPolicy_Spec.ProtoReflect.Descriptor instead.

func (*AlertingPolicy_Spec) GetConditionCombiner

func (*AlertingPolicy_Spec) GetEnabled

func (m *AlertingPolicy_Spec) GetEnabled() bool

func (*AlertingPolicy_Spec) GetNotification

func (*AlertingPolicy_Spec) GotenMessage

func (*AlertingPolicy_Spec) GotenMessage()

func (*AlertingPolicy_Spec) GotenObjectExt

func (o *AlertingPolicy_Spec) GotenObjectExt()

func (*AlertingPolicy_Spec) GotenValidate

func (obj *AlertingPolicy_Spec) GotenValidate() error

func (*AlertingPolicy_Spec) MakeDiffFieldMask

func (*AlertingPolicy_Spec) MakeFullFieldMask

func (o *AlertingPolicy_Spec) MakeFullFieldMask() *AlertingPolicy_Spec_FieldMask

func (*AlertingPolicy_Spec) MakeRawDiffFieldMask

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

func (*AlertingPolicy_Spec) MakeRawFullFieldMask

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

func (*AlertingPolicy_Spec) Marshal

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

func (*AlertingPolicy_Spec) MarshalJSON

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

func (*AlertingPolicy_Spec) Merge

func (o *AlertingPolicy_Spec) Merge(source *AlertingPolicy_Spec)

func (*AlertingPolicy_Spec) MergeRaw

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

func (*AlertingPolicy_Spec) ProtoMessage

func (*AlertingPolicy_Spec) ProtoMessage()

func (*AlertingPolicy_Spec) ProtoReflect

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

func (*AlertingPolicy_Spec) Reset

func (m *AlertingPolicy_Spec) Reset()

func (*AlertingPolicy_Spec) SetConditionCombiner

func (m *AlertingPolicy_Spec) SetConditionCombiner(fv AlertingPolicy_Spec_ConditionsCombiner)

func (*AlertingPolicy_Spec) SetEnabled

func (m *AlertingPolicy_Spec) SetEnabled(fv bool)

func (*AlertingPolicy_Spec) SetNotification

func (m *AlertingPolicy_Spec) SetNotification(fv *AlertingPolicy_Spec_Notification)

func (*AlertingPolicy_Spec) String

func (m *AlertingPolicy_Spec) String() string

func (*AlertingPolicy_Spec) Unmarshal

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

func (*AlertingPolicy_Spec) UnmarshalJSON

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

type AlertingPolicy_SpecPathSelectorConditionCombiner

type AlertingPolicy_SpecPathSelectorConditionCombiner struct{}

func (AlertingPolicy_SpecPathSelectorConditionCombiner) FieldPath

type AlertingPolicy_SpecPathSelectorEnabled

type AlertingPolicy_SpecPathSelectorEnabled struct{}

func (AlertingPolicy_SpecPathSelectorEnabled) FieldPath

func (AlertingPolicy_SpecPathSelectorEnabled) WithArrayOfValues

func (AlertingPolicy_SpecPathSelectorEnabled) WithValue

type AlertingPolicy_SpecPathSelectorNotification

type AlertingPolicy_SpecPathSelectorNotification struct{}

func (AlertingPolicy_SpecPathSelectorNotification) FieldPath

func (AlertingPolicy_SpecPathSelectorNotification) Slack

func (AlertingPolicy_SpecPathSelectorNotification) WithArrayOfValues

func (AlertingPolicy_SpecPathSelectorNotification) WithSubArrayItemValue

func (AlertingPolicy_SpecPathSelectorNotification) WithSubArrayOfValues

func (AlertingPolicy_SpecPathSelectorNotification) WithSubPath

func (AlertingPolicy_SpecPathSelectorNotification) WithSubValue

func (AlertingPolicy_SpecPathSelectorNotification) WithValue

type AlertingPolicy_SpecPathSelectorNotificationSlack

type AlertingPolicy_SpecPathSelectorNotificationSlack struct{}

func (AlertingPolicy_SpecPathSelectorNotificationSlack) App

func (AlertingPolicy_SpecPathSelectorNotificationSlack) FieldPath

func (AlertingPolicy_SpecPathSelectorNotificationSlack) IncomingWebhook

func (AlertingPolicy_SpecPathSelectorNotificationSlack) WithArrayOfValues

func (AlertingPolicy_SpecPathSelectorNotificationSlack) WithValue

type AlertingPolicy_SpecPathSelectorNotificationSlackApp

type AlertingPolicy_SpecPathSelectorNotificationSlackApp struct{}

func (AlertingPolicy_SpecPathSelectorNotificationSlackApp) AuthToken

func (AlertingPolicy_SpecPathSelectorNotificationSlackApp) Channel

func (AlertingPolicy_SpecPathSelectorNotificationSlackApp) FieldPath

func (AlertingPolicy_SpecPathSelectorNotificationSlackApp) WithArrayOfValues

type AlertingPolicy_SpecPathSelectorNotificationSlackAppAuthToken

type AlertingPolicy_SpecPathSelectorNotificationSlackAppAuthToken struct{}

func (AlertingPolicy_SpecPathSelectorNotificationSlackAppAuthToken) FieldPath

func (AlertingPolicy_SpecPathSelectorNotificationSlackAppAuthToken) WithArrayOfValues

func (AlertingPolicy_SpecPathSelectorNotificationSlackAppAuthToken) WithValue

type AlertingPolicy_SpecPathSelectorNotificationSlackAppChannel

type AlertingPolicy_SpecPathSelectorNotificationSlackAppChannel struct{}

func (AlertingPolicy_SpecPathSelectorNotificationSlackAppChannel) FieldPath

func (AlertingPolicy_SpecPathSelectorNotificationSlackAppChannel) WithArrayOfValues

func (AlertingPolicy_SpecPathSelectorNotificationSlackAppChannel) WithItemValue

func (AlertingPolicy_SpecPathSelectorNotificationSlackAppChannel) WithValue

type AlertingPolicy_SpecPathSelectorNotificationSlackIncomingWebhook

type AlertingPolicy_SpecPathSelectorNotificationSlackIncomingWebhook struct{}

func (AlertingPolicy_SpecPathSelectorNotificationSlackIncomingWebhook) FieldPath

func (AlertingPolicy_SpecPathSelectorNotificationSlackIncomingWebhook) WithArrayOfValues

func (AlertingPolicy_SpecPathSelectorNotificationSlackIncomingWebhook) WithValue

type AlertingPolicy_Spec_ConditionsCombiner

type AlertingPolicy_Spec_ConditionsCombiner int32
const (
	AlertingPolicy_Spec_OR  AlertingPolicy_Spec_ConditionsCombiner = 0
	AlertingPolicy_Spec_AND AlertingPolicy_Spec_ConditionsCombiner = 1
)

func (AlertingPolicy_Spec_ConditionsCombiner) Descriptor

func (AlertingPolicy_Spec_ConditionsCombiner) Enum

func (AlertingPolicy_Spec_ConditionsCombiner) EnumDescriptor

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

Deprecated, Use AlertingPolicy_Spec_ConditionsCombiner.ProtoReflect.Descriptor instead.

func (AlertingPolicy_Spec_ConditionsCombiner) Number

func (AlertingPolicy_Spec_ConditionsCombiner) String

func (AlertingPolicy_Spec_ConditionsCombiner) Type

type AlertingPolicy_Spec_FieldMask

type AlertingPolicy_Spec_FieldMask struct {
	Paths []AlertingPolicySpec_FieldPath
}

func FullAlertingPolicy_Spec_FieldMask

func FullAlertingPolicy_Spec_FieldMask() *AlertingPolicy_Spec_FieldMask

func (*AlertingPolicy_Spec_FieldMask) AppendPath

func (fieldMask *AlertingPolicy_Spec_FieldMask) AppendPath(path AlertingPolicySpec_FieldPath)

func (*AlertingPolicy_Spec_FieldMask) AppendRawPath

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

func (*AlertingPolicy_Spec_FieldMask) DecodeFirestore

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

func (*AlertingPolicy_Spec_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*AlertingPolicy_Spec_FieldMask) FilterInputFields

func (fieldMask *AlertingPolicy_Spec_FieldMask) FilterInputFields() *AlertingPolicy_Spec_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AlertingPolicy_Spec_FieldMask) FromProtoFieldMask

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

func (*AlertingPolicy_Spec_FieldMask) GetPaths

func (*AlertingPolicy_Spec_FieldMask) GetRawPaths

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

func (*AlertingPolicy_Spec_FieldMask) IsFull

func (fieldMask *AlertingPolicy_Spec_FieldMask) IsFull() bool

func (AlertingPolicy_Spec_FieldMask) Marshal

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

implement methods required by customType

func (AlertingPolicy_Spec_FieldMask) MarshalJSON

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

func (*AlertingPolicy_Spec_FieldMask) PathsCount

func (fieldMask *AlertingPolicy_Spec_FieldMask) PathsCount() int

func (*AlertingPolicy_Spec_FieldMask) Project

func (*AlertingPolicy_Spec_FieldMask) ProjectRaw

func (*AlertingPolicy_Spec_FieldMask) ProtoMessage

func (fieldMask *AlertingPolicy_Spec_FieldMask) ProtoMessage()

func (*AlertingPolicy_Spec_FieldMask) ProtoReflect

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

func (*AlertingPolicy_Spec_FieldMask) Reset

func (fieldMask *AlertingPolicy_Spec_FieldMask) Reset()

func (*AlertingPolicy_Spec_FieldMask) Set

func (fieldMask *AlertingPolicy_Spec_FieldMask) Set(target, source *AlertingPolicy_Spec)

func (*AlertingPolicy_Spec_FieldMask) SetFromCliFlag

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

func (*AlertingPolicy_Spec_FieldMask) SetRaw

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

func (*AlertingPolicy_Spec_FieldMask) Size

func (fieldMask *AlertingPolicy_Spec_FieldMask) Size() int

func (*AlertingPolicy_Spec_FieldMask) String

func (fieldMask *AlertingPolicy_Spec_FieldMask) String() string

func (*AlertingPolicy_Spec_FieldMask) Subtract

func (*AlertingPolicy_Spec_FieldMask) SubtractRaw

func (*AlertingPolicy_Spec_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*AlertingPolicy_Spec_FieldMask) Unmarshal

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

func (*AlertingPolicy_Spec_FieldMask) UnmarshalJSON

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

type AlertingPolicy_Spec_Notification

type AlertingPolicy_Spec_Notification struct {

	// Slack config
	Slack *AlertingPolicy_Spec_Notification_Slack `protobuf:"bytes,1,opt,name=slack,proto3" json:"slack,omitempty" firestore:"slack"`
	// contains filtered or unexported fields
}

func (*AlertingPolicy_Spec_Notification) Clone

func (*AlertingPolicy_Spec_Notification) CloneRaw

func (*AlertingPolicy_Spec_Notification) Descriptor

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

Deprecated, Use AlertingPolicy_Spec_Notification.ProtoReflect.Descriptor instead.

func (*AlertingPolicy_Spec_Notification) GetSlack

func (*AlertingPolicy_Spec_Notification) GotenMessage

func (*AlertingPolicy_Spec_Notification) GotenMessage()

func (*AlertingPolicy_Spec_Notification) GotenObjectExt

func (o *AlertingPolicy_Spec_Notification) GotenObjectExt()

func (*AlertingPolicy_Spec_Notification) GotenValidate

func (obj *AlertingPolicy_Spec_Notification) GotenValidate() error

func (*AlertingPolicy_Spec_Notification) MakeDiffFieldMask

func (*AlertingPolicy_Spec_Notification) MakeFullFieldMask

func (*AlertingPolicy_Spec_Notification) MakeRawDiffFieldMask

func (*AlertingPolicy_Spec_Notification) MakeRawFullFieldMask

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

func (*AlertingPolicy_Spec_Notification) Marshal

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

func (*AlertingPolicy_Spec_Notification) MarshalJSON

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

func (*AlertingPolicy_Spec_Notification) Merge

func (*AlertingPolicy_Spec_Notification) MergeRaw

func (*AlertingPolicy_Spec_Notification) ProtoMessage

func (*AlertingPolicy_Spec_Notification) ProtoMessage()

func (*AlertingPolicy_Spec_Notification) ProtoReflect

func (*AlertingPolicy_Spec_Notification) Reset

func (*AlertingPolicy_Spec_Notification) SetSlack

func (*AlertingPolicy_Spec_Notification) String

func (*AlertingPolicy_Spec_Notification) Unmarshal

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

func (*AlertingPolicy_Spec_Notification) UnmarshalJSON

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

type AlertingPolicy_Spec_NotificationPathSelectorSlack

type AlertingPolicy_Spec_NotificationPathSelectorSlack struct{}

func (AlertingPolicy_Spec_NotificationPathSelectorSlack) App

func (AlertingPolicy_Spec_NotificationPathSelectorSlack) FieldPath

func (AlertingPolicy_Spec_NotificationPathSelectorSlack) IncomingWebhook

type AlertingPolicy_Spec_NotificationPathSelectorSlackApp

type AlertingPolicy_Spec_NotificationPathSelectorSlackApp struct{}

func (AlertingPolicy_Spec_NotificationPathSelectorSlackApp) AuthToken

func (AlertingPolicy_Spec_NotificationPathSelectorSlackApp) Channel

func (AlertingPolicy_Spec_NotificationPathSelectorSlackApp) FieldPath

type AlertingPolicy_Spec_NotificationPathSelectorSlackAppAuthToken

type AlertingPolicy_Spec_NotificationPathSelectorSlackAppAuthToken struct{}

func (AlertingPolicy_Spec_NotificationPathSelectorSlackAppAuthToken) FieldPath

func (AlertingPolicy_Spec_NotificationPathSelectorSlackAppAuthToken) WithArrayOfValues

func (AlertingPolicy_Spec_NotificationPathSelectorSlackAppAuthToken) WithValue

type AlertingPolicy_Spec_NotificationPathSelectorSlackAppChannel

type AlertingPolicy_Spec_NotificationPathSelectorSlackAppChannel struct{}

func (AlertingPolicy_Spec_NotificationPathSelectorSlackAppChannel) FieldPath

func (AlertingPolicy_Spec_NotificationPathSelectorSlackAppChannel) WithArrayOfValues

func (AlertingPolicy_Spec_NotificationPathSelectorSlackAppChannel) WithItemValue

func (AlertingPolicy_Spec_NotificationPathSelectorSlackAppChannel) WithValue

type AlertingPolicy_Spec_NotificationPathSelectorSlackIncomingWebhook

type AlertingPolicy_Spec_NotificationPathSelectorSlackIncomingWebhook struct{}

func (AlertingPolicy_Spec_NotificationPathSelectorSlackIncomingWebhook) FieldPath

func (AlertingPolicy_Spec_NotificationPathSelectorSlackIncomingWebhook) WithArrayOfValues

func (AlertingPolicy_Spec_NotificationPathSelectorSlackIncomingWebhook) WithValue

type AlertingPolicy_Spec_Notification_FieldMask

type AlertingPolicy_Spec_Notification_FieldMask struct {
	Paths []AlertingPolicySpecNotification_FieldPath
}

func FullAlertingPolicy_Spec_Notification_FieldMask

func FullAlertingPolicy_Spec_Notification_FieldMask() *AlertingPolicy_Spec_Notification_FieldMask

func (*AlertingPolicy_Spec_Notification_FieldMask) AppendPath

func (*AlertingPolicy_Spec_Notification_FieldMask) AppendRawPath

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

func (*AlertingPolicy_Spec_Notification_FieldMask) DecodeFirestore

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

func (*AlertingPolicy_Spec_Notification_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*AlertingPolicy_Spec_Notification_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AlertingPolicy_Spec_Notification_FieldMask) FromProtoFieldMask

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

func (*AlertingPolicy_Spec_Notification_FieldMask) GetPaths

func (*AlertingPolicy_Spec_Notification_FieldMask) GetRawPaths

func (*AlertingPolicy_Spec_Notification_FieldMask) IsFull

func (AlertingPolicy_Spec_Notification_FieldMask) Marshal

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

implement methods required by customType

func (AlertingPolicy_Spec_Notification_FieldMask) MarshalJSON

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

func (*AlertingPolicy_Spec_Notification_FieldMask) PathsCount

func (fieldMask *AlertingPolicy_Spec_Notification_FieldMask) PathsCount() int

func (*AlertingPolicy_Spec_Notification_FieldMask) Project

func (*AlertingPolicy_Spec_Notification_FieldMask) ProjectRaw

func (*AlertingPolicy_Spec_Notification_FieldMask) ProtoMessage

func (fieldMask *AlertingPolicy_Spec_Notification_FieldMask) ProtoMessage()

func (*AlertingPolicy_Spec_Notification_FieldMask) ProtoReflect

func (*AlertingPolicy_Spec_Notification_FieldMask) Reset

func (fieldMask *AlertingPolicy_Spec_Notification_FieldMask) Reset()

func (*AlertingPolicy_Spec_Notification_FieldMask) Set

func (*AlertingPolicy_Spec_Notification_FieldMask) SetFromCliFlag

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

func (*AlertingPolicy_Spec_Notification_FieldMask) SetRaw

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

func (*AlertingPolicy_Spec_Notification_FieldMask) Size

func (*AlertingPolicy_Spec_Notification_FieldMask) String

func (*AlertingPolicy_Spec_Notification_FieldMask) Subtract

func (*AlertingPolicy_Spec_Notification_FieldMask) SubtractRaw

func (*AlertingPolicy_Spec_Notification_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*AlertingPolicy_Spec_Notification_FieldMask) Unmarshal

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

func (*AlertingPolicy_Spec_Notification_FieldMask) UnmarshalJSON

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

type AlertingPolicy_Spec_Notification_Slack

type AlertingPolicy_Spec_Notification_Slack struct {

	// Slack Application configuration.
	// Exclusive with Incoming Webhook URL
	App *AlertingPolicy_Spec_Notification_Slack_App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty" firestore:"app"`
	// Incoming Webhook
	IncomingWebhook string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AlertingPolicy_Spec_Notification_Slack) Clone

func (*AlertingPolicy_Spec_Notification_Slack) CloneRaw

func (*AlertingPolicy_Spec_Notification_Slack) Descriptor

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

Deprecated, Use AlertingPolicy_Spec_Notification_Slack.ProtoReflect.Descriptor instead.

func (*AlertingPolicy_Spec_Notification_Slack) GetApp

func (*AlertingPolicy_Spec_Notification_Slack) GetIncomingWebhook

func (m *AlertingPolicy_Spec_Notification_Slack) GetIncomingWebhook() string

func (*AlertingPolicy_Spec_Notification_Slack) GotenMessage

func (*AlertingPolicy_Spec_Notification_Slack) GotenObjectExt

func (o *AlertingPolicy_Spec_Notification_Slack) GotenObjectExt()

func (*AlertingPolicy_Spec_Notification_Slack) GotenValidate

func (obj *AlertingPolicy_Spec_Notification_Slack) GotenValidate() error

func (*AlertingPolicy_Spec_Notification_Slack) MakeFullFieldMask

func (*AlertingPolicy_Spec_Notification_Slack) MakeRawDiffFieldMask

func (*AlertingPolicy_Spec_Notification_Slack) MakeRawFullFieldMask

func (*AlertingPolicy_Spec_Notification_Slack) Marshal

func (*AlertingPolicy_Spec_Notification_Slack) MarshalJSON

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

func (*AlertingPolicy_Spec_Notification_Slack) Merge

func (*AlertingPolicy_Spec_Notification_Slack) MergeRaw

func (*AlertingPolicy_Spec_Notification_Slack) ProtoMessage

func (*AlertingPolicy_Spec_Notification_Slack) ProtoReflect

func (*AlertingPolicy_Spec_Notification_Slack) Reset

func (*AlertingPolicy_Spec_Notification_Slack) SetApp

func (*AlertingPolicy_Spec_Notification_Slack) SetIncomingWebhook

func (m *AlertingPolicy_Spec_Notification_Slack) SetIncomingWebhook(fv string)

func (*AlertingPolicy_Spec_Notification_Slack) String

func (*AlertingPolicy_Spec_Notification_Slack) Unmarshal

func (*AlertingPolicy_Spec_Notification_Slack) UnmarshalJSON

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

type AlertingPolicy_Spec_Notification_SlackPathSelectorApp

type AlertingPolicy_Spec_Notification_SlackPathSelectorApp struct{}

func (AlertingPolicy_Spec_Notification_SlackPathSelectorApp) AuthToken

func (AlertingPolicy_Spec_Notification_SlackPathSelectorApp) Channel

func (AlertingPolicy_Spec_Notification_SlackPathSelectorApp) FieldPath

type AlertingPolicy_Spec_Notification_SlackPathSelectorAppAuthToken

type AlertingPolicy_Spec_Notification_SlackPathSelectorAppAuthToken struct{}

func (AlertingPolicy_Spec_Notification_SlackPathSelectorAppAuthToken) FieldPath

func (AlertingPolicy_Spec_Notification_SlackPathSelectorAppAuthToken) WithArrayOfValues

func (AlertingPolicy_Spec_Notification_SlackPathSelectorAppAuthToken) WithValue

type AlertingPolicy_Spec_Notification_SlackPathSelectorAppChannel

type AlertingPolicy_Spec_Notification_SlackPathSelectorAppChannel struct{}

func (AlertingPolicy_Spec_Notification_SlackPathSelectorAppChannel) FieldPath

func (AlertingPolicy_Spec_Notification_SlackPathSelectorAppChannel) WithArrayOfValues

func (AlertingPolicy_Spec_Notification_SlackPathSelectorAppChannel) WithItemValue

func (AlertingPolicy_Spec_Notification_SlackPathSelectorAppChannel) WithValue

type AlertingPolicy_Spec_Notification_SlackPathSelectorIncomingWebhook

type AlertingPolicy_Spec_Notification_SlackPathSelectorIncomingWebhook struct{}

func (AlertingPolicy_Spec_Notification_SlackPathSelectorIncomingWebhook) FieldPath

func (AlertingPolicy_Spec_Notification_SlackPathSelectorIncomingWebhook) WithArrayOfValues

func (AlertingPolicy_Spec_Notification_SlackPathSelectorIncomingWebhook) WithValue

type AlertingPolicy_Spec_Notification_Slack_App

type AlertingPolicy_Spec_Notification_Slack_App struct {

	// Slack app auth token
	AuthToken string `protobuf:"bytes,2,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty" firestore:"authToken"`
	// Slack channels to notify
	Channel []string `protobuf:"bytes,3,rep,name=channel,proto3" json:"channel,omitempty" firestore:"channel"`
	// contains filtered or unexported fields
}

func (*AlertingPolicy_Spec_Notification_Slack_App) Clone

func (*AlertingPolicy_Spec_Notification_Slack_App) CloneRaw

func (*AlertingPolicy_Spec_Notification_Slack_App) Descriptor

Deprecated, Use AlertingPolicy_Spec_Notification_Slack_App.ProtoReflect.Descriptor instead.

func (*AlertingPolicy_Spec_Notification_Slack_App) GetAuthToken

func (*AlertingPolicy_Spec_Notification_Slack_App) GetChannel

func (*AlertingPolicy_Spec_Notification_Slack_App) GotenMessage

func (*AlertingPolicy_Spec_Notification_Slack_App) GotenObjectExt

func (o *AlertingPolicy_Spec_Notification_Slack_App) GotenObjectExt()

func (*AlertingPolicy_Spec_Notification_Slack_App) GotenValidate

func (*AlertingPolicy_Spec_Notification_Slack_App) MakeFullFieldMask

func (*AlertingPolicy_Spec_Notification_Slack_App) MakeRawDiffFieldMask

func (*AlertingPolicy_Spec_Notification_Slack_App) MakeRawFullFieldMask

func (*AlertingPolicy_Spec_Notification_Slack_App) Marshal

func (*AlertingPolicy_Spec_Notification_Slack_App) MarshalJSON

func (*AlertingPolicy_Spec_Notification_Slack_App) Merge

func (*AlertingPolicy_Spec_Notification_Slack_App) MergeRaw

func (*AlertingPolicy_Spec_Notification_Slack_App) ProtoMessage

func (*AlertingPolicy_Spec_Notification_Slack_App) ProtoReflect

func (*AlertingPolicy_Spec_Notification_Slack_App) Reset

func (*AlertingPolicy_Spec_Notification_Slack_App) SetAuthToken

func (*AlertingPolicy_Spec_Notification_Slack_App) SetChannel

func (*AlertingPolicy_Spec_Notification_Slack_App) String

func (*AlertingPolicy_Spec_Notification_Slack_App) Unmarshal

func (*AlertingPolicy_Spec_Notification_Slack_App) UnmarshalJSON

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

type AlertingPolicy_Spec_Notification_Slack_AppPathSelectorAuthToken

type AlertingPolicy_Spec_Notification_Slack_AppPathSelectorAuthToken struct{}

func (AlertingPolicy_Spec_Notification_Slack_AppPathSelectorAuthToken) FieldPath

func (AlertingPolicy_Spec_Notification_Slack_AppPathSelectorAuthToken) WithArrayOfValues

func (AlertingPolicy_Spec_Notification_Slack_AppPathSelectorAuthToken) WithValue

type AlertingPolicy_Spec_Notification_Slack_AppPathSelectorChannel

type AlertingPolicy_Spec_Notification_Slack_AppPathSelectorChannel struct{}

func (AlertingPolicy_Spec_Notification_Slack_AppPathSelectorChannel) FieldPath

func (AlertingPolicy_Spec_Notification_Slack_AppPathSelectorChannel) WithArrayOfValues

func (AlertingPolicy_Spec_Notification_Slack_AppPathSelectorChannel) WithItemValue

func (AlertingPolicy_Spec_Notification_Slack_AppPathSelectorChannel) WithValue

type AlertingPolicy_Spec_Notification_Slack_App_FieldMask

type AlertingPolicy_Spec_Notification_Slack_App_FieldMask struct {
	Paths []AlertingPolicySpecNotificationSlackApp_FieldPath
}

func FullAlertingPolicy_Spec_Notification_Slack_App_FieldMask

func FullAlertingPolicy_Spec_Notification_Slack_App_FieldMask() *AlertingPolicy_Spec_Notification_Slack_App_FieldMask

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) AppendPath

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) AppendRawPath

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) DecodeFirestore

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) EncodeFirestore

firestore encoding/decoding integration

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) FromProtoFieldMask

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

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) GetPaths

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) GetRawPaths

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) IsFull

func (AlertingPolicy_Spec_Notification_Slack_App_FieldMask) Marshal

implement methods required by customType

func (AlertingPolicy_Spec_Notification_Slack_App_FieldMask) MarshalJSON

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) PathsCount

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) Project

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) ProjectRaw

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) ProtoMessage

func (fieldMask *AlertingPolicy_Spec_Notification_Slack_App_FieldMask) ProtoMessage()

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) ProtoReflect

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) Reset

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) Set

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) SetFromCliFlag

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

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) SetRaw

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) Size

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) String

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) SubtractRaw

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) ToProtoFieldMask

ToFieldMask is used for proto conversions

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) Unmarshal

func (*AlertingPolicy_Spec_Notification_Slack_App_FieldMask) UnmarshalJSON

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

type AlertingPolicy_Spec_Notification_Slack_FieldMask

type AlertingPolicy_Spec_Notification_Slack_FieldMask struct {
	Paths []AlertingPolicySpecNotificationSlack_FieldPath
}

func FullAlertingPolicy_Spec_Notification_Slack_FieldMask

func FullAlertingPolicy_Spec_Notification_Slack_FieldMask() *AlertingPolicy_Spec_Notification_Slack_FieldMask

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) AppendPath

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) AppendRawPath

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) DecodeFirestore

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

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) EncodeFirestore

firestore encoding/decoding integration

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) FromProtoFieldMask

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

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) GetPaths

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) GetRawPaths

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) IsFull

func (AlertingPolicy_Spec_Notification_Slack_FieldMask) Marshal

implement methods required by customType

func (AlertingPolicy_Spec_Notification_Slack_FieldMask) MarshalJSON

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

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) PathsCount

func (fieldMask *AlertingPolicy_Spec_Notification_Slack_FieldMask) PathsCount() int

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) Project

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) ProjectRaw

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) ProtoMessage

func (fieldMask *AlertingPolicy_Spec_Notification_Slack_FieldMask) ProtoMessage()

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) ProtoReflect

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) Reset

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) Set

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) SetFromCliFlag

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

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) SetRaw

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) Size

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) String

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) SubtractRaw

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) ToProtoFieldMask

ToFieldMask is used for proto conversions

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) Unmarshal

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

func (*AlertingPolicy_Spec_Notification_Slack_FieldMask) UnmarshalJSON

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

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) GetNameDescriptor

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

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 added in v0.4.16

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

func (*Descriptor) NewResourceFilter added in v0.4.16

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 added in v0.4.16

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

func (*Descriptor) NewResourcePager added in v0.9.0

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)

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 *AlertingPolicy) 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 []*AlertingPolicy) (out []*AlertingPolicy)

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 AlertingPolicy_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 *AlertingPolicy) bool

	// Whether this condition is at least as specific as other.
	// When true, any AlertingPolicy 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 AlertingPolicy_FieldPath) bool
	// contains filtered or unexported methods
}

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	AlertingPolicy_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *AlertingPolicy) 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 AlertingPolicy_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 *AlertingPolicy) 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 AlertingPolicy_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 *AlertingPolicy) bool

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

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 AlertingPolicy_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 {
	AlertingPolicy_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *AlertingPolicy) 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 AlertingPolicy_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 AlertingPolicy_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *AlertingPolicy) 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 AlertingPolicy_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 AlertingPolicy_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *AlertingPolicy) 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 AlertingPolicy_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 *AlertingPolicy) 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 AlertingPolicy_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 {
	AlertingPolicy_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *AlertingPolicy) 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 AlertingPolicy_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      *AlertingPolicy_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           *AlertingPolicy_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 added in v0.10.1

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 added in v0.10.1

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type Name

type Name struct {
	ParentName
	AlertingPolicyId string `firestore:"alertingPolicyId"`
}

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 added in v0.8.0

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

func (*Name) GetIUnderlyingParentName added in v0.8.0

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) GetProjectName

func (name *Name) GetProjectName() *project.Name

func (*Name) GetResourceDescriptor

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

func (*Name) GetSegments

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

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) SetProject

func (b *NameBuilder) SetProject(parent *project.Name) *NameBuilder

func (*NameBuilder) SetProjectId

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

func (*NameBuilder) SetRegionId

func (b *NameBuilder) SetRegionId(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 *AlertingPolicy) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *AlertingPolicy_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 AlertingPolicyList, elem *AlertingPolicy) (AlertingPolicyList, 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 AlertingPolicyList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath AlertingPolicy_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 *AlertingPolicy) 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 added in v0.8.0

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

func (*PagerQuery) SetLimit added in v0.8.0

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy added in v0.8.0

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

func (*PagerQuery) SetPageDirection added in v0.8.0

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

func (*PagerQuery) SetPeekForward added in v0.8.0

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

type ParentName struct {
	NamePattern
	ProjectId string `firestore:"projectId"`
	RegionId  string `firestore:"regionId"`
}

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) DescendsFrom

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

func (*ParentName) FullyQualifiedName

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

func (*ParentName) GetIParentName added in v0.8.0

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

func (*ParentName) GetIUnderlyingParentName added in v0.8.0

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) GetProjectName

func (name *ParentName) GetProjectName() *project.Name

func (*ParentName) GetResourceDescriptor

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

func (*ParentName) GetSegments

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

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) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

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) 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

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) ConvertToNative added in v0.6.9

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

func (*ParentReference) ConvertToType added in v0.6.9

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

func (*ParentReference) Equal added in v0.6.9

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

func (*ParentReference) GetIParentName added in v0.8.0

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

func (*ParentReference) GetIUnderlyingParentName added in v0.8.0

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) GetProject

func (ref *ParentReference) GetProject() *project.Project

func (*ParentReference) GetProjectReference

func (ref *ParentReference) GetProjectReference() *project.Reference

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) 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) HasTrait added in v0.6.9

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

func (*ParentReference) IsFullyQualified

func (ref *ParentReference) IsFullyQualified() bool

func (*ParentReference) IsSpecified

func (ref *ParentReference) IsSpecified() bool

func (*ParentReference) Match added in v0.6.9

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

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) Receive added in v0.6.9

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

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

func (*ParentReference) Type added in v0.6.9

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

func (*ParentReference) TypeName added in v0.6.9

func (name *ParentReference) TypeName() string

func (*ParentReference) Value added in v0.6.9

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

type QueryResultChange

type QueryResultChange struct {
	Changes        []*AlertingPolicyChange
	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 {
	AlertingPolicies  []*AlertingPolicy
	PrevPageCursor    *PagerCursor
	NextPageCursor    *PagerCursor
	TotalResultsCount int32
	CurrentOffset     int32
}

func (*QueryResultSnapshot) GetNextPageCursor

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

func (*QueryResultSnapshot) GetPagingInfo added in v0.10.1

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 added in v0.10.1

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, alertingPolicy *AlertingPolicy) (*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) GetAlertingPolicy

func (ref *Reference) GetAlertingPolicy() *AlertingPolicy

func (*Reference) GetIParentName added in v0.8.0

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

func (*Reference) GetIUnderlyingParentName added in v0.8.0

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 *AlertingPolicy)

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 SearchQuery added in v0.10.4

type SearchQuery struct {
	ListQuery
	Phrase string
}

func (*SearchQuery) GetPhrase added in v0.10.4

func (q *SearchQuery) GetPhrase() string

func (*SearchQuery) GetWithPagingInfo added in v0.10.4

func (q *SearchQuery) GetWithPagingInfo() bool

func (*SearchQuery) SetPhrase added in v0.10.4

func (q *SearchQuery) SetPhrase(phrase string)

func (*SearchQuery) String added in v0.10.4

func (q *SearchQuery) 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 added in v0.9.0

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 added in v0.9.0

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

func (*WatchQuery) SetWatchType

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

func (*WatchQuery) String added in v0.4.29

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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