pluginapiv1

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 27 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"
	PluginService_Publish_FullMethodName        = "/pluginapi.v1.PluginService/Publish"
)

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 (
	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 (
	OutputFormat_name = map[int32]string{
		0: "OUTPUT_FORMAT_UNSPECIFIED",
		1: "OUTPUT_FORMAT_MD",
		2: "OUTPUT_FORMAT_HTML",
		3: "OUTPUT_FORMAT_PDF",
	}
	OutputFormat_value = map[string]int32{
		"OUTPUT_FORMAT_UNSPECIFIED": 0,
		"OUTPUT_FORMAT_MD":          1,
		"OUTPUT_FORMAT_HTML":        2,
		"OUTPUT_FORMAT_PDF":         3,
	}
)

Enum value maps for OutputFormat.

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_dataspec_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,
		},
		{
			MethodName: "Publish",
			Handler:    _PluginService_Publish_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 AttrSpec added in v0.4.2

type AttrSpec 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"`
	DefaultVal   *CtyValue   `protobuf:"bytes,3,opt,name=default_val,json=defaultVal,proto3" json:"default_val,omitempty"`
	ExampleVal   *CtyValue   `protobuf:"bytes,4,opt,name=example_val,json=exampleVal,proto3" json:"example_val,omitempty"`
	Doc          string      `protobuf:"bytes,5,opt,name=doc,proto3" json:"doc,omitempty"`
	Constraints  uint32      `protobuf:"varint,7,opt,name=constraints,proto3" json:"constraints,omitempty"`
	OneOf        []*CtyValue `protobuf:"bytes,8,rep,name=one_of,json=oneOf,proto3" json:"one_of,omitempty"`
	MinInclusive *CtyValue   `protobuf:"bytes,9,opt,name=min_inclusive,json=minInclusive,proto3" json:"min_inclusive,omitempty"`
	MaxInclusive *CtyValue   `protobuf:"bytes,10,opt,name=max_inclusive,json=maxInclusive,proto3" json:"max_inclusive,omitempty"`
	Deprecated   string      `protobuf:"bytes,11,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
	Secret       bool        `protobuf:"varint,12,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*AttrSpec) Descriptor deprecated added in v0.4.2

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

Deprecated: Use AttrSpec.ProtoReflect.Descriptor instead.

func (*AttrSpec) GetConstraints added in v0.4.2

func (x *AttrSpec) GetConstraints() uint32

func (*AttrSpec) GetDefaultVal added in v0.4.2

func (x *AttrSpec) GetDefaultVal() *CtyValue

func (*AttrSpec) GetDeprecated added in v0.4.2

func (x *AttrSpec) GetDeprecated() string

func (*AttrSpec) GetDoc added in v0.4.2

func (x *AttrSpec) GetDoc() string

func (*AttrSpec) GetExampleVal added in v0.4.2

func (x *AttrSpec) GetExampleVal() *CtyValue

func (*AttrSpec) GetMaxInclusive added in v0.4.2

func (x *AttrSpec) GetMaxInclusive() *CtyValue

func (*AttrSpec) GetMinInclusive added in v0.4.2

func (x *AttrSpec) GetMinInclusive() *CtyValue

func (*AttrSpec) GetName added in v0.4.2

func (x *AttrSpec) GetName() string

func (*AttrSpec) GetOneOf added in v0.4.2

func (x *AttrSpec) GetOneOf() []*CtyValue

func (*AttrSpec) GetSecret added in v0.4.2

func (x *AttrSpec) GetSecret() bool

func (*AttrSpec) GetType added in v0.4.2

func (x *AttrSpec) GetType() *CtyType

func (*AttrSpec) ProtoMessage added in v0.4.2

func (*AttrSpec) ProtoMessage()

func (*AttrSpec) ProtoReflect added in v0.4.2

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

func (*AttrSpec) Reset added in v0.4.2

func (x *AttrSpec) Reset()

func (*AttrSpec) String added in v0.4.2

func (x *AttrSpec) String() string

type BlockSpec added in v0.4.2

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

func (*BlockSpec) Descriptor deprecated added in v0.4.2

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

Deprecated: Use BlockSpec.ProtoReflect.Descriptor instead.

func (*BlockSpec) GetDoc added in v0.4.2

func (x *BlockSpec) GetDoc() string

func (*BlockSpec) GetName added in v0.4.2

func (x *BlockSpec) GetName() string

func (*BlockSpec) GetNested added in v0.4.2

func (x *BlockSpec) GetNested() *Spec

func (*BlockSpec) GetRequired added in v0.4.2

func (x *BlockSpec) GetRequired() bool

func (*BlockSpec) ProtoMessage added in v0.4.2

func (*BlockSpec) ProtoMessage()

func (*BlockSpec) ProtoReflect added in v0.4.2

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

func (*BlockSpec) Reset added in v0.4.2

func (x *BlockSpec) Reset()

func (*BlockSpec) String added in v0.4.2

func (x *BlockSpec) 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            *Spec           `protobuf:"bytes,4,opt,name=args,proto3" json:"args,omitempty"`
	Config          *Spec           `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"`
	InvocationOrder InvocationOrder `` /* 141-byte string literal not displayed */
	Doc             string          `protobuf:"bytes,6,opt,name=doc,proto3" json:"doc,omitempty"`
	Tags            []string        `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
	// 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() *Spec

func (*ContentProviderSchema) GetConfig

func (x *ContentProviderSchema) GetConfig() *Spec

func (*ContentProviderSchema) GetDoc added in v0.4.2

func (x *ContentProviderSchema) GetDoc() string

func (*ContentProviderSchema) GetInvocationOrder added in v0.4.1

func (x *ContentProviderSchema) GetInvocationOrder() InvocationOrder

func (*ContentProviderSchema) GetTags added in v0.4.2

func (x *ContentProviderSchema) GetTags() []string

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

type Cty struct {

	// Cty with nil data is decoded as cty.NilVal
	//
	// Types that are assignable to Data:
	//
	//	*Cty_Primitive_
	//	*Cty_Object_
	//	*Cty_Map
	//	*Cty_List
	//	*Cty_Set
	//	*Cty_Tuple
	//	*Cty_Null
	//	*Cty_Caps
	//	*Cty_Unknown
	//	*Cty_Dyn
	Data isCty_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*Cty) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Cty.ProtoReflect.Descriptor instead.

func (*Cty) GetCaps added in v0.4.2

func (x *Cty) GetCaps() *Cty_Capsule

func (*Cty) GetData added in v0.4.2

func (m *Cty) GetData() isCty_Data

func (*Cty) GetDyn added in v0.4.2

func (x *Cty) GetDyn() *Cty_Dynamic

func (*Cty) GetList added in v0.4.2

func (x *Cty) GetList() *Cty_Sequence

func (*Cty) GetMap added in v0.4.2

func (x *Cty) GetMap() *Cty_Mapping

func (*Cty) GetNull added in v0.4.2

func (x *Cty) GetNull() *CtyType

func (*Cty) GetObject added in v0.4.2

func (x *Cty) GetObject() *Cty_Object

func (*Cty) GetPrimitive added in v0.4.2

func (x *Cty) GetPrimitive() *Cty_Primitive

func (*Cty) GetSet added in v0.4.2

func (x *Cty) GetSet() *Cty_Sequence

func (*Cty) GetTuple added in v0.4.2

func (x *Cty) GetTuple() *Cty_Sequence

func (*Cty) GetUnknown added in v0.4.2

func (x *Cty) GetUnknown() *CtyType

func (*Cty) ProtoMessage added in v0.4.2

func (*Cty) ProtoMessage()

func (*Cty) ProtoReflect added in v0.4.2

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

func (*Cty) Reset added in v0.4.2

func (x *Cty) Reset()

func (*Cty) String added in v0.4.2

func (x *Cty) String() string

type CtyType

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

Forces decoding of the inner Cty as a type

func (*CtyType) Descriptor deprecated

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

Deprecated: Use CtyType.ProtoReflect.Descriptor instead.

func (*CtyType) GetType added in v0.4.2

func (x *CtyType) GetType() *Cty

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 CtyValue

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

Forces decoding of the inner Cty as a value

func (*CtyValue) Descriptor deprecated

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

Deprecated: Use CtyValue.ProtoReflect.Descriptor instead.

func (*CtyValue) GetValue added in v0.4.2

func (x *CtyValue) GetValue() *Cty

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

type Cty_Caps struct {
	Caps *Cty_Capsule `protobuf:"bytes,8,opt,name=caps,proto3,oneof"` // DONE
}

type Cty_Capsule added in v0.4.2

type Cty_Capsule struct {

	// Types that are assignable to Data:
	//
	//	*Cty_Capsule_PluginData
	//	*Cty_Capsule_DelayedEval
	Data isCty_Capsule_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*Cty_Capsule) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Cty_Capsule.ProtoReflect.Descriptor instead.

func (*Cty_Capsule) GetData added in v0.4.2

func (m *Cty_Capsule) GetData() isCty_Capsule_Data

func (*Cty_Capsule) GetDelayedEval added in v0.4.2

func (x *Cty_Capsule) GetDelayedEval() *Data

func (*Cty_Capsule) GetPluginData added in v0.4.2

func (x *Cty_Capsule) GetPluginData() *Data

func (*Cty_Capsule) ProtoMessage added in v0.4.2

func (*Cty_Capsule) ProtoMessage()

func (*Cty_Capsule) ProtoReflect added in v0.4.2

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

func (*Cty_Capsule) Reset added in v0.4.2

func (x *Cty_Capsule) Reset()

func (*Cty_Capsule) String added in v0.4.2

func (x *Cty_Capsule) String() string

type Cty_Capsule_DelayedEval added in v0.4.2

type Cty_Capsule_DelayedEval struct {
	DelayedEval *Data `protobuf:"bytes,2,opt,name=delayedEval,proto3,oneof"`
}

type Cty_Capsule_PluginData added in v0.4.2

type Cty_Capsule_PluginData struct {
	PluginData *Data `protobuf:"bytes,1,opt,name=pluginData,proto3,oneof"`
}

type Cty_Dyn added in v0.4.2

type Cty_Dyn struct {
	Dyn *Cty_Dynamic `protobuf:"bytes,10,opt,name=dyn,proto3,oneof"` // DONE
}

type Cty_Dynamic added in v0.4.2

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

func (*Cty_Dynamic) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Cty_Dynamic.ProtoReflect.Descriptor instead.

func (*Cty_Dynamic) ProtoMessage added in v0.4.2

func (*Cty_Dynamic) ProtoMessage()

func (*Cty_Dynamic) ProtoReflect added in v0.4.2

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

func (*Cty_Dynamic) Reset added in v0.4.2

func (x *Cty_Dynamic) Reset()

func (*Cty_Dynamic) String added in v0.4.2

func (x *Cty_Dynamic) String() string

type Cty_List added in v0.4.2

type Cty_List struct {
	List *Cty_Sequence `protobuf:"bytes,4,opt,name=list,proto3,oneof"` // DONE
}

type Cty_Map added in v0.4.2

type Cty_Map struct {
	Map *Cty_Mapping `protobuf:"bytes,3,opt,name=map,proto3,oneof"` // DONE
}

type Cty_Mapping added in v0.4.2

type Cty_Mapping struct {
	Data map[string]*Cty `` /* 149-byte string literal not displayed */
	// Original map is empty, element was added to preserve the type
	OnlyType bool `protobuf:"varint,2,opt,name=onlyType,proto3" json:"onlyType,omitempty"`
	// contains filtered or unexported fields
}

func (*Cty_Mapping) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Cty_Mapping.ProtoReflect.Descriptor instead.

func (*Cty_Mapping) GetData added in v0.4.2

func (x *Cty_Mapping) GetData() map[string]*Cty

func (*Cty_Mapping) GetOnlyType added in v0.4.2

func (x *Cty_Mapping) GetOnlyType() bool

func (*Cty_Mapping) ProtoMessage added in v0.4.2

func (*Cty_Mapping) ProtoMessage()

func (*Cty_Mapping) ProtoReflect added in v0.4.2

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

func (*Cty_Mapping) Reset added in v0.4.2

func (x *Cty_Mapping) Reset()

func (*Cty_Mapping) String added in v0.4.2

func (x *Cty_Mapping) String() string

type Cty_Null added in v0.4.2

type Cty_Null struct {
	// Specifies type of null value
	Null *CtyType `protobuf:"bytes,7,opt,name=null,proto3,oneof"` // DONE
}

type Cty_Object added in v0.4.2

type Cty_Object struct {
	Data map[string]*Cty_Object_Attr `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Cty_Object) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Cty_Object.ProtoReflect.Descriptor instead.

