pluginapiv1

package
v0.4.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PluginService_GetSchema_FullMethodName      = "/pluginapi.v1.PluginService/GetSchema"
	PluginService_RetrieveData_FullMethodName   = "/pluginapi.v1.PluginService/RetrieveData"
	PluginService_ProvideContent_FullMethodName = "/pluginapi.v1.PluginService/ProvideContent"
)

Variables

View Source
var (
	LocationEffect_name = map[int32]string{
		0: "LOCATION_EFFECT_UNSPECIFIED",
		1: "LOCATION_EFFECT_BEFORE",
		2: "LOCATION_EFFECT_AFTER",
	}
	LocationEffect_value = map[string]int32{
		"LOCATION_EFFECT_UNSPECIFIED": 0,
		"LOCATION_EFFECT_BEFORE":      1,
		"LOCATION_EFFECT_AFTER":       2,
	}
)

Enum value maps for LocationEffect.

View Source
var (
	CtyPrimitiveKind_name = map[int32]string{
		0: "CTY_PRIMITIVE_KIND_UNSPECIFIED",
		1: "CTY_PRIMITIVE_KIND_STRING",
		2: "CTY_PRIMITIVE_KIND_NUMBER",
		3: "CTY_PRIMITIVE_KIND_BOOL",
	}
	CtyPrimitiveKind_value = map[string]int32{
		"CTY_PRIMITIVE_KIND_UNSPECIFIED": 0,
		"CTY_PRIMITIVE_KIND_STRING":      1,
		"CTY_PRIMITIVE_KIND_NUMBER":      2,
		"CTY_PRIMITIVE_KIND_BOOL":        3,
	}
)

Enum value maps for CtyPrimitiveKind.

View Source
var (
	DiagnosticSeverity_name = map[int32]string{
		0: "DIAGNOSTIC_SEVERITY_UNSPECIFIED",
		1: "DIAGNOSTIC_SEVERITY_ERROR",
		2: "DIAGNOSTIC_SEVERITY_WARNING",
	}
	DiagnosticSeverity_value = map[string]int32{
		"DIAGNOSTIC_SEVERITY_UNSPECIFIED": 0,
		"DIAGNOSTIC_SEVERITY_ERROR":       1,
		"DIAGNOSTIC_SEVERITY_WARNING":     2,
	}
)

Enum value maps for DiagnosticSeverity.

View Source
var (
	InvocationOrder_name = map[int32]string{
		0: "INVOCATION_ORDER_UNSPECIFIED",
		2: "INVOCATION_ORDER_BEGIN",
		3: "INVOCATION_ORDER_END",
	}
	InvocationOrder_value = map[string]int32{
		"INVOCATION_ORDER_UNSPECIFIED": 0,
		"INVOCATION_ORDER_BEGIN":       2,
		"INVOCATION_ORDER_END":         3,
	}
)

Enum value maps for InvocationOrder.

View Source
var File_pluginapi_v1_content_proto protoreflect.FileDescriptor
View Source
var File_pluginapi_v1_cty_proto protoreflect.FileDescriptor
View Source
var File_pluginapi_v1_data_proto protoreflect.FileDescriptor
View Source
var File_pluginapi_v1_diagnostics_proto protoreflect.FileDescriptor
View Source
var File_pluginapi_v1_hclspec_proto protoreflect.FileDescriptor
View Source
var File_pluginapi_v1_plugin_proto protoreflect.FileDescriptor
View Source
var File_pluginapi_v1_schema_proto protoreflect.FileDescriptor
View Source
var PluginService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pluginapi.v1.PluginService",
	HandlerType: (*PluginServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSchema",
			Handler:    _PluginService_GetSchema_Handler,
		},
		{
			MethodName: "RetrieveData",
			Handler:    _PluginService_RetrieveData_Handler,
		},
		{
			MethodName: "ProvideContent",
			Handler:    _PluginService_ProvideContent_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pluginapi/v1/plugin.proto",
}

PluginService_ServiceDesc is the grpc.ServiceDesc for PluginService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func NewClient

func NewClient(name, binaryPath string, logger *slog.Logger) (p *plugin.Schema, closefn func() error, err error)

func RegisterPluginServiceServer

func RegisterPluginServiceServer(s grpc.ServiceRegistrar, srv PluginServiceServer)

func Serve

func Serve(schema *plugin.Schema)

Types

type BoolData

type BoolData struct {
	Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*BoolData) Descriptor deprecated

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

Deprecated: Use BoolData.ProtoReflect.Descriptor instead.

func (*BoolData) GetValue

func (x *BoolData) GetValue() bool

func (*BoolData) ProtoMessage

func (*BoolData) ProtoMessage()

func (*BoolData) ProtoReflect

func (x *BoolData) ProtoReflect() protoreflect.Message

func (*BoolData) Reset

func (x *BoolData) Reset()

func (*BoolData) String

func (x *BoolData) String() string

type Content

type Content struct {

	// Types that are assignable to Value:
	//
	//	*Content_Element
	//	*Content_Section
	//	*Content_Empty
	Value isContent_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Content) Descriptor deprecated

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

Deprecated: Use Content.ProtoReflect.Descriptor instead.

func (*Content) GetElement added in v0.4.1

func (x *Content) GetElement() *ContentElement

func (*Content) GetEmpty added in v0.4.1

func (x *Content) GetEmpty() *ContentEmpty

func (*Content) GetSection added in v0.4.1

func (x *Content) GetSection() *ContentSection

func (*Content) GetValue added in v0.4.1

func (m *Content) GetValue() isContent_Value

func (*Content) ProtoMessage

func (*Content) ProtoMessage()

func (*Content) ProtoReflect

func (x *Content) ProtoReflect() protoreflect.Message

func (*Content) Reset

func (x *Content) Reset()

func (*Content) String

func (x *Content) String() string

type ContentElement added in v0.4.1

type ContentElement struct {
	Markdown string `protobuf:"bytes,1,opt,name=markdown,proto3" json:"markdown,omitempty"`
	// contains filtered or unexported fields
}

func (*ContentElement) Descriptor deprecated added in v0.4.1

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

Deprecated: Use ContentElement.ProtoReflect.Descriptor instead.

func (*ContentElement) GetMarkdown added in v0.4.1

func (x *ContentElement) GetMarkdown() string

func (*ContentElement) ProtoMessage added in v0.4.1

func (*ContentElement) ProtoMessage()

func (*ContentElement) ProtoReflect added in v0.4.1

func (x *ContentElement) ProtoReflect() protoreflect.Message

func (*ContentElement) Reset added in v0.4.1

func (x *ContentElement) Reset()

func (*ContentElement) String added in v0.4.1

func (x *ContentElement) String() string

type ContentEmpty added in v0.4.1

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

func (*ContentEmpty) Descriptor deprecated added in v0.4.1

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

Deprecated: Use ContentEmpty.ProtoReflect.Descriptor instead.

func (*ContentEmpty) ProtoMessage added in v0.4.1

func (*ContentEmpty) ProtoMessage()

