Documentation
¶
Index ¶
- Variables
- type Blueprint
- func (*Blueprint) Descriptor() ([]byte, []int)deprecated
- func (x *Blueprint) GetDataSources() map[string]*DataSource
- func (x *Blueprint) GetExports() map[string]*Export
- func (x *Blueprint) GetInclude() map[string]*Include
- func (x *Blueprint) GetMetadata() *MappingNode
- func (x *Blueprint) GetResources() map[string]*Resource
- func (x *Blueprint) GetTransform() []string
- func (x *Blueprint) GetValues() map[string]*Value
- func (x *Blueprint) GetVariables() map[string]*Variable
- func (x *Blueprint) GetVersion() *ScalarValue
- func (*Blueprint) ProtoMessage()
- func (x *Blueprint) ProtoReflect() protoreflect.Message
- func (x *Blueprint) Reset()
- func (x *Blueprint) String() string
- type ColumnAccuracy
- func (ColumnAccuracy) Descriptor() protoreflect.EnumDescriptor
- func (x ColumnAccuracy) Enum() *ColumnAccuracy
- func (ColumnAccuracy) EnumDescriptor() ([]byte, []int)deprecated
- func (x ColumnAccuracy) Number() protoreflect.EnumNumber
- func (x ColumnAccuracy) String() string
- func (ColumnAccuracy) Type() protoreflect.EnumType
- type DataSource
- func (*DataSource) Descriptor() ([]byte, []int)deprecated
- func (x *DataSource) GetDescription() *StringOrSubstitutions
- func (x *DataSource) GetExportAllFields() bool
- func (x *DataSource) GetExports() map[string]*DataSourceFieldExport
- func (x *DataSource) GetFilter() []*DataSourceFilter
- func (x *DataSource) GetMetadata() *DataSourceMetadata
- func (x *DataSource) GetType() string
- func (*DataSource) ProtoMessage()
- func (x *DataSource) ProtoReflect() protoreflect.Message
- func (x *DataSource) Reset()
- func (x *DataSource) String() string
- type DataSourceFieldExport
- func (*DataSourceFieldExport) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceFieldExport) GetAliasFor() *ScalarValue
- func (x *DataSourceFieldExport) GetDescription() *StringOrSubstitutions
- func (x *DataSourceFieldExport) GetType() string
- func (*DataSourceFieldExport) ProtoMessage()
- func (x *DataSourceFieldExport) ProtoReflect() protoreflect.Message
- func (x *DataSourceFieldExport) Reset()
- func (x *DataSourceFieldExport) String() string
- type DataSourceFilter
- func (*DataSourceFilter) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceFilter) GetField() *ScalarValue
- func (x *DataSourceFilter) GetOperator() string
- func (x *DataSourceFilter) GetSearch() *DataSourceFilterSearch
- func (*DataSourceFilter) ProtoMessage()
- func (x *DataSourceFilter) ProtoReflect() protoreflect.Message
- func (x *DataSourceFilter) Reset()
- func (x *DataSourceFilter) String() string
- type DataSourceFilterSearch
- func (*DataSourceFilterSearch) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceFilterSearch) GetValues() []*StringOrSubstitutions
- func (*DataSourceFilterSearch) ProtoMessage()
- func (x *DataSourceFilterSearch) ProtoReflect() protoreflect.Message
- func (x *DataSourceFilterSearch) Reset()
- func (x *DataSourceFilterSearch) String() string
- type DataSourceMetadata
- func (*DataSourceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceMetadata) GetAnnotations() map[string]*StringOrSubstitutions
- func (x *DataSourceMetadata) GetCustom() *MappingNode
- func (x *DataSourceMetadata) GetDisplayName() *StringOrSubstitutions
- func (*DataSourceMetadata) ProtoMessage()
- func (x *DataSourceMetadata) ProtoReflect() protoreflect.Message
- func (x *DataSourceMetadata) Reset()
- func (x *DataSourceMetadata) String() string
- type EmptyContainer
- func (EmptyContainer) Descriptor() protoreflect.EnumDescriptor
- func (x EmptyContainer) Enum() *EmptyContainer
- func (EmptyContainer) EnumDescriptor() ([]byte, []int)deprecated
- func (x EmptyContainer) Number() protoreflect.EnumNumber
- func (x EmptyContainer) String() string
- func (EmptyContainer) Type() protoreflect.EnumType
- type Export
- func (*Export) Descriptor() ([]byte, []int)deprecated
- func (x *Export) GetDescription() *StringOrSubstitutions
- func (x *Export) GetField() *ScalarValue
- func (x *Export) GetType() string
- func (*Export) ProtoMessage()
- func (x *Export) ProtoReflect() protoreflect.Message
- func (x *Export) Reset()
- func (x *Export) String() string
- type Include
- func (*Include) Descriptor() ([]byte, []int)deprecated
- func (x *Include) GetDescription() *StringOrSubstitutions
- func (x *Include) GetMetadata() *MappingNode
- func (x *Include) GetPath() *StringOrSubstitutions
- func (x *Include) GetVariables() *MappingNode
- func (*Include) ProtoMessage()
- func (x *Include) ProtoReflect() protoreflect.Message
- func (x *Include) Reset()
- func (x *Include) String() string
- type LinkSelector
- func (*LinkSelector) Descriptor() ([]byte, []int)deprecated
- func (x *LinkSelector) GetByLabel() map[string]string
- func (x *LinkSelector) GetExclude() []string
- func (*LinkSelector) ProtoMessage()
- func (x *LinkSelector) ProtoReflect() protoreflect.Message
- func (x *LinkSelector) Reset()
- func (x *LinkSelector) String() string
- type MappingNode
- func (*MappingNode) Descriptor() ([]byte, []int)deprecated
- func (x *MappingNode) GetEmptyContainer() EmptyContainer
- func (x *MappingNode) GetFields() map[string]*MappingNode
- func (x *MappingNode) GetFieldsSourceMeta() map[string]*SourceMeta
- func (x *MappingNode) GetItems() []*MappingNode
- func (x *MappingNode) GetScalar() *ScalarValue
- func (x *MappingNode) GetSourceMeta() *SourceMeta
- func (x *MappingNode) GetStringWithSubstitutions() *StringOrSubstitutions
- func (*MappingNode) ProtoMessage()
- func (x *MappingNode) ProtoReflect() protoreflect.Message
- func (x *MappingNode) Reset()
- func (x *MappingNode) String() string
- type Position
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetCondition() *ResourceCondition
- func (x *Resource) GetDependsOn() []string
- func (x *Resource) GetDescription() *StringOrSubstitutions
- func (x *Resource) GetEach() *StringOrSubstitutions
- func (x *Resource) GetFieldsSourceMeta() map[string]*SourceMeta
- func (x *Resource) GetLinkSelector() *LinkSelector
- func (x *Resource) GetMetadata() *ResourceMetadata
- func (x *Resource) GetRemovalPolicy() string
- func (x *Resource) GetSourceMeta() *SourceMeta
- func (x *Resource) GetSpec() *MappingNode
- func (x *Resource) GetType() string
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type ResourceCondition
- func (*ResourceCondition) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceCondition) GetAnd() []*ResourceCondition
- func (x *ResourceCondition) GetNot() *ResourceCondition
- func (x *ResourceCondition) GetOr() []*ResourceCondition
- func (x *ResourceCondition) GetStringValue() *StringOrSubstitutions
- func (*ResourceCondition) ProtoMessage()
- func (x *ResourceCondition) ProtoReflect() protoreflect.Message
- func (x *ResourceCondition) Reset()
- func (x *ResourceCondition) String() string
- type ResourceMetadata
- func (*ResourceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMetadata) GetAnnotations() map[string]*StringOrSubstitutions
- func (x *ResourceMetadata) GetCustom() *MappingNode
- func (x *ResourceMetadata) GetDisplayName() *StringOrSubstitutions
- func (x *ResourceMetadata) GetLabels() map[string]string
- func (*ResourceMetadata) ProtoMessage()
- func (x *ResourceMetadata) ProtoReflect() protoreflect.Message
- func (x *ResourceMetadata) Reset()
- func (x *ResourceMetadata) String() string
- type ScalarValue
- func (*ScalarValue) Descriptor() ([]byte, []int)deprecated
- func (x *ScalarValue) GetBoolValue() bool
- func (x *ScalarValue) GetBytesValue() []byte
- func (x *ScalarValue) GetFloatValue() float64
- func (x *ScalarValue) GetIntValue() int64
- func (x *ScalarValue) GetNoneValue() bool
- func (x *ScalarValue) GetSourceMeta() *SourceMeta
- func (x *ScalarValue) GetStringValue() string
- func (x *ScalarValue) GetValue() isScalarValue_Value
- func (*ScalarValue) ProtoMessage()
- func (x *ScalarValue) ProtoReflect() protoreflect.Message
- func (x *ScalarValue) Reset()
- func (x *ScalarValue) String() string
- type ScalarValue_BoolValue
- type ScalarValue_BytesValue
- type ScalarValue_FloatValue
- type ScalarValue_IntValue
- type ScalarValue_NoneValue
- type ScalarValue_StringValue
- type SourceMeta
- func (*SourceMeta) Descriptor() ([]byte, []int)deprecated
- func (x *SourceMeta) GetColumnAccuracy() ColumnAccuracy
- func (x *SourceMeta) GetEndPosition() *Position
- func (x *SourceMeta) GetPosition() *Position
- func (*SourceMeta) ProtoMessage()
- func (x *SourceMeta) ProtoReflect() protoreflect.Message
- func (x *SourceMeta) Reset()
- func (x *SourceMeta) String() string
- type StringOrSubstitution
- func (*StringOrSubstitution) Descriptor() ([]byte, []int)deprecated
- func (x *StringOrSubstitution) GetStringValue() string
- func (x *StringOrSubstitution) GetSubstitutionValue() *Substitution
- func (x *StringOrSubstitution) GetValue() isStringOrSubstitution_Value
- func (*StringOrSubstitution) ProtoMessage()
- func (x *StringOrSubstitution) ProtoReflect() protoreflect.Message
- func (x *StringOrSubstitution) Reset()
- func (x *StringOrSubstitution) String() string
- type StringOrSubstitution_StringValue
- type StringOrSubstitution_SubstitutionValue
- type StringOrSubstitutions
- func (*StringOrSubstitutions) Descriptor() ([]byte, []int)deprecated
- func (x *StringOrSubstitutions) GetValues() []*StringOrSubstitution
- func (*StringOrSubstitutions) ProtoMessage()
- func (x *StringOrSubstitutions) ProtoReflect() protoreflect.Message
- func (x *StringOrSubstitutions) Reset()
- func (x *StringOrSubstitutions) String() string
- type Substitution
- func (*Substitution) Descriptor() ([]byte, []int)deprecated
- func (x *Substitution) GetBoolValue() bool
- func (x *Substitution) GetChild() *SubstitutionChild
- func (x *Substitution) GetDataSourceProperty() *SubstitutionDataSourceProperty
- func (x *Substitution) GetElem() *SubstitutionElem
- func (x *Substitution) GetElemIndex() *SubstitutionElemIndex
- func (x *Substitution) GetFloatValue() float64
- func (x *Substitution) GetFunctionExpr() *SubstitutionFunctionExpr
- func (x *Substitution) GetIntValue() int64
- func (x *Substitution) GetNoneValue() bool
- func (x *Substitution) GetResourceProperty() *SubstitutionResourceProperty
- func (x *Substitution) GetStringValue() string
- func (x *Substitution) GetSub() isSubstitution_Sub
- func (x *Substitution) GetValue() *SubstitutionValue
- func (x *Substitution) GetVariable() *SubstitutionVariable
- func (*Substitution) ProtoMessage()
- func (x *Substitution) ProtoReflect() protoreflect.Message
- func (x *Substitution) Reset()
- func (x *Substitution) String() string
- type SubstitutionChild
- func (*SubstitutionChild) Descriptor() ([]byte, []int)deprecated
- func (x *SubstitutionChild) GetChildName() string
- func (x *SubstitutionChild) GetPath() []*SubstitutionPathItem
- func (*SubstitutionChild) ProtoMessage()
- func (x *SubstitutionChild) ProtoReflect() protoreflect.Message
- func (x *SubstitutionChild) Reset()
- func (x *SubstitutionChild) String() string
- type SubstitutionDataSourceProperty
- func (*SubstitutionDataSourceProperty) Descriptor() ([]byte, []int)deprecated
- func (x *SubstitutionDataSourceProperty) GetDataSourceName() string
- func (x *SubstitutionDataSourceProperty) GetFieldName() string
- func (x *SubstitutionDataSourceProperty) GetPrimitiveArrIndex() int64
- func (*SubstitutionDataSourceProperty) ProtoMessage()
- func (x *SubstitutionDataSourceProperty) ProtoReflect() protoreflect.Message
- func (x *SubstitutionDataSourceProperty) Reset()
- func (x *SubstitutionDataSourceProperty) String() string
- type SubstitutionElem
- func (*SubstitutionElem) Descriptor() ([]byte, []int)deprecated
- func (x *SubstitutionElem) GetPath() []*SubstitutionPathItem
- func (*SubstitutionElem) ProtoMessage()
- func (x *SubstitutionElem) ProtoReflect() protoreflect.Message
- func (x *SubstitutionElem) Reset()
- func (x *SubstitutionElem) String() string
- type SubstitutionElemIndex
- func (*SubstitutionElemIndex) Descriptor() ([]byte, []int)deprecated
- func (x *SubstitutionElemIndex) GetIsIndex() bool
- func (*SubstitutionElemIndex) ProtoMessage()
- func (x *SubstitutionElemIndex) ProtoReflect() protoreflect.Message
- func (x *SubstitutionElemIndex) Reset()
- func (x *SubstitutionElemIndex) String() string
- type SubstitutionFunctionArg
- func (*SubstitutionFunctionArg) Descriptor() ([]byte, []int)deprecated
- func (x *SubstitutionFunctionArg) GetName() string
- func (x *SubstitutionFunctionArg) GetValue() *Substitution
- func (*SubstitutionFunctionArg) ProtoMessage()
- func (x *SubstitutionFunctionArg) ProtoReflect() protoreflect.Message
- func (x *SubstitutionFunctionArg) Reset()
- func (x *SubstitutionFunctionArg) String() string
- type SubstitutionFunctionExpr
- func (*SubstitutionFunctionExpr) Descriptor() ([]byte, []int)deprecated
- func (x *SubstitutionFunctionExpr) GetArguments() []*SubstitutionFunctionArg
- func (x *SubstitutionFunctionExpr) GetFunctionName() string
- func (*SubstitutionFunctionExpr) ProtoMessage()
- func (x *SubstitutionFunctionExpr) ProtoReflect() protoreflect.Message
- func (x *SubstitutionFunctionExpr) Reset()
- func (x *SubstitutionFunctionExpr) String() string
- type SubstitutionPathItem
- func (*SubstitutionPathItem) Descriptor() ([]byte, []int)deprecated
- func (x *SubstitutionPathItem) GetArrayIndex() int64
- func (x *SubstitutionPathItem) GetFieldName() string
- func (x *SubstitutionPathItem) GetItem() isSubstitutionPathItem_Item
- func (*SubstitutionPathItem) ProtoMessage()
- func (x *SubstitutionPathItem) ProtoReflect() protoreflect.Message
- func (x *SubstitutionPathItem) Reset()
- func (x *SubstitutionPathItem) String() string
- type SubstitutionPathItem_ArrayIndex
- type SubstitutionPathItem_FieldName
- type SubstitutionResourceProperty
- func (*SubstitutionResourceProperty) Descriptor() ([]byte, []int)deprecated
- func (x *SubstitutionResourceProperty) GetEachTemplateIndex() int64
- func (x *SubstitutionResourceProperty) GetPath() []*SubstitutionPathItem
- func (x *SubstitutionResourceProperty) GetResourceName() string
- func (*SubstitutionResourceProperty) ProtoMessage()
- func (x *SubstitutionResourceProperty) ProtoReflect() protoreflect.Message
- func (x *SubstitutionResourceProperty) Reset()
- func (x *SubstitutionResourceProperty) String() string
- type SubstitutionValue
- func (*SubstitutionValue) Descriptor() ([]byte, []int)deprecated
- func (x *SubstitutionValue) GetPath() []*SubstitutionPathItem
- func (x *SubstitutionValue) GetValueName() string
- func (*SubstitutionValue) ProtoMessage()
- func (x *SubstitutionValue) ProtoReflect() protoreflect.Message
- func (x *SubstitutionValue) Reset()
- func (x *SubstitutionValue) String() string
- type SubstitutionVariable
- func (*SubstitutionVariable) Descriptor() ([]byte, []int)deprecated
- func (x *SubstitutionVariable) GetVariableName() string
- func (*SubstitutionVariable) ProtoMessage()
- func (x *SubstitutionVariable) ProtoReflect() protoreflect.Message
- func (x *SubstitutionVariable) Reset()
- func (x *SubstitutionVariable) String() string
- type Substitution_BoolValue
- type Substitution_Child
- type Substitution_DataSourceProperty
- type Substitution_Elem
- type Substitution_ElemIndex
- type Substitution_FloatValue
- type Substitution_FunctionExpr
- type Substitution_IntValue
- type Substitution_NoneValue
- type Substitution_ResourceProperty
- type Substitution_StringValue
- type Substitution_Value
- type Substitution_Variable
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetDescription() *StringOrSubstitutions
- func (x *Value) GetSecret() *ScalarValue
- func (x *Value) GetType() string
- func (x *Value) GetValue() *MappingNode
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type Variable
- func (*Variable) Descriptor() ([]byte, []int)deprecated
- func (x *Variable) GetAllowedValues() []*ScalarValue
- func (x *Variable) GetDefault() *ScalarValue
- func (x *Variable) GetDescription() *ScalarValue
- func (x *Variable) GetSecret() *ScalarValue
- func (x *Variable) GetType() string
- func (*Variable) ProtoMessage()
- func (x *Variable) ProtoReflect() protoreflect.Message
- func (x *Variable) Reset()
- func (x *Variable) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ColumnAccuracy_name = map[int32]string{ 0: "COLUMN_ACCURACY_NONE", 1: "COLUMN_ACCURACY_EXACT", 2: "COLUMN_ACCURACY_APPROXIMATE", } ColumnAccuracy_value = map[string]int32{ "COLUMN_ACCURACY_NONE": 0, "COLUMN_ACCURACY_EXACT": 1, "COLUMN_ACCURACY_APPROXIMATE": 2, } )
Enum value maps for ColumnAccuracy.
var ( EmptyContainer_name = map[int32]string{ 0: "EMPTY_CONTAINER_UNSPECIFIED", 1: "EMPTY_CONTAINER_FIELDS", 2: "EMPTY_CONTAINER_ITEMS", } EmptyContainer_value = map[string]int32{ "EMPTY_CONTAINER_UNSPECIFIED": 0, "EMPTY_CONTAINER_FIELDS": 1, "EMPTY_CONTAINER_ITEMS": 2, } )
Enum value maps for EmptyContainer.
var File_schema_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Blueprint ¶
type Blueprint struct {
Version *ScalarValue `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
Transform []string `protobuf:"bytes,2,rep,name=transform,proto3" json:"transform,omitempty"`
Variables map[string]*Variable `` /* 145-byte string literal not displayed */
Values map[string]*Value `` /* 139-byte string literal not displayed */
Include map[string]*Include `` /* 141-byte string literal not displayed */
Resources map[string]*Resource `` /* 145-byte string literal not displayed */
DataSources map[string]*DataSource `` /* 168-byte string literal not displayed */
Exports map[string]*Export `` /* 141-byte string literal not displayed */
Metadata *MappingNode `protobuf:"bytes,9,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
func (*Blueprint) Descriptor
deprecated
func (*Blueprint) GetDataSources ¶
func (x *Blueprint) GetDataSources() map[string]*DataSource
func (*Blueprint) GetExports ¶
func (*Blueprint) GetInclude ¶
func (*Blueprint) GetMetadata ¶
func (x *Blueprint) GetMetadata() *MappingNode
func (*Blueprint) GetResources ¶
func (*Blueprint) GetTransform ¶
func (*Blueprint) GetVariables ¶
func (*Blueprint) GetVersion ¶
func (x *Blueprint) GetVersion() *ScalarValue
func (*Blueprint) ProtoMessage ¶
func (*Blueprint) ProtoMessage()
func (*Blueprint) ProtoReflect ¶
func (x *Blueprint) ProtoReflect() protoreflect.Message
type ColumnAccuracy ¶ added in v0.52.0
type ColumnAccuracy int32
const ( // protobuf enums must have a zero value. ColumnAccuracy starts at 1 as per // the Blueprint framework. ColumnAccuracy_COLUMN_ACCURACY_NONE ColumnAccuracy = 0 ColumnAccuracy_COLUMN_ACCURACY_EXACT ColumnAccuracy = 1 ColumnAccuracy_COLUMN_ACCURACY_APPROXIMATE ColumnAccuracy = 2 )
func (ColumnAccuracy) Descriptor ¶ added in v0.52.0
func (ColumnAccuracy) Descriptor() protoreflect.EnumDescriptor
func (ColumnAccuracy) Enum ¶ added in v0.52.0
func (x ColumnAccuracy) Enum() *ColumnAccuracy
func (ColumnAccuracy) EnumDescriptor
deprecated
added in
v0.52.0
func (ColumnAccuracy) EnumDescriptor() ([]byte, []int)
Deprecated: Use ColumnAccuracy.Descriptor instead.
func (ColumnAccuracy) Number ¶ added in v0.52.0
func (x ColumnAccuracy) Number() protoreflect.EnumNumber
func (ColumnAccuracy) String ¶ added in v0.52.0
func (x ColumnAccuracy) String() string
func (ColumnAccuracy) Type ¶ added in v0.52.0
func (ColumnAccuracy) Type() protoreflect.EnumType
type DataSource ¶
type DataSource struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Metadata *DataSourceMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
Filter []*DataSourceFilter `protobuf:"bytes,3,rep,name=filter,proto3" json:"filter,omitempty"`
ExportAllFields bool `protobuf:"varint,4,opt,name=export_all_fields,json=exportAllFields,proto3" json:"export_all_fields,omitempty"`
Exports map[string]*DataSourceFieldExport `` /* 141-byte string literal not displayed */
Description *StringOrSubstitutions `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*DataSource) Descriptor
deprecated
func (*DataSource) Descriptor() ([]byte, []int)
Deprecated: Use DataSource.ProtoReflect.Descriptor instead.
func (*DataSource) GetDescription ¶
func (x *DataSource) GetDescription() *StringOrSubstitutions
func (*DataSource) GetExportAllFields ¶
func (x *DataSource) GetExportAllFields() bool
func (*DataSource) GetExports ¶
func (x *DataSource) GetExports() map[string]*DataSourceFieldExport
func (*DataSource) GetFilter ¶
func (x *DataSource) GetFilter() []*DataSourceFilter
func (*DataSource) GetMetadata ¶
func (x *DataSource) GetMetadata() *DataSourceMetadata
func (*DataSource) GetType ¶
func (x *DataSource) GetType() string
func (*DataSource) ProtoMessage ¶
func (*DataSource) ProtoMessage()
func (*DataSource) ProtoReflect ¶
func (x *DataSource) ProtoReflect() protoreflect.Message
func (*DataSource) Reset ¶
func (x *DataSource) Reset()
func (*DataSource) String ¶
func (x *DataSource) String() string
type DataSourceFieldExport ¶
type DataSourceFieldExport struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
AliasFor *ScalarValue `protobuf:"bytes,2,opt,name=alias_for,json=aliasFor,proto3" json:"alias_for,omitempty"`
Description *StringOrSubstitutions `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*DataSourceFieldExport) Descriptor
deprecated
func (*DataSourceFieldExport) Descriptor() ([]byte, []int)
Deprecated: Use DataSourceFieldExport.ProtoReflect.Descriptor instead.
func (*DataSourceFieldExport) GetAliasFor ¶
func (x *DataSourceFieldExport) GetAliasFor() *ScalarValue
func (*DataSourceFieldExport) GetDescription ¶
func (x *DataSourceFieldExport) GetDescription() *StringOrSubstitutions
func (*DataSourceFieldExport) GetType ¶
func (x *DataSourceFieldExport) GetType() string
func (*DataSourceFieldExport) ProtoMessage ¶
func (*DataSourceFieldExport) ProtoMessage()
func (*DataSourceFieldExport) ProtoReflect ¶
func (x *DataSourceFieldExport) ProtoReflect() protoreflect.Message
func (*DataSourceFieldExport) Reset ¶
func (x *DataSourceFieldExport) Reset()
func (*DataSourceFieldExport) String ¶
func (x *DataSourceFieldExport) String() string
type DataSourceFilter ¶
type DataSourceFilter struct {
Field *ScalarValue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
Search *DataSourceFilterSearch `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"`
// contains filtered or unexported fields
}
func (*DataSourceFilter) Descriptor
deprecated
func (*DataSourceFilter) Descriptor() ([]byte, []int)
Deprecated: Use DataSourceFilter.ProtoReflect.Descriptor instead.
func (*DataSourceFilter) GetField ¶
func (x *DataSourceFilter) GetField() *ScalarValue
func (*DataSourceFilter) GetOperator ¶
func (x *DataSourceFilter) GetOperator() string
func (*DataSourceFilter) GetSearch ¶
func (x *DataSourceFilter) GetSearch() *DataSourceFilterSearch
func (*DataSourceFilter) ProtoMessage ¶
func (*DataSourceFilter) ProtoMessage()
func (*DataSourceFilter) ProtoReflect ¶
func (x *DataSourceFilter) ProtoReflect() protoreflect.Message
func (*DataSourceFilter) Reset ¶
func (x *DataSourceFilter) Reset()
func (*DataSourceFilter) String ¶
func (x *DataSourceFilter) String() string
type DataSourceFilterSearch ¶
type DataSourceFilterSearch struct {
Values []*StringOrSubstitutions `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*DataSourceFilterSearch) Descriptor
deprecated
func (*DataSourceFilterSearch) Descriptor() ([]byte, []int)
Deprecated: Use DataSourceFilterSearch.ProtoReflect.Descriptor instead.
func (*DataSourceFilterSearch) GetValues ¶
func (x *DataSourceFilterSearch) GetValues() []*StringOrSubstitutions
func (*DataSourceFilterSearch) ProtoMessage ¶
func (*DataSourceFilterSearch) ProtoMessage()
func (*DataSourceFilterSearch) ProtoReflect ¶
func (x *DataSourceFilterSearch) ProtoReflect() protoreflect.Message
func (*DataSourceFilterSearch) Reset ¶
func (x *DataSourceFilterSearch) Reset()
func (*DataSourceFilterSearch) String ¶
func (x *DataSourceFilterSearch) String() string
type DataSourceMetadata ¶
type DataSourceMetadata struct {
DisplayName *StringOrSubstitutions `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
Annotations map[string]*StringOrSubstitutions `` /* 149-byte string literal not displayed */
Custom *MappingNode `protobuf:"bytes,3,opt,name=custom,proto3,oneof" json:"custom,omitempty"`
// contains filtered or unexported fields
}
func (*DataSourceMetadata) Descriptor
deprecated
func (*DataSourceMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DataSourceMetadata.ProtoReflect.Descriptor instead.
func (*DataSourceMetadata) GetAnnotations ¶
func (x *DataSourceMetadata) GetAnnotations() map[string]*StringOrSubstitutions
func (*DataSourceMetadata) GetCustom ¶
func (x *DataSourceMetadata) GetCustom() *MappingNode
func (*DataSourceMetadata) GetDisplayName ¶
func (x *DataSourceMetadata) GetDisplayName() *StringOrSubstitutions
func (*DataSourceMetadata) ProtoMessage ¶
func (*DataSourceMetadata) ProtoMessage()
func (*DataSourceMetadata) ProtoReflect ¶
func (x *DataSourceMetadata) ProtoReflect() protoreflect.Message
func (*DataSourceMetadata) Reset ¶
func (x *DataSourceMetadata) Reset()
func (*DataSourceMetadata) String ¶
func (x *DataSourceMetadata) String() string
type EmptyContainer ¶ added in v0.53.0
type EmptyContainer int32
Which container a mapping node holds when that container is empty.
proto3 does not put an empty map or list on the wire, so an empty one and an absent one arrive identical. The two mean different things: an empty mapping is a value, whereas a node with nothing set is an unresolved node and is rejected. Without this, a resource whose spec is an empty mapping is sent successfully and fails to be read back.
const ( EmptyContainer_EMPTY_CONTAINER_UNSPECIFIED EmptyContainer = 0 EmptyContainer_EMPTY_CONTAINER_FIELDS EmptyContainer = 1 EmptyContainer_EMPTY_CONTAINER_ITEMS EmptyContainer = 2 )
func (EmptyContainer) Descriptor ¶ added in v0.53.0
func (EmptyContainer) Descriptor() protoreflect.EnumDescriptor
func (EmptyContainer) Enum ¶ added in v0.53.0
func (x EmptyContainer) Enum() *EmptyContainer
func (EmptyContainer) EnumDescriptor
deprecated
added in
v0.53.0
func (EmptyContainer) EnumDescriptor() ([]byte, []int)
Deprecated: Use EmptyContainer.Descriptor instead.
func (EmptyContainer) Number ¶ added in v0.53.0
func (x EmptyContainer) Number() protoreflect.EnumNumber
func (EmptyContainer) String ¶ added in v0.53.0
func (x EmptyContainer) String() string
func (EmptyContainer) Type ¶ added in v0.53.0
func (EmptyContainer) Type() protoreflect.EnumType
type Export ¶
type Export struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Field *ScalarValue `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"`
Description *StringOrSubstitutions `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*Export) Descriptor
deprecated
func (*Export) GetDescription ¶
func (x *Export) GetDescription() *StringOrSubstitutions
func (*Export) GetField ¶
func (x *Export) GetField() *ScalarValue
func (*Export) ProtoMessage ¶
func (*Export) ProtoMessage()
func (*Export) ProtoReflect ¶
func (x *Export) ProtoReflect() protoreflect.Message
type Include ¶
type Include struct {
Path *StringOrSubstitutions `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Variables *MappingNode `protobuf:"bytes,2,opt,name=variables,proto3" json:"variables,omitempty"`
Metadata *MappingNode `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
Description *StringOrSubstitutions `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*Include) Descriptor
deprecated
func (*Include) GetDescription ¶
func (x *Include) GetDescription() *StringOrSubstitutions
func (*Include) GetMetadata ¶
func (x *Include) GetMetadata() *MappingNode
func (*Include) GetPath ¶
func (x *Include) GetPath() *StringOrSubstitutions
func (*Include) GetVariables ¶
func (x *Include) GetVariables() *MappingNode
func (*Include) ProtoMessage ¶
func (*Include) ProtoMessage()
func (*Include) ProtoReflect ¶
func (x *Include) ProtoReflect() protoreflect.Message
type LinkSelector ¶
type LinkSelector struct {
ByLabel map[string]string `` /* 156-byte string literal not displayed */
Exclude []string `protobuf:"bytes,2,rep,name=exclude,proto3" json:"exclude,omitempty"`
// contains filtered or unexported fields
}
func (*LinkSelector) Descriptor
deprecated
func (*LinkSelector) Descriptor() ([]byte, []int)
Deprecated: Use LinkSelector.ProtoReflect.Descriptor instead.
func (*LinkSelector) GetByLabel ¶
func (x *LinkSelector) GetByLabel() map[string]string
func (*LinkSelector) GetExclude ¶ added in v0.40.0
func (x *LinkSelector) GetExclude() []string
func (*LinkSelector) ProtoMessage ¶
func (*LinkSelector) ProtoMessage()
func (*LinkSelector) ProtoReflect ¶
func (x *LinkSelector) ProtoReflect() protoreflect.Message
func (*LinkSelector) Reset ¶
func (x *LinkSelector) Reset()
func (*LinkSelector) String ¶
func (x *LinkSelector) String() string
type MappingNode ¶
type MappingNode struct {
// repeated fields and maps are not supported in oneof so it's better
// to have a separate field for each type of value
// and check at runtime during deserialisation.
Scalar *ScalarValue `protobuf:"bytes,1,opt,name=scalar,proto3" json:"scalar,omitempty"`
Fields map[string]*MappingNode `` /* 139-byte string literal not displayed */
Items []*MappingNode `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
StringWithSubstitutions *StringOrSubstitutions `` /* 132-byte string literal not displayed */
SourceMeta *SourceMeta `protobuf:"bytes,5,opt,name=source_meta,json=sourceMeta,proto3,oneof" json:"source_meta,omitempty"`
// Positions of this node's own field keys, keyed by field name. Mapping
// nodes are how resource specs are represented, so this is what lets a
// diagnostic point at a specific spec field.
FieldsSourceMeta map[string]*SourceMeta `` /* 185-byte string literal not displayed */
// Set only when the container this node holds is empty; see EmptyContainer.
EmptyContainer EmptyContainer `` /* 131-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*MappingNode) Descriptor
deprecated
func (*MappingNode) Descriptor() ([]byte, []int)
Deprecated: Use MappingNode.ProtoReflect.Descriptor instead.
func (*MappingNode) GetEmptyContainer ¶ added in v0.53.0
func (x *MappingNode) GetEmptyContainer() EmptyContainer
func (*MappingNode) GetFields ¶
func (x *MappingNode) GetFields() map[string]*MappingNode
func (*MappingNode) GetFieldsSourceMeta ¶ added in v0.52.0
func (x *MappingNode) GetFieldsSourceMeta() map[string]*SourceMeta
func (*MappingNode) GetItems ¶
func (x *MappingNode) GetItems() []*MappingNode
func (*MappingNode) GetScalar ¶
func (x *MappingNode) GetScalar() *ScalarValue
func (*MappingNode) GetSourceMeta ¶ added in v0.52.0
func (x *MappingNode) GetSourceMeta() *SourceMeta
func (*MappingNode) GetStringWithSubstitutions ¶
func (x *MappingNode) GetStringWithSubstitutions() *StringOrSubstitutions
func (*MappingNode) ProtoMessage ¶
func (*MappingNode) ProtoMessage()
func (*MappingNode) ProtoReflect ¶
func (x *MappingNode) ProtoReflect() protoreflect.Message
func (*MappingNode) Reset ¶
func (x *MappingNode) Reset()
func (*MappingNode) String ¶
func (x *MappingNode) String() string
type Position ¶ added in v0.52.0
type Position struct {
Line int64 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"`
Column int64 `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"`
// contains filtered or unexported fields
}
func (*Position) Descriptor
deprecated
added in
v0.52.0
func (*Position) ProtoMessage ¶ added in v0.52.0
func (*Position) ProtoMessage()
func (*Position) ProtoReflect ¶ added in v0.52.0
func (x *Position) ProtoReflect() protoreflect.Message
type Resource ¶
type Resource struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Description *StringOrSubstitutions `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
Metadata *ResourceMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
DependsOn []string `protobuf:"bytes,4,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"`
Condition *ResourceCondition `protobuf:"bytes,5,opt,name=condition,proto3,oneof" json:"condition,omitempty"`
Each *StringOrSubstitutions `protobuf:"bytes,6,opt,name=each,proto3,oneof" json:"each,omitempty"`
LinkSelector *LinkSelector `protobuf:"bytes,7,opt,name=link_selector,json=linkSelector,proto3,oneof" json:"link_selector,omitempty"`
Spec *MappingNode `protobuf:"bytes,8,opt,name=spec,proto3" json:"spec,omitempty"`
RemovalPolicy *string `protobuf:"bytes,9,opt,name=removal_policy,json=removalPolicy,proto3,oneof" json:"removal_policy,omitempty"`
SourceMeta *SourceMeta `protobuf:"bytes,10,opt,name=source_meta,json=sourceMeta,proto3,oneof" json:"source_meta,omitempty"`
FieldsSourceMeta map[string]*SourceMeta `` /* 186-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Resource) Descriptor
deprecated
func (*Resource) GetCondition ¶
func (x *Resource) GetCondition() *ResourceCondition
func (*Resource) GetDependsOn ¶
func (*Resource) GetDescription ¶
func (x *Resource) GetDescription() *StringOrSubstitutions
func (*Resource) GetEach ¶
func (x *Resource) GetEach() *StringOrSubstitutions
func (*Resource) GetFieldsSourceMeta ¶ added in v0.52.0
func (x *Resource) GetFieldsSourceMeta() map[string]*SourceMeta
func (*Resource) GetLinkSelector ¶
func (x *Resource) GetLinkSelector() *LinkSelector
func (*Resource) GetMetadata ¶
func (x *Resource) GetMetadata() *ResourceMetadata
func (*Resource) GetRemovalPolicy ¶ added in v0.43.0
func (*Resource) GetSourceMeta ¶ added in v0.52.0
func (x *Resource) GetSourceMeta() *SourceMeta
func (*Resource) GetSpec ¶
func (x *Resource) GetSpec() *MappingNode
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
type ResourceCondition ¶
type ResourceCondition struct {
StringValue *StringOrSubstitutions `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
And []*ResourceCondition `protobuf:"bytes,2,rep,name=and,proto3" json:"and,omitempty"`
Or []*ResourceCondition `protobuf:"bytes,3,rep,name=or,proto3" json:"or,omitempty"`
Not *ResourceCondition `protobuf:"bytes,4,opt,name=not,proto3" json:"not,omitempty"`
// contains filtered or unexported fields
}
func (*ResourceCondition) Descriptor
deprecated
func (*ResourceCondition) Descriptor() ([]byte, []int)
Deprecated: Use ResourceCondition.ProtoReflect.Descriptor instead.
func (*ResourceCondition) GetAnd ¶
func (x *ResourceCondition) GetAnd() []*ResourceCondition
func (*ResourceCondition) GetNot ¶
func (x *ResourceCondition) GetNot() *ResourceCondition
func (*ResourceCondition) GetOr ¶
func (x *ResourceCondition) GetOr() []*ResourceCondition
func (*ResourceCondition) GetStringValue ¶
func (x *ResourceCondition) GetStringValue() *StringOrSubstitutions
func (*ResourceCondition) ProtoMessage ¶
func (*ResourceCondition) ProtoMessage()
func (*ResourceCondition) ProtoReflect ¶
func (x *ResourceCondition) ProtoReflect() protoreflect.Message
func (*ResourceCondition) Reset ¶
func (x *ResourceCondition) Reset()
func (*ResourceCondition) String ¶
func (x *ResourceCondition) String() string
type ResourceMetadata ¶
type ResourceMetadata struct {
DisplayName *StringOrSubstitutions `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
Annotations map[string]*StringOrSubstitutions `` /* 149-byte string literal not displayed */
Labels map[string]string `` /* 139-byte string literal not displayed */
Custom *MappingNode `protobuf:"bytes,4,opt,name=custom,proto3,oneof" json:"custom,omitempty"`
// contains filtered or unexported fields
}
func (*ResourceMetadata) Descriptor
deprecated
func (*ResourceMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ResourceMetadata.ProtoReflect.Descriptor instead.
func (*ResourceMetadata) GetAnnotations ¶
func (x *ResourceMetadata) GetAnnotations() map[string]*StringOrSubstitutions
func (*ResourceMetadata) GetCustom ¶
func (x *ResourceMetadata) GetCustom() *MappingNode
func (*ResourceMetadata) GetDisplayName ¶
func (x *ResourceMetadata) GetDisplayName() *StringOrSubstitutions
func (*ResourceMetadata) GetLabels ¶
func (x *ResourceMetadata) GetLabels() map[string]string
func (*ResourceMetadata) ProtoMessage ¶
func (*ResourceMetadata) ProtoMessage()
func (*ResourceMetadata) ProtoReflect ¶
func (x *ResourceMetadata) ProtoReflect() protoreflect.Message
func (*ResourceMetadata) Reset ¶
func (x *ResourceMetadata) Reset()
func (*ResourceMetadata) String ¶
func (x *ResourceMetadata) String() string
type ScalarValue ¶
type ScalarValue struct {
// Types that are valid to be assigned to Value:
//
// *ScalarValue_IntValue
// *ScalarValue_BoolValue
// *ScalarValue_FloatValue
// *ScalarValue_StringValue
// *ScalarValue_BytesValue
// *ScalarValue_NoneValue
Value isScalarValue_Value `protobuf_oneof:"value"`
SourceMeta *SourceMeta `protobuf:"bytes,7,opt,name=source_meta,json=sourceMeta,proto3,oneof" json:"source_meta,omitempty"`
// contains filtered or unexported fields
}
func (*ScalarValue) Descriptor
deprecated
func (*ScalarValue) Descriptor() ([]byte, []int)
Deprecated: Use ScalarValue.ProtoReflect.Descriptor instead.
func (*ScalarValue) GetBoolValue ¶
func (x *ScalarValue) GetBoolValue() bool
func (*ScalarValue) GetBytesValue ¶ added in v0.35.0
func (x *ScalarValue) GetBytesValue() []byte
func (*ScalarValue) GetFloatValue ¶
func (x *ScalarValue) GetFloatValue() float64
func (*ScalarValue) GetIntValue ¶
func (x *ScalarValue) GetIntValue() int64
func (*ScalarValue) GetNoneValue ¶ added in v0.36.0
func (x *ScalarValue) GetNoneValue() bool
func (*ScalarValue) GetSourceMeta ¶ added in v0.52.0
func (x *ScalarValue) GetSourceMeta() *SourceMeta
func (*ScalarValue) GetStringValue ¶
func (x *ScalarValue) GetStringValue() string
func (*ScalarValue) GetValue ¶
func (x *ScalarValue) GetValue() isScalarValue_Value
func (*ScalarValue) ProtoMessage ¶
func (*ScalarValue) ProtoMessage()
func (*ScalarValue) ProtoReflect ¶
func (x *ScalarValue) ProtoReflect() protoreflect.Message
func (*ScalarValue) Reset ¶
func (x *ScalarValue) Reset()
func (*ScalarValue) String ¶
func (x *ScalarValue) String() string
type ScalarValue_BoolValue ¶
type ScalarValue_BoolValue struct {
BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type ScalarValue_BytesValue ¶ added in v0.35.0
type ScalarValue_BytesValue struct {
BytesValue []byte `protobuf:"bytes,5,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}
type ScalarValue_FloatValue ¶
type ScalarValue_FloatValue struct {
FloatValue float64 `protobuf:"fixed64,3,opt,name=float_value,json=floatValue,proto3,oneof"`
}
type ScalarValue_IntValue ¶
type ScalarValue_IntValue struct {
IntValue int64 `protobuf:"varint,1,opt,name=int_value,json=intValue,proto3,oneof"`
}
type ScalarValue_NoneValue ¶ added in v0.36.0
type ScalarValue_NoneValue struct {
NoneValue bool `protobuf:"varint,6,opt,name=none_value,json=noneValue,proto3,oneof"`
}
type ScalarValue_StringValue ¶
type ScalarValue_StringValue struct {
StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type SourceMeta ¶ added in v0.52.0
type SourceMeta struct {
Position *Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
EndPosition *Position `protobuf:"bytes,2,opt,name=end_position,json=endPosition,proto3,oneof" json:"end_position,omitempty"`
ColumnAccuracy *ColumnAccuracy `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SourceMeta) Descriptor
deprecated
added in
v0.52.0
func (*SourceMeta) Descriptor() ([]byte, []int)
Deprecated: Use SourceMeta.ProtoReflect.Descriptor instead.
func (*SourceMeta) GetColumnAccuracy ¶ added in v0.52.0
func (x *SourceMeta) GetColumnAccuracy() ColumnAccuracy
func (*SourceMeta) GetEndPosition ¶ added in v0.52.0
func (x *SourceMeta) GetEndPosition() *Position
func (*SourceMeta) GetPosition ¶ added in v0.52.0
func (x *SourceMeta) GetPosition() *Position
func (*SourceMeta) ProtoMessage ¶ added in v0.52.0
func (*SourceMeta) ProtoMessage()
func (*SourceMeta) ProtoReflect ¶ added in v0.52.0
func (x *SourceMeta) ProtoReflect() protoreflect.Message
func (*SourceMeta) Reset ¶ added in v0.52.0
func (x *SourceMeta) Reset()
func (*SourceMeta) String ¶ added in v0.52.0
func (x *SourceMeta) String() string
type StringOrSubstitution ¶
type StringOrSubstitution struct {
// Types that are valid to be assigned to Value:
//
// *StringOrSubstitution_StringValue
// *StringOrSubstitution_SubstitutionValue
Value isStringOrSubstitution_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
func (*StringOrSubstitution) Descriptor
deprecated
func (*StringOrSubstitution) Descriptor() ([]byte, []int)
Deprecated: Use StringOrSubstitution.ProtoReflect.Descriptor instead.
func (*StringOrSubstitution) GetStringValue ¶
func (x *StringOrSubstitution) GetStringValue() string
func (*StringOrSubstitution) GetSubstitutionValue ¶
func (x *StringOrSubstitution) GetSubstitutionValue() *Substitution
func (*StringOrSubstitution) GetValue ¶
func (x *StringOrSubstitution) GetValue() isStringOrSubstitution_Value
func (*StringOrSubstitution) ProtoMessage ¶
func (*StringOrSubstitution) ProtoMessage()
func (*StringOrSubstitution) ProtoReflect ¶
func (x *StringOrSubstitution) ProtoReflect() protoreflect.Message
func (*StringOrSubstitution) Reset ¶
func (x *StringOrSubstitution) Reset()
func (*StringOrSubstitution) String ¶
func (x *StringOrSubstitution) String() string
type StringOrSubstitution_StringValue ¶
type StringOrSubstitution_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type StringOrSubstitution_SubstitutionValue ¶
type StringOrSubstitution_SubstitutionValue struct {
SubstitutionValue *Substitution `protobuf:"bytes,2,opt,name=substitution_value,json=substitutionValue,proto3,oneof"`
}
type StringOrSubstitutions ¶
type StringOrSubstitutions struct {
Values []*StringOrSubstitution `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*StringOrSubstitutions) Descriptor
deprecated
func (*StringOrSubstitutions) Descriptor() ([]byte, []int)
Deprecated: Use StringOrSubstitutions.ProtoReflect.Descriptor instead.
func (*StringOrSubstitutions) GetValues ¶
func (x *StringOrSubstitutions) GetValues() []*StringOrSubstitution
func (*StringOrSubstitutions) ProtoMessage ¶
func (*StringOrSubstitutions) ProtoMessage()
func (*StringOrSubstitutions) ProtoReflect ¶
func (x *StringOrSubstitutions) ProtoReflect() protoreflect.Message
func (*StringOrSubstitutions) Reset ¶
func (x *StringOrSubstitutions) Reset()
func (*StringOrSubstitutions) String ¶
func (x *StringOrSubstitutions) String() string
type Substitution ¶
type Substitution struct {
// Types that are valid to be assigned to Sub:
//
// *Substitution_FunctionExpr
// *Substitution_Variable
// *Substitution_Value
// *Substitution_Elem
// *Substitution_ElemIndex
// *Substitution_DataSourceProperty
// *Substitution_ResourceProperty
// *Substitution_Child
// *Substitution_StringValue
// *Substitution_IntValue
// *Substitution_FloatValue
// *Substitution_BoolValue
// *Substitution_NoneValue
Sub isSubstitution_Sub `protobuf_oneof:"sub"`
// contains filtered or unexported fields
}
func (*Substitution) Descriptor
deprecated
func (*Substitution) Descriptor() ([]byte, []int)
Deprecated: Use Substitution.ProtoReflect.Descriptor instead.
func (*Substitution) GetBoolValue ¶
func (x *Substitution) GetBoolValue() bool
func (*Substitution) GetChild ¶
func (x *Substitution) GetChild() *SubstitutionChild
func (*Substitution) GetDataSourceProperty ¶
func (x *Substitution) GetDataSourceProperty() *SubstitutionDataSourceProperty
func (*Substitution) GetElem ¶
func (x *Substitution) GetElem() *SubstitutionElem
func (*Substitution) GetElemIndex ¶
func (x *Substitution) GetElemIndex() *SubstitutionElemIndex
func (*Substitution) GetFloatValue ¶
func (x *Substitution) GetFloatValue() float64
func (*Substitution) GetFunctionExpr ¶
func (x *Substitution) GetFunctionExpr() *SubstitutionFunctionExpr
func (*Substitution) GetIntValue ¶
func (x *Substitution) GetIntValue() int64
func (*Substitution) GetNoneValue ¶ added in v0.36.0
func (x *Substitution) GetNoneValue() bool
func (*Substitution) GetResourceProperty ¶
func (x *Substitution) GetResourceProperty() *SubstitutionResourceProperty
func (*Substitution) GetStringValue ¶
func (x *Substitution) GetStringValue() string
func (*Substitution) GetSub ¶
func (x *Substitution) GetSub() isSubstitution_Sub
func (*Substitution) GetValue ¶
func (x *Substitution) GetValue() *SubstitutionValue
func (*Substitution) GetVariable ¶
func (x *Substitution) GetVariable() *SubstitutionVariable
func (*Substitution) ProtoMessage ¶
func (*Substitution) ProtoMessage()
func (*Substitution) ProtoReflect ¶
func (x *Substitution) ProtoReflect() protoreflect.Message
func (*Substitution) Reset ¶
func (x *Substitution) Reset()
func (*Substitution) String ¶
func (x *Substitution) String() string
type SubstitutionChild ¶
type SubstitutionChild struct {
ChildName string `protobuf:"bytes,1,opt,name=child_name,json=childName,proto3" json:"child_name,omitempty"`
Path []*SubstitutionPathItem `protobuf:"bytes,3,rep,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*SubstitutionChild) Descriptor
deprecated
func (*SubstitutionChild) Descriptor() ([]byte, []int)
Deprecated: Use SubstitutionChild.ProtoReflect.Descriptor instead.
func (*SubstitutionChild) GetChildName ¶
func (x *SubstitutionChild) GetChildName() string
func (*SubstitutionChild) GetPath ¶
func (x *SubstitutionChild) GetPath() []*SubstitutionPathItem
func (*SubstitutionChild) ProtoMessage ¶
func (*SubstitutionChild) ProtoMessage()
func (*SubstitutionChild) ProtoReflect ¶
func (x *SubstitutionChild) ProtoReflect() protoreflect.Message
func (*SubstitutionChild) Reset ¶
func (x *SubstitutionChild) Reset()
func (*SubstitutionChild) String ¶
func (x *SubstitutionChild) String() string
type SubstitutionDataSourceProperty ¶
type SubstitutionDataSourceProperty struct {
DataSourceName string `protobuf:"bytes,1,opt,name=data_source_name,json=dataSourceName,proto3" json:"data_source_name,omitempty"`
FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
PrimitiveArrIndex *int64 `protobuf:"varint,3,opt,name=primitive_arr_index,json=primitiveArrIndex,proto3,oneof" json:"primitive_arr_index,omitempty"`
// contains filtered or unexported fields
}
func (*SubstitutionDataSourceProperty) Descriptor
deprecated
func (*SubstitutionDataSourceProperty) Descriptor() ([]byte, []int)
Deprecated: Use SubstitutionDataSourceProperty.ProtoReflect.Descriptor instead.
func (*SubstitutionDataSourceProperty) GetDataSourceName ¶
func (x *SubstitutionDataSourceProperty) GetDataSourceName() string
func (*SubstitutionDataSourceProperty) GetFieldName ¶
func (x *SubstitutionDataSourceProperty) GetFieldName() string
func (*SubstitutionDataSourceProperty) GetPrimitiveArrIndex ¶
func (x *SubstitutionDataSourceProperty) GetPrimitiveArrIndex() int64
func (*SubstitutionDataSourceProperty) ProtoMessage ¶
func (*SubstitutionDataSourceProperty) ProtoMessage()
func (*SubstitutionDataSourceProperty) ProtoReflect ¶
func (x *SubstitutionDataSourceProperty) ProtoReflect() protoreflect.Message
func (*SubstitutionDataSourceProperty) Reset ¶
func (x *SubstitutionDataSourceProperty) Reset()
func (*SubstitutionDataSourceProperty) String ¶
func (x *SubstitutionDataSourceProperty) String() string
type SubstitutionElem ¶
type SubstitutionElem struct {
Path []*SubstitutionPathItem `protobuf:"bytes,1,rep,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*SubstitutionElem) Descriptor
deprecated
func (*SubstitutionElem) Descriptor() ([]byte, []int)
Deprecated: Use SubstitutionElem.ProtoReflect.Descriptor instead.
func (*SubstitutionElem) GetPath ¶
func (x *SubstitutionElem) GetPath() []*SubstitutionPathItem
func (*SubstitutionElem) ProtoMessage ¶
func (*SubstitutionElem) ProtoMessage()
func (*SubstitutionElem) ProtoReflect ¶
func (x *SubstitutionElem) ProtoReflect() protoreflect.Message
func (*SubstitutionElem) Reset ¶
func (x *SubstitutionElem) Reset()
func (*SubstitutionElem) String ¶
func (x *SubstitutionElem) String() string
type SubstitutionElemIndex ¶
type SubstitutionElemIndex struct {
IsIndex bool `protobuf:"varint,1,opt,name=is_index,json=isIndex,proto3" json:"is_index,omitempty"`
// contains filtered or unexported fields
}
func (*SubstitutionElemIndex) Descriptor
deprecated
func (*SubstitutionElemIndex) Descriptor() ([]byte, []int)
Deprecated: Use SubstitutionElemIndex.ProtoReflect.Descriptor instead.
func (*SubstitutionElemIndex) GetIsIndex ¶
func (x *SubstitutionElemIndex) GetIsIndex() bool
func (*SubstitutionElemIndex) ProtoMessage ¶
func (*SubstitutionElemIndex) ProtoMessage()
func (*SubstitutionElemIndex) ProtoReflect ¶
func (x *SubstitutionElemIndex) ProtoReflect() protoreflect.Message
func (*SubstitutionElemIndex) Reset ¶
func (x *SubstitutionElemIndex) Reset()
func (*SubstitutionElemIndex) String ¶
func (x *SubstitutionElemIndex) String() string
type SubstitutionFunctionArg ¶
type SubstitutionFunctionArg struct {
Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
Value *Substitution `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*SubstitutionFunctionArg) Descriptor
deprecated
func (*SubstitutionFunctionArg) Descriptor() ([]byte, []int)
Deprecated: Use SubstitutionFunctionArg.ProtoReflect.Descriptor instead.
func (*SubstitutionFunctionArg) GetName ¶
func (x *SubstitutionFunctionArg) GetName() string
func (*SubstitutionFunctionArg) GetValue ¶
func (x *SubstitutionFunctionArg) GetValue() *Substitution
func (*SubstitutionFunctionArg) ProtoMessage ¶
func (*SubstitutionFunctionArg) ProtoMessage()
func (*SubstitutionFunctionArg) ProtoReflect ¶
func (x *SubstitutionFunctionArg) ProtoReflect() protoreflect.Message
func (*SubstitutionFunctionArg) Reset ¶
func (x *SubstitutionFunctionArg) Reset()
func (*SubstitutionFunctionArg) String ¶
func (x *SubstitutionFunctionArg) String() string
type SubstitutionFunctionExpr ¶
type SubstitutionFunctionExpr struct {
FunctionName string `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
Arguments []*SubstitutionFunctionArg `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"`
// contains filtered or unexported fields
}
func (*SubstitutionFunctionExpr) Descriptor
deprecated
func (*SubstitutionFunctionExpr) Descriptor() ([]byte, []int)
Deprecated: Use SubstitutionFunctionExpr.ProtoReflect.Descriptor instead.
func (*SubstitutionFunctionExpr) GetArguments ¶
func (x *SubstitutionFunctionExpr) GetArguments() []*SubstitutionFunctionArg
func (*SubstitutionFunctionExpr) GetFunctionName ¶
func (x *SubstitutionFunctionExpr) GetFunctionName() string
func (*SubstitutionFunctionExpr) ProtoMessage ¶
func (*SubstitutionFunctionExpr) ProtoMessage()
func (*SubstitutionFunctionExpr) ProtoReflect ¶
func (x *SubstitutionFunctionExpr) ProtoReflect() protoreflect.Message
func (*SubstitutionFunctionExpr) Reset ¶
func (x *SubstitutionFunctionExpr) Reset()
func (*SubstitutionFunctionExpr) String ¶
func (x *SubstitutionFunctionExpr) String() string
type SubstitutionPathItem ¶
type SubstitutionPathItem struct {
// Types that are valid to be assigned to Item:
//
// *SubstitutionPathItem_FieldName
// *SubstitutionPathItem_ArrayIndex
Item isSubstitutionPathItem_Item `protobuf_oneof:"item"`
// contains filtered or unexported fields
}
func (*SubstitutionPathItem) Descriptor
deprecated
func (*SubstitutionPathItem) Descriptor() ([]byte, []int)
Deprecated: Use SubstitutionPathItem.ProtoReflect.Descriptor instead.
func (*SubstitutionPathItem) GetArrayIndex ¶
func (x *SubstitutionPathItem) GetArrayIndex() int64
func (*SubstitutionPathItem) GetFieldName ¶
func (x *SubstitutionPathItem) GetFieldName() string
func (*SubstitutionPathItem) GetItem ¶
func (x *SubstitutionPathItem) GetItem() isSubstitutionPathItem_Item
func (*SubstitutionPathItem) ProtoMessage ¶
func (*SubstitutionPathItem) ProtoMessage()
func (*SubstitutionPathItem) ProtoReflect ¶
func (x *SubstitutionPathItem) ProtoReflect() protoreflect.Message
func (*SubstitutionPathItem) Reset ¶
func (x *SubstitutionPathItem) Reset()
func (*SubstitutionPathItem) String ¶
func (x *SubstitutionPathItem) String() string
type SubstitutionPathItem_ArrayIndex ¶
type SubstitutionPathItem_ArrayIndex struct {
ArrayIndex int64 `protobuf:"varint,2,opt,name=array_index,json=arrayIndex,proto3,oneof"`
}
type SubstitutionPathItem_FieldName ¶
type SubstitutionPathItem_FieldName struct {
FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3,oneof"`
}
type SubstitutionResourceProperty ¶
type SubstitutionResourceProperty struct {
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
EachTemplateIndex *int64 `protobuf:"varint,2,opt,name=each_template_index,json=eachTemplateIndex,proto3,oneof" json:"each_template_index,omitempty"`
Path []*SubstitutionPathItem `protobuf:"bytes,3,rep,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*SubstitutionResourceProperty) Descriptor
deprecated
func (*SubstitutionResourceProperty) Descriptor() ([]byte, []int)
Deprecated: Use SubstitutionResourceProperty.ProtoReflect.Descriptor instead.
func (*SubstitutionResourceProperty) GetEachTemplateIndex ¶
func (x *SubstitutionResourceProperty) GetEachTemplateIndex() int64
func (*SubstitutionResourceProperty) GetPath ¶
func (x *SubstitutionResourceProperty) GetPath() []*SubstitutionPathItem
func (*SubstitutionResourceProperty) GetResourceName ¶
func (x *SubstitutionResourceProperty) GetResourceName() string
func (*SubstitutionResourceProperty) ProtoMessage ¶
func (*SubstitutionResourceProperty) ProtoMessage()
func (*SubstitutionResourceProperty) ProtoReflect ¶
func (x *SubstitutionResourceProperty) ProtoReflect() protoreflect.Message
func (*SubstitutionResourceProperty) Reset ¶
func (x *SubstitutionResourceProperty) Reset()
func (*SubstitutionResourceProperty) String ¶
func (x *SubstitutionResourceProperty) String() string
type SubstitutionValue ¶
type SubstitutionValue struct {
ValueName string `protobuf:"bytes,1,opt,name=value_name,json=valueName,proto3" json:"value_name,omitempty"`
Path []*SubstitutionPathItem `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*SubstitutionValue) Descriptor
deprecated
func (*SubstitutionValue) Descriptor() ([]byte, []int)
Deprecated: Use SubstitutionValue.ProtoReflect.Descriptor instead.
func (*SubstitutionValue) GetPath ¶
func (x *SubstitutionValue) GetPath() []*SubstitutionPathItem
func (*SubstitutionValue) GetValueName ¶
func (x *SubstitutionValue) GetValueName() string
func (*SubstitutionValue) ProtoMessage ¶
func (*SubstitutionValue) ProtoMessage()
func (*SubstitutionValue) ProtoReflect ¶
func (x *SubstitutionValue) ProtoReflect() protoreflect.Message
func (*SubstitutionValue) Reset ¶
func (x *SubstitutionValue) Reset()
func (*SubstitutionValue) String ¶
func (x *SubstitutionValue) String() string
type SubstitutionVariable ¶
type SubstitutionVariable struct {
VariableName string `protobuf:"bytes,1,opt,name=variable_name,json=variableName,proto3" json:"variable_name,omitempty"`
// contains filtered or unexported fields
}
func (*SubstitutionVariable) Descriptor
deprecated
func (*SubstitutionVariable) Descriptor() ([]byte, []int)
Deprecated: Use SubstitutionVariable.ProtoReflect.Descriptor instead.
func (*SubstitutionVariable) GetVariableName ¶
func (x *SubstitutionVariable) GetVariableName() string
func (*SubstitutionVariable) ProtoMessage ¶
func (*SubstitutionVariable) ProtoMessage()
func (*SubstitutionVariable) ProtoReflect ¶
func (x *SubstitutionVariable) ProtoReflect() protoreflect.Message
func (*SubstitutionVariable) Reset ¶
func (x *SubstitutionVariable) Reset()
func (*SubstitutionVariable) String ¶
func (x *SubstitutionVariable) String() string
type Substitution_BoolValue ¶
type Substitution_BoolValue struct {
BoolValue bool `protobuf:"varint,12,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type Substitution_Child ¶
type Substitution_Child struct {
Child *SubstitutionChild `protobuf:"bytes,8,opt,name=child,proto3,oneof"`
}
type Substitution_DataSourceProperty ¶
type Substitution_DataSourceProperty struct {
DataSourceProperty *SubstitutionDataSourceProperty `protobuf:"bytes,6,opt,name=data_source_property,json=dataSourceProperty,proto3,oneof"`
}
type Substitution_Elem ¶
type Substitution_Elem struct {
Elem *SubstitutionElem `protobuf:"bytes,4,opt,name=elem,proto3,oneof"`
}
type Substitution_ElemIndex ¶
type Substitution_ElemIndex struct {
ElemIndex *SubstitutionElemIndex `protobuf:"bytes,5,opt,name=elem_index,json=elemIndex,proto3,oneof"`
}
type Substitution_FloatValue ¶
type Substitution_FloatValue struct {
FloatValue float64 `protobuf:"fixed64,11,opt,name=float_value,json=floatValue,proto3,oneof"`
}
type Substitution_FunctionExpr ¶
type Substitution_FunctionExpr struct {
FunctionExpr *SubstitutionFunctionExpr `protobuf:"bytes,1,opt,name=function_expr,json=functionExpr,proto3,oneof"`
}
type Substitution_IntValue ¶
type Substitution_IntValue struct {
IntValue int64 `protobuf:"varint,10,opt,name=int_value,json=intValue,proto3,oneof"`
}
type Substitution_NoneValue ¶ added in v0.36.0
type Substitution_NoneValue struct {
NoneValue bool `protobuf:"varint,13,opt,name=none_value,json=noneValue,proto3,oneof"`
}
type Substitution_ResourceProperty ¶
type Substitution_ResourceProperty struct {
ResourceProperty *SubstitutionResourceProperty `protobuf:"bytes,7,opt,name=resource_property,json=resourceProperty,proto3,oneof"`
}
type Substitution_StringValue ¶
type Substitution_StringValue struct {
StringValue string `protobuf:"bytes,9,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type Substitution_Value ¶
type Substitution_Value struct {
Value *SubstitutionValue `protobuf:"bytes,3,opt,name=value,proto3,oneof"`
}
type Substitution_Variable ¶
type Substitution_Variable struct {
Variable *SubstitutionVariable `protobuf:"bytes,2,opt,name=variable,proto3,oneof"`
}
type Value ¶
type Value struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Value *MappingNode `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
Description *StringOrSubstitutions `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
Secret *ScalarValue `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
// contains filtered or unexported fields
}
func (*Value) Descriptor
deprecated
func (*Value) GetDescription ¶
func (x *Value) GetDescription() *StringOrSubstitutions
func (*Value) GetSecret ¶
func (x *Value) GetSecret() *ScalarValue
func (*Value) GetValue ¶
func (x *Value) GetValue() *MappingNode
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type Variable ¶
type Variable struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Description *ScalarValue `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
Secret *ScalarValue `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
Default *ScalarValue `protobuf:"bytes,4,opt,name=default,proto3" json:"default,omitempty"`
AllowedValues []*ScalarValue `protobuf:"bytes,5,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
// contains filtered or unexported fields
}
func (*Variable) Descriptor
deprecated
func (*Variable) GetAllowedValues ¶
func (x *Variable) GetAllowedValues() []*ScalarValue
func (*Variable) GetDefault ¶
func (x *Variable) GetDefault() *ScalarValue
func (*Variable) GetDescription ¶
func (x *Variable) GetDescription() *ScalarValue
func (*Variable) GetSecret ¶
func (x *Variable) GetSecret() *ScalarValue
func (*Variable) ProtoMessage ¶
func (*Variable) ProtoMessage()
func (*Variable) ProtoReflect ¶
func (x *Variable) ProtoReflect() protoreflect.Message