func (*Cty_Object) GetData added in v0.4.2

func (x *Cty_Object) GetData() map[string]*Cty_Object_Attr

func (*Cty_Object) ProtoMessage added in v0.4.2

func (*Cty_Object) ProtoMessage()

func (*Cty_Object) ProtoReflect added in v0.4.2

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

func (*Cty_Object) Reset added in v0.4.2

func (x *Cty_Object) Reset()

func (*Cty_Object) String added in v0.4.2

func (x *Cty_Object) String() string

type Cty_Object_ added in v0.4.2

type Cty_Object_ struct {
	Object *Cty_Object `protobuf:"bytes,2,opt,name=object,proto3,oneof"` // DONE
}

type Cty_Object_Attr added in v0.4.2

type Cty_Object_Attr struct {
	Data     *Cty `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Optional bool `protobuf:"varint,2,opt,name=optional,proto3" json:"optional,omitempty"`
	// contains filtered or unexported fields
}

func (*Cty_Object_Attr) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Cty_Object_Attr.ProtoReflect.Descriptor instead.

func (*Cty_Object_Attr) GetData added in v0.4.2

func (x *Cty_Object_Attr) GetData() *Cty

func (*Cty_Object_Attr) GetOptional added in v0.4.2

func (x *Cty_Object_Attr) GetOptional() bool

func (*Cty_Object_Attr) ProtoMessage added in v0.4.2

func (*Cty_Object_Attr) ProtoMessage()

func (*Cty_Object_Attr) ProtoReflect added in v0.4.2

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

func (*Cty_Object_Attr) Reset added in v0.4.2

func (x *Cty_Object_Attr) Reset()

func (*Cty_Object_Attr) String added in v0.4.2

func (x *Cty_Object_Attr) String() string

type Cty_Primitive added in v0.4.2

type Cty_Primitive struct {

	// Types that are assignable to Data:
	//
	//	*Cty_Primitive_Str
	//	*Cty_Primitive_Num
	//	*Cty_Primitive_Bln
	Data isCty_Primitive_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*Cty_Primitive) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Cty_Primitive.ProtoReflect.Descriptor instead.

func (*Cty_Primitive) GetBln added in v0.4.2

func (x *Cty_Primitive) GetBln() bool

func (*Cty_Primitive) GetData added in v0.4.2

func (m *Cty_Primitive) GetData() isCty_Primitive_Data

func (*Cty_Primitive) GetNum added in v0.4.2

func (x *Cty_Primitive) GetNum() []byte

func (*Cty_Primitive) GetStr added in v0.4.2

func (x *Cty_Primitive) GetStr() string

func (*Cty_Primitive) ProtoMessage added in v0.4.2

func (*Cty_Primitive) ProtoMessage()

func (*Cty_Primitive) ProtoReflect added in v0.4.2

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

func (*Cty_Primitive) Reset added in v0.4.2

func (x *Cty_Primitive) Reset()

func (*Cty_Primitive) String added in v0.4.2

func (x *Cty_Primitive) String() string

type Cty_Primitive_ added in v0.4.2

type Cty_Primitive_ struct {
	Primitive *Cty_Primitive `protobuf:"bytes,1,opt,name=primitive,proto3,oneof"` // DONE
}

type Cty_Primitive_Bln added in v0.4.2

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

type Cty_Primitive_Num added in v0.4.2

type Cty_Primitive_Num struct {
	// empty bytes used when encoding the type
	Num []byte `protobuf:"bytes,2,opt,name=num,proto3,oneof"`
}

type Cty_Primitive_Str added in v0.4.2

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

type Cty_Sequence added in v0.4.2

type Cty_Sequence struct {
	Data []*Cty `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// Original sequence is empty, element added to preserve the type (unless it's a tuple)
	OnlyType bool `protobuf:"varint,2,opt,name=onlyType,proto3" json:"onlyType,omitempty"`
	// contains filtered or unexported fields
}