func (*ContentEmpty) ProtoReflect added in v0.4.1

func (x *ContentEmpty) ProtoReflect() protoreflect.Message

func (*ContentEmpty) Reset added in v0.4.1

func (x *ContentEmpty) Reset()

func (*ContentEmpty) String added in v0.4.1

func (x *ContentEmpty) String() string

type ContentProviderSchema

type ContentProviderSchema struct {
	Args            *HclSpec        `protobuf:"bytes,1,opt,name=args,proto3" json:"args,omitempty"`
	Config          *HclSpec        `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	InvocationOrder InvocationOrder `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ContentProviderSchema) Descriptor deprecated

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

Deprecated: Use ContentProviderSchema.ProtoReflect.Descriptor instead.

func (*ContentProviderSchema) GetArgs

func (x *ContentProviderSchema) GetArgs() *HclSpec

func (*ContentProviderSchema) GetConfig

func (x *ContentProviderSchema) GetConfig() *HclSpec

func (*ContentProviderSchema) GetInvocationOrder added in v0.4.1

func (x *ContentProviderSchema) GetInvocationOrder() InvocationOrder

func (*ContentProviderSchema) ProtoMessage

func (*ContentProviderSchema) ProtoMessage()

func (*ContentProviderSchema) ProtoReflect

func (x *ContentProviderSchema) ProtoReflect() protoreflect.Message

func (*ContentProviderSchema) Reset

func (x *ContentProviderSchema) Reset()

func (*ContentProviderSchema) String

func (x *ContentProviderSchema) String() string

type ContentResult added in v0.4.1

type ContentResult struct {
	Content  *Content  `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Location *Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*ContentResult) Descriptor deprecated added in v0.4.1

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

Deprecated: Use ContentResult.ProtoReflect.Descriptor instead.

func (*ContentResult) GetContent added in v0.4.1

func (x *ContentResult) GetContent() *Content

func (*ContentResult) GetLocation added in v0.4.1

func (x *ContentResult) GetLocation() *Location

func (*ContentResult) ProtoMessage added in v0.4.1

func (*ContentResult) ProtoMessage()

func (*ContentResult) ProtoReflect added in v0.4.1

func (x *ContentResult) ProtoReflect() protoreflect.Message

func (*ContentResult) Reset added in v0.4.1

func (x *ContentResult) Reset()

func (*ContentResult) String added in v0.4.1

func (x *ContentResult) String() string

type ContentSection added in v0.4.1

type ContentSection struct {
	Children []*Content `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*ContentSection) Descriptor deprecated added in v0.4.1

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

Deprecated: Use ContentSection.ProtoReflect.Descriptor instead.

func (*ContentSection) GetChildren added in v0.4.1

func (x *ContentSection) GetChildren() []*Content

func (*ContentSection) ProtoMessage added in v0.4.1

func (*ContentSection) ProtoMessage()

func (*ContentSection) ProtoReflect added in v0.4.1

func (x *ContentSection) ProtoReflect() protoreflect.Message

func (*ContentSection) Reset added in v0.4.1

func (x *ContentSection) Reset()

func (*ContentSection) String added in v0.4.1

func (x *ContentSection) String() string

type Content_Element added in v0.4.1

type Content_Element struct {
	Element *ContentElement `protobuf:"bytes,1,opt,name=element,proto3,oneof"`
}

type Content_Empty added in v0.4.1

type Content_Empty struct {
	Empty *ContentEmpty `protobuf:"bytes,3,opt,name=empty,proto3,oneof"`
}

type Content_Section added in v0.4.1

type Content_Section struct {
	Section *ContentSection `protobuf:"bytes,2,opt,name=section,proto3,oneof"`
}

type CtyDynamicPseudoType

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

func (*CtyDynamicPseudoType) Descriptor deprecated

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

Deprecated: Use CtyDynamicPseudoType.ProtoReflect.Descriptor instead.

func (*CtyDynamicPseudoType) ProtoMessage

func (*CtyDynamicPseudoType) ProtoMessage()

func (*CtyDynamicPseudoType) ProtoReflect

func (x *CtyDynamicPseudoType) ProtoReflect() protoreflect.Message

func (*CtyDynamicPseudoType) Reset

func (x *CtyDynamicPseudoType) Reset()

func (*CtyDynamicPseudoType) String

func (x *CtyDynamicPseudoType) String() string

type CtyListType

type CtyListType struct {
	Element *CtyType `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"`
	// contains filtered or unexported fields
}

func (*CtyListType) Descriptor deprecated

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

Deprecated: Use CtyListType.ProtoReflect.Descriptor instead.

func (*CtyListType) GetElement

func (x *CtyListType) GetElement() *CtyType

func (*CtyListType) ProtoMessage

func (*CtyListType) ProtoMessage()

func (*CtyListType) ProtoReflect

func (x *CtyListType) ProtoReflect() protoreflect.Message

func (*CtyListType) Reset

func (x *CtyListType) Reset()

func (*CtyListType) String

func (x *CtyListType) String() string

type CtyListValue

type CtyListValue struct {
	Elements []*CtyValue `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`
	// contains filtered or unexported fields
}

func (*CtyListValue) Descriptor deprecated

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

Deprecated: Use CtyListValue.ProtoReflect.Descriptor instead.

func (*CtyListValue) GetElements

func (x *CtyListValue) GetElements() []*CtyValue

func (*CtyListValue) ProtoMessage

func (*CtyListValue) ProtoMessage()

func (*CtyListValue) ProtoReflect

func (x *CtyListValue) ProtoReflect() protoreflect.Message

func (*CtyListValue) Reset

func (x *CtyListValue) Reset()

func (*CtyListValue) String

func (x *CtyListValue) String() string

type CtyMapType

type CtyMapType struct {
	Element *CtyType `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"`
	// contains filtered or unexported fields
}

func (*CtyMapType) Descriptor deprecated

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

Deprecated: Use CtyMapType.ProtoReflect.Descriptor instead.

func (*CtyMapType) GetElement

func (x *CtyMapType) GetElement() *CtyType

func (*CtyMapType) ProtoMessage

func (*CtyMapType) ProtoMessage()

func (*CtyMapType) ProtoReflect

func (x *CtyMapType) ProtoReflect() protoreflect.Message

func (*CtyMapType) Reset

func (x *CtyMapType) Reset()

func (*CtyMapType) String

func (x *CtyMapType) String() string

type CtyMapValue

type CtyMapValue struct {
	Elements map[string]*CtyValue `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CtyMapValue) Descriptor deprecated

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

Deprecated: Use CtyMapValue.ProtoReflect.Descriptor instead.

func (*CtyMapValue) GetElements

func (x *CtyMapValue) GetElements() map[string]*CtyValue

func (*CtyMapValue) ProtoMessage

func (*CtyMapValue) ProtoMessage()

func (*CtyMapValue) ProtoReflect

func (x *CtyMapValue) ProtoReflect() protoreflect.Message

func (*CtyMapValue) Reset

func (x *CtyMapValue) Reset()

func (*CtyMapValue) String

func (x *CtyMapValue) String() string

type CtyObjectType

type CtyObjectType struct {
	Attrs map[string]*CtyType `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CtyObjectType) Descriptor deprecated

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