func (*Cty_Sequence) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Cty_Sequence.ProtoReflect.Descriptor instead.

func (*Cty_Sequence) GetData added in v0.4.2

func (x *Cty_Sequence) GetData() []*Cty

func (*Cty_Sequence) GetOnlyType added in v0.4.2

func (x *Cty_Sequence) GetOnlyType() bool

func (*Cty_Sequence) ProtoMessage added in v0.4.2

func (*Cty_Sequence) ProtoMessage()

func (*Cty_Sequence) ProtoReflect added in v0.4.2

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

func (*Cty_Sequence) Reset added in v0.4.2

func (x *Cty_Sequence) Reset()

func (*Cty_Sequence) String added in v0.4.2

func (x *Cty_Sequence) String() string

type Cty_Set added in v0.4.2

type Cty_Set struct {
	Set *Cty_Sequence `protobuf:"bytes,5,opt,name=set,proto3,oneof"` // DONE
}

type Cty_Tuple added in v0.4.2

type Cty_Tuple struct {
	Tuple *Cty_Sequence `protobuf:"bytes,6,opt,name=tuple,proto3,oneof"` // DONE
}

type Cty_Unknown added in v0.4.2

type Cty_Unknown struct {
	// Specifies type of the unknown value
	Unknown *CtyType `protobuf:"bytes,9,opt,name=unknown,proto3,oneof"` // DONE
}

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

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

func (*Data) GetStringVal

func (x *Data) GetStringVal() string

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   *Spec    `protobuf:"bytes,3,opt,name=args,proto3" json:"args,omitempty"`
	Config *Spec    `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
	Doc    string   `protobuf:"bytes,5,opt,name=doc,proto3" json:"doc,omitempty"`
	Tags   []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,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() *Spec

func (*DataSourceSchema) GetConfig

func (x *DataSourceSchema) GetConfig() *Spec

func (*DataSourceSchema) GetDoc added in v0.4.2

func (x *DataSourceSchema) GetDoc() string

func (*DataSourceSchema) GetTags added in v0.4.2

func (x *DataSourceSchema) GetTags() []string

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 bool `protobuf:"varint,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 float64 `protobuf:"fixed64,2,opt,name=number_val,json=numberVal,proto3,oneof"`
}

type Data_StringVal

type Data_StringVal struct {
	StringVal string `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 KeyForObjectSpec added in v0.4.2

type KeyForObjectSpec struct {
	Spec *Spec  `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
	Key  string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyForObjectSpec) Descriptor deprecated added in v0.4.2

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

Deprecated: Use KeyForObjectSpec.ProtoReflect.Descriptor instead.

func (*KeyForObjectSpec) GetKey added in v0.4.2