Deprecated: Use CtyObjectType.ProtoReflect.Descriptor instead.

func (*CtyObjectType) GetAttrs

func (x *CtyObjectType) GetAttrs() map[string]*CtyType

func (*CtyObjectType) ProtoMessage

func (*CtyObjectType) ProtoMessage()

func (*CtyObjectType) ProtoReflect

func (x *CtyObjectType) ProtoReflect() protoreflect.Message

func (*CtyObjectType) Reset

func (x *CtyObjectType) Reset()

func (*CtyObjectType) String

func (x *CtyObjectType) String() string

type CtyObjectValue

type CtyObjectValue struct {
	Attrs map[string]*CtyValue `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CtyObjectValue) Descriptor deprecated

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

Deprecated: Use CtyObjectValue.ProtoReflect.Descriptor instead.

func (*CtyObjectValue) GetAttrs

func (x *CtyObjectValue) GetAttrs() map[string]*CtyValue

func (*CtyObjectValue) ProtoMessage

func (*CtyObjectValue) ProtoMessage()

func (*CtyObjectValue) ProtoReflect

func (x *CtyObjectValue) ProtoReflect() protoreflect.Message

func (*CtyObjectValue) Reset

func (x *CtyObjectValue) Reset()

func (*CtyObjectValue) String

func (x *CtyObjectValue) String() string

type CtyPrimitiveKind

type CtyPrimitiveKind int32
const (
	CtyPrimitiveKind_CTY_PRIMITIVE_KIND_UNSPECIFIED CtyPrimitiveKind = 0
	CtyPrimitiveKind_CTY_PRIMITIVE_KIND_STRING      CtyPrimitiveKind = 1
	CtyPrimitiveKind_CTY_PRIMITIVE_KIND_NUMBER      CtyPrimitiveKind = 2
	CtyPrimitiveKind_CTY_PRIMITIVE_KIND_BOOL        CtyPrimitiveKind = 3
)

func (CtyPrimitiveKind) Descriptor

func (CtyPrimitiveKind) Enum

func (CtyPrimitiveKind) EnumDescriptor deprecated

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

Deprecated: Use CtyPrimitiveKind.Descriptor instead.

func (CtyPrimitiveKind) Number

func (CtyPrimitiveKind) String

func (x CtyPrimitiveKind) String() string

func (CtyPrimitiveKind) Type

type CtyPrimitiveType

type CtyPrimitiveType struct {
	Kind CtyPrimitiveKind `protobuf:"varint,1,opt,name=kind,proto3,enum=pluginapi.v1.CtyPrimitiveKind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*CtyPrimitiveType) Descriptor deprecated

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

Deprecated: Use CtyPrimitiveType.ProtoReflect.Descriptor instead.

func (*CtyPrimitiveType) GetKind

func (x *CtyPrimitiveType) GetKind() CtyPrimitiveKind

func (*CtyPrimitiveType) ProtoMessage

func (*CtyPrimitiveType) ProtoMessage()

func (*CtyPrimitiveType) ProtoReflect

func (x *CtyPrimitiveType) ProtoReflect() protoreflect.Message

func (*CtyPrimitiveType) Reset

func (x *CtyPrimitiveType) Reset()

func (*CtyPrimitiveType) String

func (x *CtyPrimitiveType) String() string

type CtyPrimitiveValue

type CtyPrimitiveValue struct {

	// Types that are assignable to Data:
	//
	//	*CtyPrimitiveValue_Str
	//	*CtyPrimitiveValue_Num
	//	*CtyPrimitiveValue_Bln
	Data isCtyPrimitiveValue_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*CtyPrimitiveValue) Descriptor deprecated

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

Deprecated: Use CtyPrimitiveValue.ProtoReflect.Descriptor instead.

func (*CtyPrimitiveValue) GetBln

func (x *CtyPrimitiveValue) GetBln() bool

func (*CtyPrimitiveValue) GetData

func (m *CtyPrimitiveValue) GetData() isCtyPrimitiveValue_Data

func (*CtyPrimitiveValue) GetNum

func (x *CtyPrimitiveValue) GetNum() float64

func (*CtyPrimitiveValue) GetStr

func (x *CtyPrimitiveValue) GetStr() string

func (*CtyPrimitiveValue) ProtoMessage

func (*CtyPrimitiveValue) ProtoMessage()

func (*CtyPrimitiveValue) ProtoReflect

func (x *CtyPrimitiveValue) ProtoReflect() protoreflect.Message

func (*CtyPrimitiveValue) Reset

func (x *CtyPrimitiveValue) Reset()

func (*CtyPrimitiveValue) String

func (x *CtyPrimitiveValue) String() string

type CtyPrimitiveValue_Bln

type CtyPrimitiveValue_Bln struct {
	Bln bool `protobuf:"varint,3,opt,name=bln,proto3,oneof"`
}

type CtyPrimitiveValue_Num

type CtyPrimitiveValue_Num struct {
	Num float64 `protobuf:"fixed64,2,opt,name=num,proto3,oneof"`
}

type CtyPrimitiveValue_Str

type CtyPrimitiveValue_Str struct {
	Str string `protobuf:"bytes,1,opt,name=str,proto3,oneof"`
}

type CtySetType

type CtySetType struct {
	Element *CtyType `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"`
	// contains filtered or unexported fields
}

func (*CtySetType) Descriptor deprecated

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

Deprecated: Use CtySetType.ProtoReflect.Descriptor instead.

func (*CtySetType) GetElement

func (x *CtySetType) GetElement() *CtyType

func (*CtySetType) ProtoMessage

func (*CtySetType) ProtoMessage()

func (*CtySetType) ProtoReflect

func (x *CtySetType) ProtoReflect() protoreflect.Message

func (*CtySetType) Reset

func (x *CtySetType) Reset()

func (*CtySetType) String

func (x *CtySetType) String() string

type CtySetValue

type CtySetValue struct {
	Elements []*CtyValue `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`
	// contains filtered or unexported fields
}

func (*CtySetValue) Descriptor deprecated

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

Deprecated: Use CtySetValue.ProtoReflect.Descriptor instead.

func (*CtySetValue) GetElements

func (x *CtySetValue) GetElements() []*CtyValue

func (*CtySetValue) ProtoMessage

func (*CtySetValue) ProtoMessage()

func (*CtySetValue) ProtoReflect

func (x *CtySetValue) ProtoReflect() protoreflect.Message

func (*CtySetValue) Reset

func (x *CtySetValue) Reset()

func (*CtySetValue) String

func (x *CtySetValue) String() string

type CtyTupleType

type CtyTupleType struct {
	Elements []*CtyType `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`
	// contains filtered or unexported fields
}

func (*CtyTupleType) Descriptor deprecated

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

Deprecated: Use CtyTupleType.ProtoReflect.Descriptor instead.

func (*CtyTupleType) GetElements

func (x *CtyTupleType) GetElements() []*CtyType

func (*CtyTupleType) ProtoMessage

func (*CtyTupleType) ProtoMessage()

func (*CtyTupleType) ProtoReflect

func (x *CtyTupleType) ProtoReflect() protoreflect.Message

func (*CtyTupleType) Reset

func (x *CtyTupleType) Reset()

func (*CtyTupleType) String

func (x *CtyTupleType) String() string

type CtyTupleValue

type CtyTupleValue struct {
	Elements []*CtyValue `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`
	// contains filtered or unexported fields
}

func (*CtyTupleValue) Descriptor deprecated

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

Deprecated: Use CtyTupleValue.ProtoReflect.Descriptor instead.

func (*CtyTupleValue) GetElements

func (x *CtyTupleValue) GetElements() []*CtyValue

func (*CtyTupleValue) ProtoMessage

func (*CtyTupleValue) ProtoMessage()

func (*CtyTupleValue) ProtoReflect

func (x *CtyTupleValue) ProtoReflect() protoreflect.Message

func (*CtyTupleValue) Reset

func (x *CtyTupleValue) Reset()

func (*CtyTupleValue) String

func (x *CtyTupleValue) String() string

type CtyType

type CtyType struct {

	// Types that are assignable to Data:
	//
	//	*CtyType_Primitive
	//	*CtyType_Object
	//	*CtyType_Map
	//	*CtyType_List
	//	*CtyType_Set
	//	*CtyType_Tuple
	//	*CtyType_DynamicPseudo
	Data isCtyType_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*CtyType) Descriptor deprecated

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

Deprecated: Use CtyType.ProtoReflect.Descriptor instead.

func (*CtyType) GetData

func (m *CtyType) GetData() isCtyType_Data

func (*CtyType) GetDynamicPseudo

func (x *CtyType) GetDynamicPseudo() *CtyDynamicPseudoType

func (*CtyType) GetList

func (x *CtyType) GetList() *CtyListType

func (*CtyType) GetMap

func (x *CtyType) GetMap() *CtyMapType

func (*CtyType) GetObject

func (x *CtyType) GetObject() *CtyObjectType

func (*CtyType) GetPrimitive

func (x *CtyType) GetPrimitive() *CtyPrimitiveType

func (*CtyType) GetSet

func (x *CtyType) GetSet() *CtySetType

func (*CtyType) GetTuple

func (x *CtyType) GetTuple() *CtyTupleType

func (*CtyType) ProtoMessage

func (*CtyType) ProtoMessage()

func (*CtyType) ProtoReflect

func (x *CtyType) ProtoReflect() protoreflect.Message

func (*CtyType) Reset

func (x *CtyType) Reset()

func (*CtyType) String

func (x *CtyType) String() string

type CtyType_DynamicPseudo

type CtyType_DynamicPseudo struct {
	DynamicPseudo *CtyDynamicPseudoType `protobuf:"bytes,7,opt,name=dynamic_pseudo,json=dynamicPseudo,proto3,oneof"`
}

type CtyType_List

type CtyType_List struct {
	List *CtyListType `protobuf:"bytes,4,opt,name=list,proto3,oneof"`
}

type CtyType_Map

type CtyType_Map struct {
	Map *CtyMapType `protobuf:"bytes,3,opt,name=map,proto3,oneof"`
}

type CtyType_Object

type CtyType_Object struct {
	Object *CtyObjectType `protobuf:"bytes,2,opt,name=object,proto3,oneof"`
}

type CtyType_Primitive

type CtyType_Primitive struct {
	Primitive *CtyPrimitiveType `protobuf:"bytes,1,opt,name=primitive,proto3,oneof"`
}

type CtyType_Set

type CtyType_Set struct {
	Set *CtySetType `protobuf:"bytes,5,opt,name=set,proto3,oneof"`
}

type CtyType_Tuple

type CtyType_Tuple struct {
	Tuple *CtyTupleType `protobuf:"bytes,6,opt,name=tuple,proto3,oneof"`
}

type CtyValue

type CtyValue struct {
	Type *CtyType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Types that are assignable to Data:
	//
	//	*CtyValue_Primitive
	//	*CtyValue_Object
	//	*CtyValue_Map
	//	*CtyValue_List
	//	*CtyValue_Set
	//	*CtyValue_Tuple
	Data isCtyValue_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*CtyValue) Descriptor deprecated

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

Deprecated: Use CtyValue.ProtoReflect.Descriptor instead.

func (*CtyValue) GetData

func (m *CtyValue) GetData() isCtyValue_Data

func (*CtyValue) GetList

func (x *CtyValue) GetList() *CtyListValue

func (*CtyValue) GetMap

func (x *CtyValue) GetMap() *CtyMapValue

func (*CtyValue) GetObject

func (x *CtyValue) GetObject() *CtyObjectValue

func (*CtyValue) GetPrimitive

func (x *CtyValue) GetPrimitive() *CtyPrimitiveValue

func (*CtyValue) GetSet

func (x *CtyValue) GetSet() *CtySetValue

func (*CtyValue) GetTuple

func (x *CtyValue) GetTuple() *CtyTupleValue

func (*CtyValue) GetType

func (x *CtyValue) GetType() *CtyType

func (*CtyValue) ProtoMessage

func (*CtyValue) ProtoMessage()

func (*CtyValue) ProtoReflect

func (x *CtyValue) ProtoReflect() protoreflect.Message

func (*CtyValue) Reset

func (x *CtyValue) Reset()

func (*CtyValue) String

func (x *CtyValue) String() string

type CtyValue_List

type CtyValue_List struct {
	List *CtyListValue `protobuf:"bytes,5,opt,name=list,proto3,oneof"`
}

type CtyValue_Map

type CtyValue_Map struct {
	Map *CtyMapValue `protobuf:"bytes,4,opt,name=map,proto3,oneof"`
}

type CtyValue_Object

type CtyValue_Object struct {
	Object *CtyObjectValue `protobuf:"bytes,3,opt,name=object,proto3,oneof"`
}

type CtyValue_Primitive

type CtyValue_Primitive struct {
	Primitive *CtyPrimitiveValue `protobuf:"bytes,2,opt,name=primitive,proto3,oneof"`
}

type CtyValue_Set

type CtyValue_Set struct {
	Set *CtySetValue `protobuf:"bytes,6,opt,name=set,proto3,oneof"`
}

type CtyValue_Tuple

type CtyValue_Tuple struct {
	Tuple *CtyTupleValue `protobuf:"bytes,7,opt,name=tuple,proto3,oneof"`
}

type Data

type Data struct {

	// Types that are assignable to Data:
	//
	//	*Data_StringVal
	//	*Data_NumberVal
	//	*Data_BoolVal
	//	*Data_ListVal
	//	*Data_MapVal
	Data isData_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetBoolVal

func (x *Data) GetBoolVal() *BoolData

func (*Data) GetData

func (m *Data) GetData() isData_Data

func (*Data) GetListVal

func (x *Data) GetListVal() *ListData

func (*Data) GetMapVal

func (x *Data) GetMapVal() *MapData

func (*Data) GetNumberVal

func (x *Data) GetNumberVal() *NumberData

func (*Data) GetStringVal

func (x *Data) GetStringVal() *StringData

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

func (x *Data) ProtoReflect() protoreflect.Message

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type DataSourceSchema

type DataSourceSchema struct {
	Args   *HclSpec `protobuf:"bytes,1,opt,name=args,proto3" json:"args,omitempty"`
	Config *HclSpec `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*DataSourceSchema) Descriptor deprecated

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

Deprecated: Use DataSourceSchema.ProtoReflect.Descriptor instead.

func (*DataSourceSchema) GetArgs

func (x *DataSourceSchema) GetArgs() *HclSpec

func (*DataSourceSchema) GetConfig

func (x *DataSourceSchema) GetConfig() *HclSpec

func (*DataSourceSchema) ProtoMessage

func (*DataSourceSchema) ProtoMessage()

func (*DataSourceSchema) ProtoReflect

func (x *DataSourceSchema) ProtoReflect() protoreflect.Message

func (*DataSourceSchema) Reset

func (x *DataSourceSchema) Reset()

func (*DataSourceSchema) String

func (x *DataSourceSchema) String() string

type Data_BoolVal

type Data_BoolVal struct {
	BoolVal *BoolData `protobuf:"bytes,3,opt,name=bool_val,json=boolVal,proto3,oneof"`
}

type Data_ListVal

type Data_ListVal struct {
	ListVal *ListData `protobuf:"bytes,4,opt,name=list_val,json=listVal,proto3,oneof"`
}

type Data_MapVal

type Data_MapVal struct {
	MapVal *MapData `protobuf:"bytes,5,opt,name=map_val,json=mapVal,proto3,oneof"`
}

type Data_NumberVal

type Data_NumberVal struct {
	NumberVal *NumberData `protobuf:"bytes,2,opt,name=number_val,json=numberVal,proto3,oneof"`
}

type Data_StringVal

type Data_StringVal struct {
	StringVal *StringData `protobuf:"bytes,1,opt,name=string_val,json=stringVal,proto3,oneof"`
}

type Diagnostic

type Diagnostic struct {
	Severity DiagnosticSeverity `protobuf:"varint,1,opt,name=severity,proto3,enum=pluginapi.v1.DiagnosticSeverity" json:"severity,omitempty"`
	Summary  string             `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	Detail   string             `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

func (*Diagnostic) Descriptor deprecated

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

Deprecated: Use Diagnostic.ProtoReflect.Descriptor instead.

func (*Diagnostic) GetDetail

func (x *Diagnostic) GetDetail() string

func (*Diagnostic) GetSeverity

func (x *Diagnostic) GetSeverity() DiagnosticSeverity

func (*Diagnostic) GetSummary

func (x *Diagnostic) GetSummary() string

func (*Diagnostic) ProtoMessage

func (*Diagnostic) ProtoMessage()

func (*Diagnostic) ProtoReflect

func (x *Diagnostic) ProtoReflect() protoreflect.Message

func (*Diagnostic) Reset

func (x *Diagnostic) Reset()

func (*Diagnostic) String

func (x *Diagnostic) String() string

type DiagnosticSeverity

type DiagnosticSeverity int32
const (
	DiagnosticSeverity_DIAGNOSTIC_SEVERITY_UNSPECIFIED DiagnosticSeverity = 0
	DiagnosticSeverity_DIAGNOSTIC_SEVERITY_ERROR       DiagnosticSeverity = 1
	DiagnosticSeverity_DIAGNOSTIC_SEVERITY_WARNING     DiagnosticSeverity = 2
)

func (DiagnosticSeverity) Descriptor

func (DiagnosticSeverity) Enum

func (DiagnosticSeverity) EnumDescriptor deprecated

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

Deprecated: Use DiagnosticSeverity.Descriptor instead.

func (DiagnosticSeverity) Number

func (DiagnosticSeverity) String

func (x DiagnosticSeverity) String() string

func (DiagnosticSeverity) Type

type GetSchemaRequest

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

func (*GetSchemaRequest) Descriptor deprecated

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

Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead.

func (*GetSchemaRequest) ProtoMessage

func (*GetSchemaRequest) ProtoMessage()

func (*GetSchemaRequest) ProtoReflect

func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message

func (*GetSchemaRequest) Reset

func (x *GetSchemaRequest) Reset()

func (*GetSchemaRequest) String

func (x *GetSchemaRequest) String() string

type GetSchemaResponse

type GetSchemaResponse struct {
	Schema *Schema `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSchemaResponse) Descriptor deprecated

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

Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead.

func (*GetSchemaResponse) GetSchema

func (x *GetSchemaResponse) GetSchema() *Schema

func (*GetSchemaResponse) ProtoMessage

func (*GetSchemaResponse) ProtoMessage()

func (*GetSchemaResponse) ProtoReflect

func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message

func (*GetSchemaResponse) Reset

func (x *GetSchemaResponse) Reset()

func (*GetSchemaResponse) String

func (x *GetSchemaResponse) String() string

type HclAttr

type HclAttr struct {
	Name     string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type     *CtyType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Required bool     `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
	// contains filtered or unexported fields
}

func (*HclAttr) Descriptor deprecated

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

Deprecated: Use HclAttr.ProtoReflect.Descriptor instead.

func (*HclAttr) GetName

func (x *HclAttr) GetName() string

func (*HclAttr) GetRequired

func (x *HclAttr) GetRequired() bool

func (*HclAttr) GetType

func (x *HclAttr) GetType() *CtyType

func (*HclAttr) ProtoMessage

func (*HclAttr) ProtoMessage()

func (*HclAttr) ProtoReflect

func (x *HclAttr) ProtoReflect() protoreflect.Message

func (*HclAttr) Reset

func (x *HclAttr) Reset()

func (*HclAttr) String

func (x *HclAttr) String() string

type HclBlock

type HclBlock struct {
	Name     string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Required bool     `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
	Nested   *HclSpec `protobuf:"bytes,3,opt,name=nested,proto3" json:"nested,omitempty"`
	// contains filtered or unexported fields
}

func (*HclBlock) Descriptor deprecated

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

Deprecated: Use HclBlock.ProtoReflect.Descriptor instead.

func (*HclBlock) GetName

func (x *HclBlock) GetName() string

func (*HclBlock) GetNested

func (x *HclBlock) GetNested() *HclSpec

func (*HclBlock) GetRequired

func (x *HclBlock) GetRequired() bool

func (*HclBlock) ProtoMessage

func (*HclBlock) ProtoMessage()

func (*HclBlock) ProtoReflect

func (x *HclBlock) ProtoReflect() protoreflect.Message

func (*HclBlock) Reset

func (x *HclBlock) Reset()

func (*HclBlock) String

func (x *HclBlock) String() string

type HclBlockAttrs

type HclBlockAttrs struct {
	Name     string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type     *CtyType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Required bool     `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
	// contains filtered or unexported fields
}

func (*HclBlockAttrs) Descriptor deprecated

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

Deprecated: Use HclBlockAttrs.ProtoReflect.Descriptor instead.

func (*HclBlockAttrs) GetName

func (x *HclBlockAttrs) GetName() string

func (*HclBlockAttrs) GetRequired

func (x *HclBlockAttrs) GetRequired() bool

func (*HclBlockAttrs) GetType

func (x *HclBlockAttrs) GetType() *CtyType

func (*HclBlockAttrs) ProtoMessage

func (*HclBlockAttrs) ProtoMessage()

func (*HclBlockAttrs) ProtoReflect

func (x *HclBlockAttrs) ProtoReflect() protoreflect.Message

func (*HclBlockAttrs) Reset

func (x *HclBlockAttrs) Reset()

func (*HclBlockAttrs) String

func (x *HclBlockAttrs) String() string

type HclBlockList

type HclBlockList struct {
	Name     string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Nested   *HclSpec `protobuf:"bytes,2,opt,name=nested,proto3" json:"nested,omitempty"`
	MinItems int64    `protobuf:"varint,3,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"`
	MaxItems int64    `protobuf:"varint,4,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"`
	// contains filtered or unexported fields
}

func (*HclBlockList) Descriptor deprecated

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

Deprecated: Use HclBlockList.ProtoReflect.Descriptor instead.

func (*HclBlockList) GetMaxItems

func (x *HclBlockList) GetMaxItems() int64

func (*HclBlockList) GetMinItems

func (x *HclBlockList) GetMinItems() int64

func (*HclBlockList) GetName

func (x *HclBlockList) GetName() string

func (*HclBlockList) GetNested

func (x *HclBlockList) GetNested() *HclSpec

func (*HclBlockList) ProtoMessage

func (*HclBlockList) ProtoMessage()

func (*HclBlockList) ProtoReflect

func (x *HclBlockList) ProtoReflect() protoreflect.Message

func (*HclBlockList) Reset

func (x *HclBlockList) Reset()

func (*HclBlockList) String

func (x *HclBlockList) String() string

type HclBlockMap

type HclBlockMap struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Nested *HclSpec `protobuf:"bytes,2,opt,name=nested,proto3" json:"nested,omitempty"`
	Labels []string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*HclBlockMap) Descriptor deprecated

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

Deprecated: Use HclBlockMap.ProtoReflect.Descriptor instead.

func (*HclBlockMap) GetLabels

func (x *HclBlockMap) GetLabels() []string

func (*HclBlockMap) GetName

func (x *HclBlockMap) GetName() string

func (*HclBlockMap) GetNested

func (x *HclBlockMap) GetNested() *HclSpec

func (*HclBlockMap) ProtoMessage

func (*HclBlockMap) ProtoMessage()

func (*HclBlockMap) ProtoReflect

func (x *HclBlockMap) ProtoReflect() protoreflect.Message

func (*HclBlockMap) Reset

func (x *HclBlockMap) Reset()

func (*HclBlockMap) String

func (x *HclBlockMap) String() string

type HclBlockSet

type HclBlockSet struct {
	Name     string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Nested   *HclSpec `protobuf:"bytes,2,opt,name=nested,proto3" json:"nested,omitempty"`
	MinItems int64    `protobuf:"varint,3,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"`
	MaxItems int64    `protobuf:"varint,4,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"`
	// contains filtered or unexported fields
}

func (*HclBlockSet) Descriptor deprecated

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

Deprecated: Use HclBlockSet.ProtoReflect.Descriptor instead.

func (*HclBlockSet) GetMaxItems

func (x *HclBlockSet) GetMaxItems() int64

func (*HclBlockSet) GetMinItems

func (x *HclBlockSet) GetMinItems() int64

func (*HclBlockSet) GetName

func (x *HclBlockSet) GetName() string

func (*HclBlockSet) GetNested

func (x *HclBlockSet) GetNested() *HclSpec

func (*HclBlockSet) ProtoMessage

func (*HclBlockSet) ProtoMessage()

func (*HclBlockSet) ProtoReflect

func (x *HclBlockSet) ProtoReflect() protoreflect.Message

func (*HclBlockSet) Reset

func (x *HclBlockSet) Reset()

func (*HclBlockSet) String

func (x *HclBlockSet) String() string

type HclDefault

type HclDefault struct {
	Default *HclSpec `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"`
	Primary *HclSpec `protobuf:"bytes,2,opt,name=primary,proto3" json:"primary,omitempty"`
	// contains filtered or unexported fields
}

func (*HclDefault) Descriptor deprecated

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

Deprecated: Use HclDefault.ProtoReflect.Descriptor instead.

func (*HclDefault) GetDefault

func (x *HclDefault) GetDefault() *HclSpec

func (*HclDefault) GetPrimary

func (x *HclDefault) GetPrimary() *HclSpec

func (*HclDefault) ProtoMessage

func (*HclDefault) ProtoMessage()

func (*HclDefault) ProtoReflect

func (x *HclDefault) ProtoReflect() protoreflect.Message

func (*HclDefault) Reset

func (x *HclDefault) Reset()

func (*HclDefault) String

func (x *HclDefault) String() string

type HclLiteral

type HclLiteral struct {
	Value *CtyValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*HclLiteral) Descriptor deprecated

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

Deprecated: Use HclLiteral.ProtoReflect.Descriptor instead.

func (*HclLiteral) GetValue

func (x *HclLiteral) GetValue() *CtyValue

func (*HclLiteral) ProtoMessage

func (*HclLiteral) ProtoMessage()

func (*HclLiteral) ProtoReflect

func (x *HclLiteral) ProtoReflect() protoreflect.Message

func (*HclLiteral) Reset

func (x *HclLiteral) Reset()

func (*HclLiteral) String

func (x *HclLiteral) String() string

type HclObject

type HclObject struct {
	Attrs map[string]*HclSpec `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HclObject) Descriptor deprecated

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

Deprecated: Use HclObject.ProtoReflect.Descriptor instead.

func (*HclObject) GetAttrs

func (x *HclObject) GetAttrs() map[string]*HclSpec

func (*HclObject) ProtoMessage

func (*HclObject) ProtoMessage()

func (*HclObject) ProtoReflect

func (x *HclObject) ProtoReflect() protoreflect.Message

func (*HclObject) Reset

func (x *HclObject) Reset()

func (*HclObject) String

func (x *HclObject) String() string

type HclSpec

type HclSpec struct {

	// Types that are assignable to Data:
	//
	//	*HclSpec_Literal
	//	*HclSpec_Default
	//	*HclSpec_Object
	//	*HclSpec_Attr
	//	*HclSpec_Block
	//	*HclSpec_BlockAttrs
	//	*HclSpec_BlockList
	//	*HclSpec_BlockSet
	//	*HclSpec_BlockMap
	Data isHclSpec_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*HclSpec) Descriptor deprecated

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

Deprecated: Use HclSpec.ProtoReflect.Descriptor instead.

func (*HclSpec) GetAttr

func (x *HclSpec) GetAttr() *HclAttr

func (*HclSpec) GetBlock

func (x *HclSpec) GetBlock() *HclBlock

func (*HclSpec) GetBlockAttrs

func (x *HclSpec) GetBlockAttrs() *HclBlockAttrs

func (*HclSpec) GetBlockList

func (x *HclSpec) GetBlockList() *HclBlockList

func (*HclSpec) GetBlockMap

func (x *HclSpec) GetBlockMap() *HclBlockMap

func (*HclSpec) GetBlockSet

func (x *HclSpec) GetBlockSet() *HclBlockSet

func (*HclSpec) GetData

func (m *HclSpec) GetData() isHclSpec_Data

func (*HclSpec) GetDefault

func (x *HclSpec) GetDefault() *HclDefault

func (*HclSpec) GetLiteral

func (x *HclSpec) GetLiteral() *HclLiteral

func (*HclSpec) GetObject

func (x *HclSpec) GetObject() *HclObject

func (*HclSpec) ProtoMessage

func (*HclSpec) ProtoMessage()

func (*HclSpec) ProtoReflect

func (x *HclSpec) ProtoReflect() protoreflect.Message

func (*HclSpec) Reset

func (x *HclSpec) Reset()

func (*HclSpec) String

func (x *HclSpec) String() string

type HclSpec_Attr

type HclSpec_Attr struct {
	Attr *HclAttr `protobuf:"bytes,4,opt,name=attr,proto3,oneof"`
}

type HclSpec_Block

type HclSpec_Block struct {
	Block *HclBlock `protobuf:"bytes,5,opt,name=block,proto3,oneof"`
}

type HclSpec_BlockAttrs

type HclSpec_BlockAttrs struct {
	BlockAttrs *HclBlockAttrs `protobuf:"bytes,6,opt,name=block_attrs,json=blockAttrs,proto3,oneof"`
}

type HclSpec_BlockList

type HclSpec_BlockList struct {
	BlockList *HclBlockList `protobuf:"bytes,7,opt,name=block_list,json=blockList,proto3,oneof"`
}

type HclSpec_BlockMap

type HclSpec_BlockMap struct {
	BlockMap *HclBlockMap `protobuf:"bytes,9,opt,name=block_map,json=blockMap,proto3,oneof"`
}

type HclSpec_BlockSet

type HclSpec_BlockSet struct {
	BlockSet *HclBlockSet `protobuf:"bytes,8,opt,name=block_set,json=blockSet,proto3,oneof"`
}

type HclSpec_Default

type HclSpec_Default struct {
	Default *HclDefault `protobuf:"bytes,2,opt,name=default,proto3,oneof"`
}

type HclSpec_Literal

type HclSpec_Literal struct {
	Literal *HclLiteral `protobuf:"bytes,1,opt,name=literal,proto3,oneof"`
}

type HclSpec_Object

type HclSpec_Object struct {
	Object *HclObject `protobuf:"bytes,3,opt,name=object,proto3,oneof"`
}

type InvocationOrder added in v0.4.1

type InvocationOrder int32
const (
	InvocationOrder_INVOCATION_ORDER_UNSPECIFIED InvocationOrder = 0
	InvocationOrder_INVOCATION_ORDER_BEGIN       InvocationOrder = 2
	InvocationOrder_INVOCATION_ORDER_END         InvocationOrder = 3
)

func (InvocationOrder) Descriptor added in v0.4.1

func (InvocationOrder) Enum added in v0.4.1

func (x InvocationOrder) Enum() *InvocationOrder

func (InvocationOrder) EnumDescriptor deprecated added in v0.4.1

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

Deprecated: Use InvocationOrder.Descriptor instead.

func (InvocationOrder) Number added in v0.4.1

func (InvocationOrder) String added in v0.4.1

func (x InvocationOrder) String() string

func (InvocationOrder) Type added in v0.4.1

type ListData

type ListData struct {
	Value []*Data `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ListData) Descriptor deprecated

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

Deprecated: Use ListData.ProtoReflect.Descriptor instead.

func (*ListData) GetValue

func (x *ListData) GetValue() []*Data

func (*ListData) ProtoMessage

func (*ListData) ProtoMessage()

func (*ListData) ProtoReflect

func (x *ListData) ProtoReflect() protoreflect.Message

func (*ListData) Reset

func (x *ListData) Reset()

func (*ListData) String

func (x *ListData) String() string

type Location added in v0.4.1

type Location struct {
	Index  uint32         `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Effect LocationEffect `protobuf:"varint,2,opt,name=effect,proto3,enum=pluginapi.v1.LocationEffect" json:"effect,omitempty"`
	// contains filtered or unexported fields
}

func (*Location) Descriptor deprecated added in v0.4.1

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

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetEffect added in v0.4.1

func (x *Location) GetEffect() LocationEffect

func (*Location) GetIndex added in v0.4.1

func (x *Location) GetIndex() uint32

func (*Location) ProtoMessage added in v0.4.1

func (*Location) ProtoMessage()

func (*Location) ProtoReflect added in v0.4.1

func (x *Location) ProtoReflect() protoreflect.Message

func (*Location) Reset added in v0.4.1

func (x *Location) Reset()

func (*Location) String added in v0.4.1

func (x *Location) String() string

type LocationEffect added in v0.4.1

type LocationEffect int32
const (
	LocationEffect_LOCATION_EFFECT_UNSPECIFIED LocationEffect = 0
	LocationEffect_LOCATION_EFFECT_BEFORE      LocationEffect = 1
	LocationEffect_LOCATION_EFFECT_AFTER       LocationEffect = 2
)

func (LocationEffect) Descriptor added in v0.4.1

func (LocationEffect) Enum added in v0.4.1

func (x LocationEffect) Enum() *LocationEffect

func (LocationEffect) EnumDescriptor deprecated added in v0.4.1

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

Deprecated: Use LocationEffect.Descriptor instead.

func (LocationEffect) Number added in v0.4.1

func (LocationEffect) String added in v0.4.1

func (x LocationEffect) String() string

func (LocationEffect) Type added in v0.4.1

type MapData

type MapData struct {
	Value map[string]*Data `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MapData) Descriptor deprecated

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

Deprecated: Use MapData.ProtoReflect.Descriptor instead.

func (*MapData) GetValue

func (x *MapData) GetValue() map[string]*Data

func (*MapData) ProtoMessage

func (*MapData) ProtoMessage()

func (*MapData) ProtoReflect

func (x *MapData) ProtoReflect() protoreflect.Message

func (*MapData) Reset

func (x *MapData) Reset()

func (*MapData) String

func (x *MapData) String() string

type NumberData

type NumberData struct {
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*NumberData) Descriptor deprecated

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

Deprecated: Use NumberData.ProtoReflect.Descriptor instead.

func (*NumberData) GetValue

func (x *NumberData) GetValue() float64

func (*NumberData) ProtoMessage

func (*NumberData) ProtoMessage()

func (*NumberData) ProtoReflect

func (x *NumberData) ProtoReflect() protoreflect.Message

func (*NumberData) Reset

func (x *NumberData) Reset()

func (*NumberData) String

func (x *NumberData) String() string

type PluginServiceClient

type PluginServiceClient interface {
	GetSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*GetSchemaResponse, error)
	RetrieveData(ctx context.Context, in *RetrieveDataRequest, opts ...grpc.CallOption) (*RetrieveDataResponse, error)
	ProvideContent(ctx context.Context, in *ProvideContentRequest, opts ...grpc.CallOption) (*ProvideContentResponse, error)
}

PluginServiceClient is the client API for PluginService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type PluginServiceServer

type PluginServiceServer interface {
	GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaResponse, error)
	RetrieveData(context.Context, *RetrieveDataRequest) (*RetrieveDataResponse, error)
	ProvideContent(context.Context, *ProvideContentRequest) (*ProvideContentResponse, error)
	// contains filtered or unexported methods
}