func (x *KeyForObjectSpec) GetKey() string

func (*KeyForObjectSpec) GetSpec added in v0.4.2

func (x *KeyForObjectSpec) GetSpec() *Spec

func (*KeyForObjectSpec) ProtoMessage added in v0.4.2

func (*KeyForObjectSpec) ProtoMessage()

func (*KeyForObjectSpec) ProtoReflect added in v0.4.2

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

func (*KeyForObjectSpec) Reset added in v0.4.2

func (x *KeyForObjectSpec) Reset()

func (*KeyForObjectSpec) String added in v0.4.2

func (x *KeyForObjectSpec) String() string

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

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

func (*ObjDumpSpec) Descriptor deprecated added in v0.4.2

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

Deprecated: Use ObjDumpSpec.ProtoReflect.Descriptor instead.

func (*ObjDumpSpec) GetDoc added in v0.4.2

func (x *ObjDumpSpec) GetDoc() string

func (*ObjDumpSpec) ProtoMessage added in v0.4.2

func (*ObjDumpSpec) ProtoMessage()

func (*ObjDumpSpec) ProtoReflect added in v0.4.2

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

func (*ObjDumpSpec) Reset added in v0.4.2

func (x *ObjDumpSpec) Reset()

func (*ObjDumpSpec) String added in v0.4.2

func (x *ObjDumpSpec) String() string

type ObjectSpec added in v0.4.2

type ObjectSpec struct {
	Specs []*ObjectSpec_ObjectSpecChild `protobuf:"bytes,1,rep,name=specs,proto3" json:"specs,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectSpec) Descriptor deprecated added in v0.4.2

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

Deprecated: Use ObjectSpec.ProtoReflect.Descriptor instead.

func (*ObjectSpec) GetSpecs added in v0.4.2

func (x *ObjectSpec) GetSpecs() []*ObjectSpec_ObjectSpecChild

func (*ObjectSpec) ProtoMessage added in v0.4.2

func (*ObjectSpec) ProtoMessage()

func (*ObjectSpec) ProtoReflect added in v0.4.2

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

func (*ObjectSpec) Reset added in v0.4.2

func (x *ObjectSpec) Reset()

func (*ObjectSpec) String added in v0.4.2

func (x *ObjectSpec) String() string

type ObjectSpec_ObjectSpecChild added in v0.4.2

type ObjectSpec_ObjectSpecChild struct {

	// Types that are assignable to Data:
	//
	//	*ObjectSpec_ObjectSpecChild_Attr
	//	*ObjectSpec_ObjectSpecChild_Block
	//	*ObjectSpec_ObjectSpecChild_Named
	Data isObjectSpec_ObjectSpecChild_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*ObjectSpec_ObjectSpecChild) Descriptor deprecated added in v0.4.2

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

Deprecated: Use ObjectSpec_ObjectSpecChild.ProtoReflect.Descriptor instead.

func (*ObjectSpec_ObjectSpecChild) GetAttr added in v0.4.2

func (x *ObjectSpec_ObjectSpecChild) GetAttr() *AttrSpec

func (*ObjectSpec_ObjectSpecChild) GetBlock added in v0.4.2

func (x *ObjectSpec_ObjectSpecChild) GetBlock() *BlockSpec

func (*ObjectSpec_ObjectSpecChild) GetData added in v0.4.2

func (m *ObjectSpec_ObjectSpecChild) GetData() isObjectSpec_ObjectSpecChild_Data

func (*ObjectSpec_ObjectSpecChild) GetNamed added in v0.4.2

func (*ObjectSpec_ObjectSpecChild) ProtoMessage added in v0.4.2

func (*ObjectSpec_ObjectSpecChild) ProtoMessage()

func (*ObjectSpec_ObjectSpecChild) ProtoReflect added in v0.4.2

func (*ObjectSpec_ObjectSpecChild) Reset added in v0.4.2

func (x *ObjectSpec_ObjectSpecChild) Reset()

func (*ObjectSpec_ObjectSpecChild) String added in v0.4.2

func (x *ObjectSpec_ObjectSpecChild) String() string

type ObjectSpec_ObjectSpecChild_Attr added in v0.4.2

type ObjectSpec_ObjectSpecChild_Attr struct {
	Attr *AttrSpec `protobuf:"bytes,1,opt,name=attr,proto3,oneof"`
}

type ObjectSpec_ObjectSpecChild_Block added in v0.4.2

type ObjectSpec_ObjectSpecChild_Block struct {
	Block *BlockSpec `protobuf:"bytes,2,opt,name=block,proto3,oneof"`
}

type ObjectSpec_ObjectSpecChild_Named added in v0.4.2

type ObjectSpec_ObjectSpecChild_Named struct {
	Named *KeyForObjectSpec `protobuf:"bytes,3,opt,name=named,proto3,oneof"`
}

type OpaqueSpec added in v0.4.2

type OpaqueSpec struct {
	Spec *HclSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
	Doc  string   `protobuf:"bytes,2,opt,name=doc,proto3" json:"doc,omitempty"`
	// contains filtered or unexported fields
}

func (*OpaqueSpec) Descriptor deprecated added in v0.4.2

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

Deprecated: Use OpaqueSpec.ProtoReflect.Descriptor instead.

func (*OpaqueSpec) GetDoc added in v0.4.2

func (x *OpaqueSpec) GetDoc() string

func (*OpaqueSpec) GetSpec added in v0.4.2

func (x *OpaqueSpec) GetSpec() *HclSpec

func (*OpaqueSpec) ProtoMessage added in v0.4.2

func (*OpaqueSpec) ProtoMessage()

func (*OpaqueSpec) ProtoReflect added in v0.4.2

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

func (*OpaqueSpec) Reset added in v0.4.2

func (x *OpaqueSpec) Reset()

func (*OpaqueSpec) String added in v0.4.2

func (x *OpaqueSpec) String() string

type OutputFormat added in v0.4.2

type OutputFormat int32
const (
	OutputFormat_OUTPUT_FORMAT_UNSPECIFIED OutputFormat = 0
	OutputFormat_OUTPUT_FORMAT_MD          OutputFormat = 1
	OutputFormat_OUTPUT_FORMAT_HTML        OutputFormat = 2
	OutputFormat_OUTPUT_FORMAT_PDF         OutputFormat = 3
)

func (OutputFormat) Descriptor added in v0.4.2

func (OutputFormat) Enum added in v0.4.2

func (x OutputFormat) Enum() *OutputFormat

func (OutputFormat) EnumDescriptor deprecated added in v0.4.2

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

Deprecated: Use OutputFormat.Descriptor instead.

func (OutputFormat) Number added in v0.4.2

func (OutputFormat) String added in v0.4.2

func (x OutputFormat) String() string

func (OutputFormat) Type added in v0.4.2

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)
	Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, 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)
	Publish(context.Context, *PublishRequest) (*PublishResponse, 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 PublishRequest added in v0.4.2

type PublishRequest struct {
	Publisher   string       `protobuf:"bytes,1,opt,name=publisher,proto3" json:"publisher,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"`
	Format      OutputFormat `protobuf:"varint,5,opt,name=format,proto3,enum=pluginapi.v1.OutputFormat" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishRequest) Descriptor deprecated added in v0.4.2

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

Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.