PluginServiceServer is the server API for PluginService service. All implementations must embed UnimplementedPluginServiceServer for forward compatibility

type ProvideContentRequest

type ProvideContentRequest struct {
	Provider    string    `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Args        *CtyValue `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"`
	Config      *CtyValue `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
	DataContext *MapData  `protobuf:"bytes,4,opt,name=data_context,json=dataContext,proto3" json:"data_context,omitempty"`
	ContentId   uint32    `protobuf:"varint,5,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvideContentRequest) Descriptor deprecated

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

Deprecated: Use ProvideContentRequest.ProtoReflect.Descriptor instead.

func (*ProvideContentRequest) GetArgs

func (x *ProvideContentRequest) GetArgs() *CtyValue

func (*ProvideContentRequest) GetConfig

func (x *ProvideContentRequest) GetConfig() *CtyValue

func (*ProvideContentRequest) GetContentId added in v0.4.1

func (x *ProvideContentRequest) GetContentId() uint32

func (*ProvideContentRequest) GetDataContext

func (x *ProvideContentRequest) GetDataContext() *MapData

func (*ProvideContentRequest) GetProvider

func (x *ProvideContentRequest) GetProvider() string

func (*ProvideContentRequest) ProtoMessage

func (*ProvideContentRequest) ProtoMessage()

func (*ProvideContentRequest) ProtoReflect

func (x *ProvideContentRequest) ProtoReflect() protoreflect.Message

func (*ProvideContentRequest) Reset

func (x *ProvideContentRequest) Reset()

func (*ProvideContentRequest) String

func (x *ProvideContentRequest) String() string

type ProvideContentResponse

type ProvideContentResponse struct {
	Result      *ContentResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Diagnostics []*Diagnostic  `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvideContentResponse) Descriptor deprecated

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

Deprecated: Use ProvideContentResponse.ProtoReflect.Descriptor instead.

func (*ProvideContentResponse) GetDiagnostics

func (x *ProvideContentResponse) GetDiagnostics() []*Diagnostic

func (*ProvideContentResponse) GetResult added in v0.4.1

func (x *ProvideContentResponse) GetResult() *ContentResult

func (*ProvideContentResponse) ProtoMessage

func (*ProvideContentResponse) ProtoMessage()

func (*ProvideContentResponse) ProtoReflect

func (x *ProvideContentResponse) ProtoReflect() protoreflect.Message

func (*ProvideContentResponse) Reset

func (x *ProvideContentResponse) Reset()

func (*ProvideContentResponse) String

func (x *ProvideContentResponse) String() string

type RetrieveDataRequest

type RetrieveDataRequest struct {
	Source string    `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Args   *CtyValue `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"`
	Config *CtyValue `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*RetrieveDataRequest) Descriptor deprecated

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

Deprecated: Use RetrieveDataRequest.ProtoReflect.Descriptor instead.

func (*RetrieveDataRequest) GetArgs

func (x *RetrieveDataRequest) GetArgs() *CtyValue

func (*RetrieveDataRequest) GetConfig

func (x *RetrieveDataRequest) GetConfig() *CtyValue

func (*RetrieveDataRequest) GetSource

func (x *RetrieveDataRequest) GetSource() string

func (*RetrieveDataRequest) ProtoMessage

func (*RetrieveDataRequest) ProtoMessage()

func (*RetrieveDataRequest) ProtoReflect

func (x *RetrieveDataRequest) ProtoReflect() protoreflect.Message

func (*RetrieveDataRequest) Reset

func (x *RetrieveDataRequest) Reset()

func (*RetrieveDataRequest) String

func (x *RetrieveDataRequest) String() string

type RetrieveDataResponse

type RetrieveDataResponse struct {
	Data        *Data         `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*RetrieveDataResponse) Descriptor deprecated

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

Deprecated: Use RetrieveDataResponse.ProtoReflect.Descriptor instead.

func (*RetrieveDataResponse) GetData

func (x *RetrieveDataResponse) GetData() *Data

func (*RetrieveDataResponse) GetDiagnostics

func (x *RetrieveDataResponse) GetDiagnostics() []*Diagnostic

func (*RetrieveDataResponse) ProtoMessage

func (*RetrieveDataResponse) ProtoMessage()

func (*RetrieveDataResponse) ProtoReflect

func (x *RetrieveDataResponse) ProtoReflect() protoreflect.Message

func (*RetrieveDataResponse) Reset

func (x *RetrieveDataResponse) Reset()

func (*RetrieveDataResponse) String

func (x *RetrieveDataResponse) String() string

type Schema

type Schema struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// Plugin components
	DataSources      map[string]*DataSourceSchema      `` /* 182-byte string literal not displayed */
	ContentProviders map[string]*ContentProviderSchema `` /* 197-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Schema) Descriptor deprecated

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

Deprecated: Use Schema.ProtoReflect.Descriptor instead.

func (*Schema) GetContentProviders

func (x *Schema) GetContentProviders() map[string]*ContentProviderSchema

func (*Schema) GetDataSources

func (x *Schema) GetDataSources() map[string]*DataSourceSchema

func (*Schema) GetName

func (x *Schema) GetName() string

func (*Schema) GetVersion

func (x *Schema) GetVersion() string

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) ProtoReflect

func (x *Schema) ProtoReflect() protoreflect.Message

func (*Schema) Reset

func (x *Schema) Reset()

func (*Schema) String

func (x *Schema) String() string

type StringData

type StringData struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*StringData) Descriptor deprecated

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

Deprecated: Use StringData.ProtoReflect.Descriptor instead.

func (*StringData) GetValue

func (x *StringData) GetValue() string

func (*StringData) ProtoMessage

func (*StringData) ProtoMessage()

func (*StringData) ProtoReflect

func (x *StringData) ProtoReflect() protoreflect.Message

func (*StringData) Reset

func (x *StringData) Reset()

func (*StringData) String

func (x *StringData) String() string

type UnimplementedPluginServiceServer

type UnimplementedPluginServiceServer struct {
}

UnimplementedPluginServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPluginServiceServer) GetSchema

func (UnimplementedPluginServiceServer) ProvideContent

func (UnimplementedPluginServiceServer) RetrieveData

type UnsafePluginServiceServer

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

UnsafePluginServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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