func (*PublishRequest) GetArgs added in v0.4.2

func (x *PublishRequest) GetArgs() *CtyValue

func (*PublishRequest) GetConfig added in v0.4.2

func (x *PublishRequest) GetConfig() *CtyValue

func (*PublishRequest) GetDataContext added in v0.4.2

func (x *PublishRequest) GetDataContext() *MapData

func (*PublishRequest) GetFormat added in v0.4.2

func (x *PublishRequest) GetFormat() OutputFormat

func (*PublishRequest) GetPublisher added in v0.4.2

func (x *PublishRequest) GetPublisher() string

func (*PublishRequest) ProtoMessage added in v0.4.2

func (*PublishRequest) ProtoMessage()

func (*PublishRequest) ProtoReflect added in v0.4.2

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

func (*PublishRequest) Reset added in v0.4.2

func (x *PublishRequest) Reset()

func (*PublishRequest) String added in v0.4.2

func (x *PublishRequest) String() string

type PublishResponse added in v0.4.2

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

func (*PublishResponse) Descriptor deprecated added in v0.4.2

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

Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.

func (*PublishResponse) GetDiagnostics added in v0.4.2

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

func (*PublishResponse) ProtoMessage added in v0.4.2

func (*PublishResponse) ProtoMessage()

func (*PublishResponse) ProtoReflect added in v0.4.2

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

func (*PublishResponse) Reset added in v0.4.2

func (x *PublishResponse) Reset()

func (*PublishResponse) String added in v0.4.2

func (x *PublishResponse) String() string

type PublisherSchema added in v0.4.2

type PublisherSchema struct {
	Args           *Spec          `protobuf:"bytes,1,opt,name=args,proto3" json:"args,omitempty"`
	Config         *Spec          `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	Doc            string         `protobuf:"bytes,3,opt,name=doc,proto3" json:"doc,omitempty"`
	Tags           []string       `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
	AllowedFormats []OutputFormat `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublisherSchema) Descriptor deprecated added in v0.4.2

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

Deprecated: Use PublisherSchema.ProtoReflect.Descriptor instead.

func (*PublisherSchema) GetAllowedFormats added in v0.4.2

func (x *PublisherSchema) GetAllowedFormats() []OutputFormat

func (*PublisherSchema) GetArgs added in v0.4.2

func (x *PublisherSchema) GetArgs() *Spec

func (*PublisherSchema) GetConfig added in v0.4.2

func (x *PublisherSchema) GetConfig() *Spec

func (*PublisherSchema) GetDoc added in v0.4.2

func (x *PublisherSchema) GetDoc() string

func (*PublisherSchema) GetTags added in v0.4.2

func (x *PublisherSchema) GetTags() []string

func (*PublisherSchema) ProtoMessage added in v0.4.2

func (*PublisherSchema) ProtoMessage()

func (*PublisherSchema) ProtoReflect added in v0.4.2

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

func (*PublisherSchema) Reset added in v0.4.2

func (x *PublisherSchema) Reset()

func (*PublisherSchema) String added in v0.4.2

func (x *PublisherSchema) 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 */
	Publishers       map[string]*PublisherSchema       `` /* 161-byte string literal not displayed */
	Doc              string                            `protobuf:"bytes,5,opt,name=doc,proto3" json:"doc,omitempty"`
	Tags             []string                          `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
	// 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) GetDoc added in v0.4.2

func (x *Schema) GetDoc() string

func (*Schema) GetName

func (x *Schema) GetName() string

func (*Schema) GetPublishers added in v0.4.2

func (x *Schema) GetPublishers() map[string]*PublisherSchema

func (*Schema) GetTags added in v0.4.2

func (x *Schema) GetTags() []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 Spec added in v0.4.2

type Spec struct {

	// Types that are assignable to Data:
	//
	//	*Spec_Attr
	//	*Spec_Block
	//	*Spec_ObjSpec
	//	*Spec_ObjDump
	//	*Spec_Opaque
	Data isSpec_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*Spec) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Spec.ProtoReflect.Descriptor instead.

func (*Spec) GetAttr added in v0.4.2

func (x *Spec) GetAttr() *AttrSpec

func (*Spec) GetBlock added in v0.4.2

func (x *Spec) GetBlock() *BlockSpec

func (*Spec) GetData added in v0.4.2

func (m *Spec) GetData() isSpec_Data

func (*Spec) GetObjDump added in v0.4.2

func (x *Spec) GetObjDump() *ObjDumpSpec

func (*Spec) GetObjSpec added in v0.4.2

func (x *Spec) GetObjSpec() *ObjectSpec

func (*Spec) GetOpaque added in v0.4.2

func (x *Spec) GetOpaque() *OpaqueSpec

func (*Spec) ProtoMessage added in v0.4.2

func (*Spec) ProtoMessage()

func (*Spec) ProtoReflect added in v0.4.2

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

func (*Spec) Reset added in v0.4.2

func (x *Spec) Reset()

func (*Spec) String added in v0.4.2

func (x *Spec) String() string

type Spec_Attr added in v0.4.2

type Spec_Attr struct {
	Attr *AttrSpec `protobuf:"bytes,1,opt,name=attr,proto3,oneof"`
}

type Spec_Block added in v0.4.2

type Spec_Block struct {
	Block *BlockSpec `protobuf:"bytes,2,opt,name=block,proto3,oneof"`
}

type Spec_ObjDump added in v0.4.2

type Spec_ObjDump struct {
	ObjDump *ObjDumpSpec `protobuf:"bytes,4,opt,name=obj_dump,json=objDump,proto3,oneof"`
}

type Spec_ObjSpec added in v0.4.2

type Spec_ObjSpec struct {
	ObjSpec *ObjectSpec `protobuf:"bytes,3,opt,name=obj_spec,json=objSpec,proto3,oneof"`
}

type Spec_Opaque added in v0.4.2

type Spec_Opaque struct {
	Opaque *OpaqueSpec `protobuf:"bytes,5,opt,name=opaque,proto3,oneof"`
}

type UnimplementedPluginServiceServer

type UnimplementedPluginServiceServer struct {
}

UnimplementedPluginServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPluginServiceServer) GetSchema

func (UnimplementedPluginServiceServer) ProvideContent

func (UnimplementedPluginServiceServer) Publish added in v0.4.2

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