Documentation ¶
Index ¶
- Variables
- func RegisterProviderServer(s grpc.ServiceRegistrar, srv ProviderServer)
- type Capabilities
- type Capabilities_Request
- type Capabilities_Response
- func (*Capabilities_Response) Descriptor() ([]byte, []int)deprecated
- func (x *Capabilities_Response) GetDiagnostics() []*Diagnostic
- func (x *Capabilities_Response) GetListDataSources() []string
- func (x *Capabilities_Response) GetReadDataSources() []string
- func (x *Capabilities_Response) GetResources() []string
- func (x *Capabilities_Response) GetServerCapabilities() *ServerCapabilities
- func (*Capabilities_Response) ProtoMessage()
- func (x *Capabilities_Response) ProtoReflect() protoreflect.Message
- func (x *Capabilities_Response) Reset()
- func (x *Capabilities_Response) String() string
- type Configure
- type Configure_Request
- type Configure_Response
- func (*Configure_Response) Descriptor() ([]byte, []int)deprecated
- func (x *Configure_Response) GetDiagnostics() []*Diagnostic
- func (*Configure_Response) ProtoMessage()
- func (x *Configure_Response) ProtoReflect() protoreflect.Message
- func (x *Configure_Response) Reset()
- func (x *Configure_Response) String() string
- type CreateResource
- type CreateResource_Request
- func (*CreateResource_Request) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResource_Request) GetData() []byte
- func (x *CreateResource_Request) GetName() string
- func (x *CreateResource_Request) GetScope() Scope
- func (*CreateResource_Request) ProtoMessage()
- func (x *CreateResource_Request) ProtoReflect() protoreflect.Message
- func (x *CreateResource_Request) Reset()
- func (x *CreateResource_Request) String() string
- type CreateResource_Response
- func (*CreateResource_Response) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResource_Response) GetData() []byte
- func (x *CreateResource_Response) GetDiagnostics() []*Diagnostic
- func (*CreateResource_Response) ProtoMessage()
- func (x *CreateResource_Response) ProtoReflect() protoreflect.Message
- func (x *CreateResource_Response) Reset()
- func (x *CreateResource_Response) String() string
- type Diagnostic
- func (*Diagnostic) Descriptor() ([]byte, []int)deprecated
- func (x *Diagnostic) GetContext() string
- func (x *Diagnostic) GetDetail() string
- func (x *Diagnostic) GetSeverity() Severity
- func (*Diagnostic) ProtoMessage()
- func (x *Diagnostic) ProtoReflect() protoreflect.Message
- func (x *Diagnostic) Reset()
- func (x *Diagnostic) String() string
- type GVK
- type LabelSelector
- func (*LabelSelector) Descriptor() ([]byte, []int)deprecated
- func (x *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement
- func (x *LabelSelector) GetMatchLabels() map[string]string
- func (*LabelSelector) ProtoMessage()
- func (x *LabelSelector) ProtoReflect() protoreflect.Message
- func (x *LabelSelector) Reset()
- func (x *LabelSelector) String() string
- type LabelSelectorRequirement
- func (*LabelSelectorRequirement) Descriptor() ([]byte, []int)deprecated
- func (x *LabelSelectorRequirement) GetKey() string
- func (x *LabelSelectorRequirement) GetOperator() string
- func (x *LabelSelectorRequirement) GetValues() []string
- func (*LabelSelectorRequirement) ProtoMessage()
- func (x *LabelSelectorRequirement) ProtoReflect() protoreflect.Message
- func (x *LabelSelectorRequirement) Reset()
- func (x *LabelSelectorRequirement) String() string
- type ListDataSource
- type ListDataSource_Request
- func (*ListDataSource_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ListDataSource_Request) GetData() []byte
- func (x *ListDataSource_Request) GetLabelSelector() *LabelSelector
- func (x *ListDataSource_Request) GetName() string
- func (x *ListDataSource_Request) GetScope() Scope
- func (*ListDataSource_Request) ProtoMessage()
- func (x *ListDataSource_Request) ProtoReflect() protoreflect.Message
- func (x *ListDataSource_Request) Reset()
- func (x *ListDataSource_Request) String() string
- type ListDataSource_Response
- func (*ListDataSource_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ListDataSource_Response) GetData() []byte
- func (x *ListDataSource_Response) GetDiagnostics() []*Diagnostic
- func (*ListDataSource_Response) ProtoMessage()
- func (x *ListDataSource_Response) ProtoReflect() protoreflect.Message
- func (x *ListDataSource_Response) Reset()
- func (x *ListDataSource_Response) String() string
- type NSN
- type ProviderClient
- type ProviderServer
- type ReadDataSource
- type ReadDataSource_Request
- func (*ReadDataSource_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ReadDataSource_Request) GetData() []byte
- func (x *ReadDataSource_Request) GetName() string
- func (x *ReadDataSource_Request) GetScope() Scope
- func (*ReadDataSource_Request) ProtoMessage()
- func (x *ReadDataSource_Request) ProtoReflect() protoreflect.Message
- func (x *ReadDataSource_Request) Reset()
- func (x *ReadDataSource_Request) String() string
- type ReadDataSource_Response
- func (*ReadDataSource_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ReadDataSource_Response) GetData() []byte
- func (x *ReadDataSource_Response) GetDiagnostics() []*Diagnostic
- func (*ReadDataSource_Response) ProtoMessage()
- func (x *ReadDataSource_Response) ProtoReflect() protoreflect.Message
- func (x *ReadDataSource_Response) Reset()
- func (x *ReadDataSource_Response) String() string
- type ReadResource
- type ReadResource_Request
- func (*ReadResource_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ReadResource_Request) GetData() []byte
- func (x *ReadResource_Request) GetName() string
- func (x *ReadResource_Request) GetScope() Scope
- func (*ReadResource_Request) ProtoMessage()
- func (x *ReadResource_Request) ProtoReflect() protoreflect.Message
- func (x *ReadResource_Request) Reset()
- func (x *ReadResource_Request) String() string
- type ReadResource_Response
- func (*ReadResource_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ReadResource_Response) GetData() []byte
- func (x *ReadResource_Response) GetDiagnostics() []*Diagnostic
- func (*ReadResource_Response) ProtoMessage()
- func (x *ReadResource_Response) ProtoReflect() protoreflect.Message
- func (x *ReadResource_Response) Reset()
- func (x *ReadResource_Response) String() string
- type Scope
- type ServerCapabilities
- type Severity
- type StopProvider
- type StopProvider_Request
- type StopProvider_Response
- func (*StopProvider_Response) Descriptor() ([]byte, []int)deprecated
- func (x *StopProvider_Response) GetDiagnostics() []*Diagnostic
- func (*StopProvider_Response) ProtoMessage()
- func (x *StopProvider_Response) ProtoReflect() protoreflect.Message
- func (x *StopProvider_Response) Reset()
- func (x *StopProvider_Response) String() string
- type UnimplementedProviderServer
- func (UnimplementedProviderServer) Capabilities(context.Context, *Capabilities_Request) (*Capabilities_Response, error)
- func (UnimplementedProviderServer) Configure(context.Context, *Configure_Request) (*Configure_Response, error)
- func (UnimplementedProviderServer) CreateResource(context.Context, *CreateResource_Request) (*CreateResource_Response, error)
- func (UnimplementedProviderServer) ListDataSource(context.Context, *ListDataSource_Request) (*ListDataSource_Response, error)
- func (UnimplementedProviderServer) ReadDataSource(context.Context, *ReadDataSource_Request) (*ReadDataSource_Response, error)
- func (UnimplementedProviderServer) ReadResource(context.Context, *ReadResource_Request) (*ReadResource_Response, error)
- func (UnimplementedProviderServer) StopProvider(context.Context, *StopProvider_Request) (*StopProvider_Response, error)
- type UnsafeProviderServer
Constants ¶
This section is empty.
Variables ¶
var ( Severity_name = map[int32]string{ 0: "UNDEFINED", 1: "ERROR", 2: "WARNING", } Severity_value = map[string]int32{ "UNDEFINED": 0, "ERROR": 1, "WARNING": 2, } )
Enum value maps for Severity.
var ( Scope_name = map[int32]string{ 0: "INVALID", 1: "NAMESPACE", 2: "CLUSTER", } Scope_value = map[string]int32{ "INVALID": 0, "NAMESPACE": 1, "CLUSTER": 2, } )
Enum value maps for Scope.
var File_kfplugin_proto protoreflect.FileDescriptor
var Provider_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kfplugin1.Provider", HandlerType: (*ProviderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Capabilities", Handler: _Provider_Capabilities_Handler, }, { MethodName: "Configure", Handler: _Provider_Configure_Handler, }, { MethodName: "ReadDataSource", Handler: _Provider_ReadDataSource_Handler, }, { MethodName: "ListDataSource", Handler: _Provider_ListDataSource_Handler, }, { MethodName: "ReadResource", Handler: _Provider_ReadResource_Handler, }, { MethodName: "CreateResource", Handler: _Provider_CreateResource_Handler, }, { MethodName: "StopProvider", Handler: _Provider_StopProvider_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "kfplugin.proto", }
Provider_ServiceDesc is the grpc.ServiceDesc for Provider service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProviderServer ¶
func RegisterProviderServer(s grpc.ServiceRegistrar, srv ProviderServer)
Types ¶
type Capabilities ¶
type Capabilities struct {
// contains filtered or unexported fields
}
func (*Capabilities) Descriptor
deprecated
func (*Capabilities) Descriptor() ([]byte, []int)
Deprecated: Use Capabilities.ProtoReflect.Descriptor instead.
func (*Capabilities) ProtoMessage ¶
func (*Capabilities) ProtoMessage()
func (*Capabilities) ProtoReflect ¶
func (x *Capabilities) ProtoReflect() protoreflect.Message
func (*Capabilities) Reset ¶
func (x *Capabilities) Reset()
func (*Capabilities) String ¶
func (x *Capabilities) String() string
type Capabilities_Request ¶
type Capabilities_Request struct {
// contains filtered or unexported fields
}
func (*Capabilities_Request) Descriptor
deprecated
func (*Capabilities_Request) Descriptor() ([]byte, []int)
Deprecated: Use Capabilities_Request.ProtoReflect.Descriptor instead.
func (*Capabilities_Request) ProtoMessage ¶
func (*Capabilities_Request) ProtoMessage()
func (*Capabilities_Request) ProtoReflect ¶
func (x *Capabilities_Request) ProtoReflect() protoreflect.Message
func (*Capabilities_Request) Reset ¶
func (x *Capabilities_Request) Reset()
func (*Capabilities_Request) String ¶
func (x *Capabilities_Request) String() string
type Capabilities_Response ¶
type Capabilities_Response struct { Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` ServerCapabilities *ServerCapabilities `protobuf:"bytes,2,opt,name=serverCapabilities,proto3" json:"serverCapabilities,omitempty"` ReadDataSources []string `protobuf:"bytes,3,rep,name=readDataSources,proto3" json:"readDataSources,omitempty"` ListDataSources []string `protobuf:"bytes,4,rep,name=listDataSources,proto3" json:"listDataSources,omitempty"` Resources []string `protobuf:"bytes,5,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*Capabilities_Response) Descriptor
deprecated
func (*Capabilities_Response) Descriptor() ([]byte, []int)
Deprecated: Use Capabilities_Response.ProtoReflect.Descriptor instead.
func (*Capabilities_Response) GetDiagnostics ¶
func (x *Capabilities_Response) GetDiagnostics() []*Diagnostic
func (*Capabilities_Response) GetListDataSources ¶
func (x *Capabilities_Response) GetListDataSources() []string
func (*Capabilities_Response) GetReadDataSources ¶
func (x *Capabilities_Response) GetReadDataSources() []string
func (*Capabilities_Response) GetResources ¶
func (x *Capabilities_Response) GetResources() []string
func (*Capabilities_Response) GetServerCapabilities ¶
func (x *Capabilities_Response) GetServerCapabilities() *ServerCapabilities
func (*Capabilities_Response) ProtoMessage ¶
func (*Capabilities_Response) ProtoMessage()
func (*Capabilities_Response) ProtoReflect ¶
func (x *Capabilities_Response) ProtoReflect() protoreflect.Message
func (*Capabilities_Response) Reset ¶
func (x *Capabilities_Response) Reset()
func (*Capabilities_Response) String ¶
func (x *Capabilities_Response) String() string
type Configure ¶
type Configure struct {
// contains filtered or unexported fields
}
func (*Configure) Descriptor
deprecated
func (*Configure) ProtoMessage ¶
func (*Configure) ProtoMessage()
func (*Configure) ProtoReflect ¶
func (x *Configure) ProtoReflect() protoreflect.Message
type Configure_Request ¶
type Configure_Request struct { Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*Configure_Request) Descriptor
deprecated
func (*Configure_Request) Descriptor() ([]byte, []int)
Deprecated: Use Configure_Request.ProtoReflect.Descriptor instead.
func (*Configure_Request) GetConfig ¶
func (x *Configure_Request) GetConfig() []byte
func (*Configure_Request) ProtoMessage ¶
func (*Configure_Request) ProtoMessage()
func (*Configure_Request) ProtoReflect ¶
func (x *Configure_Request) ProtoReflect() protoreflect.Message
func (*Configure_Request) Reset ¶
func (x *Configure_Request) Reset()
func (*Configure_Request) String ¶
func (x *Configure_Request) String() string
type Configure_Response ¶
type Configure_Response struct { Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*Configure_Response) Descriptor
deprecated
func (*Configure_Response) Descriptor() ([]byte, []int)
Deprecated: Use Configure_Response.ProtoReflect.Descriptor instead.
func (*Configure_Response) GetDiagnostics ¶
func (x *Configure_Response) GetDiagnostics() []*Diagnostic
func (*Configure_Response) ProtoMessage ¶
func (*Configure_Response) ProtoMessage()
func (*Configure_Response) ProtoReflect ¶
func (x *Configure_Response) ProtoReflect() protoreflect.Message
func (*Configure_Response) Reset ¶
func (x *Configure_Response) Reset()
func (*Configure_Response) String ¶
func (x *Configure_Response) String() string
type CreateResource ¶
type CreateResource struct {
// contains filtered or unexported fields
}
func (*CreateResource) Descriptor
deprecated
func (*CreateResource) Descriptor() ([]byte, []int)
Deprecated: Use CreateResource.ProtoReflect.Descriptor instead.
func (*CreateResource) ProtoMessage ¶
func (*CreateResource) ProtoMessage()
func (*CreateResource) ProtoReflect ¶
func (x *CreateResource) ProtoReflect() protoreflect.Message
func (*CreateResource) Reset ¶
func (x *CreateResource) Reset()
func (*CreateResource) String ¶
func (x *CreateResource) String() string
type CreateResource_Request ¶
type CreateResource_Request struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Scope Scope `protobuf:"varint,2,opt,name=scope,proto3,enum=kfplugin1.Scope" json:"scope,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateResource_Request) Descriptor
deprecated
func (*CreateResource_Request) Descriptor() ([]byte, []int)
Deprecated: Use CreateResource_Request.ProtoReflect.Descriptor instead.
func (*CreateResource_Request) GetData ¶
func (x *CreateResource_Request) GetData() []byte
func (*CreateResource_Request) GetName ¶
func (x *CreateResource_Request) GetName() string
func (*CreateResource_Request) GetScope ¶
func (x *CreateResource_Request) GetScope() Scope
func (*CreateResource_Request) ProtoMessage ¶
func (*CreateResource_Request) ProtoMessage()
func (*CreateResource_Request) ProtoReflect ¶
func (x *CreateResource_Request) ProtoReflect() protoreflect.Message
func (*CreateResource_Request) Reset ¶
func (x *CreateResource_Request) Reset()
func (*CreateResource_Request) String ¶
func (x *CreateResource_Request) String() string
type CreateResource_Response ¶
type CreateResource_Response struct { Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateResource_Response) Descriptor
deprecated
func (*CreateResource_Response) Descriptor() ([]byte, []int)
Deprecated: Use CreateResource_Response.ProtoReflect.Descriptor instead.
func (*CreateResource_Response) GetData ¶
func (x *CreateResource_Response) GetData() []byte
func (*CreateResource_Response) GetDiagnostics ¶
func (x *CreateResource_Response) GetDiagnostics() []*Diagnostic
func (*CreateResource_Response) ProtoMessage ¶
func (*CreateResource_Response) ProtoMessage()
func (*CreateResource_Response) ProtoReflect ¶
func (x *CreateResource_Response) ProtoReflect() protoreflect.Message
func (*CreateResource_Response) Reset ¶
func (x *CreateResource_Response) Reset()
func (*CreateResource_Response) String ¶
func (x *CreateResource_Response) String() string
type Diagnostic ¶
type Diagnostic struct { Severity Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=kfplugin1.Severity" json:"severity,omitempty"` Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"` Context string `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*Diagnostic) Descriptor
deprecated
func (*Diagnostic) Descriptor() ([]byte, []int)
Deprecated: Use Diagnostic.ProtoReflect.Descriptor instead.
func (*Diagnostic) GetContext ¶
func (x *Diagnostic) GetContext() string
func (*Diagnostic) GetDetail ¶
func (x *Diagnostic) GetDetail() string
func (*Diagnostic) GetSeverity ¶
func (x *Diagnostic) GetSeverity() Severity
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 GVK ¶
type GVK struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*GVK) Descriptor
deprecated
func (*GVK) GetVersion ¶
func (*GVK) ProtoMessage ¶
func (*GVK) ProtoMessage()
func (*GVK) ProtoReflect ¶
func (x *GVK) ProtoReflect() protoreflect.Message
type LabelSelector ¶
type LabelSelector struct { // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels // map is equivalent to an element of matchExpressions, whose key field is "key", the // operator is "In", and the values array contains only "value". The requirements are ANDed. // +optional MatchLabels map[string]string `` /* 163-byte string literal not displayed */ // matchExpressions is a list of label selector requirements. The requirements are ANDed. // +optional MatchExpressions []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=matchExpressions,proto3" json:"matchExpressions,omitempty"` // contains filtered or unexported fields }
A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. +structType=atomic
func (*LabelSelector) Descriptor
deprecated
func (*LabelSelector) Descriptor() ([]byte, []int)
Deprecated: Use LabelSelector.ProtoReflect.Descriptor instead.
func (*LabelSelector) GetMatchExpressions ¶
func (x *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement
func (*LabelSelector) GetMatchLabels ¶
func (x *LabelSelector) GetMatchLabels() map[string]string
func (*LabelSelector) ProtoMessage ¶
func (*LabelSelector) ProtoMessage()
func (*LabelSelector) ProtoReflect ¶
func (x *LabelSelector) ProtoReflect() protoreflect.Message
func (*LabelSelector) Reset ¶
func (x *LabelSelector) Reset()
func (*LabelSelector) String ¶
func (x *LabelSelector) String() string
type LabelSelectorRequirement ¶
type LabelSelectorRequirement struct { // key is the label key that the selector applies to. Key *string `protobuf:"bytes,1,opt,name=key,proto3,oneof" json:"key,omitempty"` // operator represents a key's relationship to a set of values. // Valid operators are In, NotIn, Exists and DoesNotExist. Operator *string `protobuf:"bytes,2,opt,name=operator,proto3,oneof" json:"operator,omitempty"` // values is an array of string values. If the operator is In or NotIn, // the values array must be non-empty. If the operator is Exists or DoesNotExist, // the values array must be empty. This array is replaced during a strategic // merge patch. // +optional Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
func (*LabelSelectorRequirement) Descriptor
deprecated
func (*LabelSelectorRequirement) Descriptor() ([]byte, []int)
Deprecated: Use LabelSelectorRequirement.ProtoReflect.Descriptor instead.
func (*LabelSelectorRequirement) GetKey ¶
func (x *LabelSelectorRequirement) GetKey() string
func (*LabelSelectorRequirement) GetOperator ¶
func (x *LabelSelectorRequirement) GetOperator() string
func (*LabelSelectorRequirement) GetValues ¶
func (x *LabelSelectorRequirement) GetValues() []string
func (*LabelSelectorRequirement) ProtoMessage ¶
func (*LabelSelectorRequirement) ProtoMessage()
func (*LabelSelectorRequirement) ProtoReflect ¶
func (x *LabelSelectorRequirement) ProtoReflect() protoreflect.Message
func (*LabelSelectorRequirement) Reset ¶
func (x *LabelSelectorRequirement) Reset()
func (*LabelSelectorRequirement) String ¶
func (x *LabelSelectorRequirement) String() string
type ListDataSource ¶
type ListDataSource struct {
// contains filtered or unexported fields
}
func (*ListDataSource) Descriptor
deprecated
func (*ListDataSource) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSource.ProtoReflect.Descriptor instead.
func (*ListDataSource) ProtoMessage ¶
func (*ListDataSource) ProtoMessage()
func (*ListDataSource) ProtoReflect ¶
func (x *ListDataSource) ProtoReflect() protoreflect.Message
func (*ListDataSource) Reset ¶
func (x *ListDataSource) Reset()
func (*ListDataSource) String ¶
func (x *ListDataSource) String() string
type ListDataSource_Request ¶
type ListDataSource_Request struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Scope Scope `protobuf:"varint,2,opt,name=scope,proto3,enum=kfplugin1.Scope" json:"scope,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` LabelSelector *LabelSelector `protobuf:"bytes,4,opt,name=labelSelector,proto3" json:"labelSelector,omitempty"` // contains filtered or unexported fields }
func (*ListDataSource_Request) Descriptor
deprecated
func (*ListDataSource_Request) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSource_Request.ProtoReflect.Descriptor instead.
func (*ListDataSource_Request) GetData ¶
func (x *ListDataSource_Request) GetData() []byte
func (*ListDataSource_Request) GetLabelSelector ¶
func (x *ListDataSource_Request) GetLabelSelector() *LabelSelector
func (*ListDataSource_Request) GetName ¶
func (x *ListDataSource_Request) GetName() string
func (*ListDataSource_Request) GetScope ¶
func (x *ListDataSource_Request) GetScope() Scope
func (*ListDataSource_Request) ProtoMessage ¶
func (*ListDataSource_Request) ProtoMessage()
func (*ListDataSource_Request) ProtoReflect ¶
func (x *ListDataSource_Request) ProtoReflect() protoreflect.Message
func (*ListDataSource_Request) Reset ¶
func (x *ListDataSource_Request) Reset()
func (*ListDataSource_Request) String ¶
func (x *ListDataSource_Request) String() string
type ListDataSource_Response ¶
type ListDataSource_Response struct { Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListDataSource_Response) Descriptor
deprecated
func (*ListDataSource_Response) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSource_Response.ProtoReflect.Descriptor instead.
func (*ListDataSource_Response) GetData ¶
func (x *ListDataSource_Response) GetData() []byte
func (*ListDataSource_Response) GetDiagnostics ¶
func (x *ListDataSource_Response) GetDiagnostics() []*Diagnostic
func (*ListDataSource_Response) ProtoMessage ¶
func (*ListDataSource_Response) ProtoMessage()
func (*ListDataSource_Response) ProtoReflect ¶
func (x *ListDataSource_Response) ProtoReflect() protoreflect.Message
func (*ListDataSource_Response) Reset ¶
func (x *ListDataSource_Response) Reset()
func (*ListDataSource_Response) String ¶
func (x *ListDataSource_Response) String() string
type NSN ¶
type NSN struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*NSN) Descriptor
deprecated
func (*NSN) GetNamespace ¶
func (*NSN) ProtoMessage ¶
func (*NSN) ProtoMessage()
func (*NSN) ProtoReflect ¶
func (x *NSN) ProtoReflect() protoreflect.Message
type ProviderClient ¶
type ProviderClient interface { Capabilities(ctx context.Context, in *Capabilities_Request, opts ...grpc.CallOption) (*Capabilities_Response, error) Configure(ctx context.Context, in *Configure_Request, opts ...grpc.CallOption) (*Configure_Response, error) ReadDataSource(ctx context.Context, in *ReadDataSource_Request, opts ...grpc.CallOption) (*ReadDataSource_Response, error) ListDataSource(ctx context.Context, in *ListDataSource_Request, opts ...grpc.CallOption) (*ListDataSource_Response, error) ReadResource(ctx context.Context, in *ReadResource_Request, opts ...grpc.CallOption) (*ReadResource_Response, error) CreateResource(ctx context.Context, in *CreateResource_Request, opts ...grpc.CallOption) (*CreateResource_Response, error) StopProvider(ctx context.Context, in *StopProvider_Request, opts ...grpc.CallOption) (*StopProvider_Response, error) }
ProviderClient is the client API for Provider 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.
func NewProviderClient ¶
func NewProviderClient(cc grpc.ClientConnInterface) ProviderClient
type ProviderServer ¶
type ProviderServer interface { Capabilities(context.Context, *Capabilities_Request) (*Capabilities_Response, error) Configure(context.Context, *Configure_Request) (*Configure_Response, error) ReadDataSource(context.Context, *ReadDataSource_Request) (*ReadDataSource_Response, error) ListDataSource(context.Context, *ListDataSource_Request) (*ListDataSource_Response, error) ReadResource(context.Context, *ReadResource_Request) (*ReadResource_Response, error) CreateResource(context.Context, *CreateResource_Request) (*CreateResource_Response, error) StopProvider(context.Context, *StopProvider_Request) (*StopProvider_Response, error) // contains filtered or unexported methods }
ProviderServer is the server API for Provider service. All implementations must embed UnimplementedProviderServer for forward compatibility
type ReadDataSource ¶
type ReadDataSource struct {
// contains filtered or unexported fields
}
func (*ReadDataSource) Descriptor
deprecated
func (*ReadDataSource) Descriptor() ([]byte, []int)
Deprecated: Use ReadDataSource.ProtoReflect.Descriptor instead.
func (*ReadDataSource) ProtoMessage ¶
func (*ReadDataSource) ProtoMessage()
func (*ReadDataSource) ProtoReflect ¶
func (x *ReadDataSource) ProtoReflect() protoreflect.Message
func (*ReadDataSource) Reset ¶
func (x *ReadDataSource) Reset()
func (*ReadDataSource) String ¶
func (x *ReadDataSource) String() string
type ReadDataSource_Request ¶
type ReadDataSource_Request struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Scope Scope `protobuf:"varint,2,opt,name=scope,proto3,enum=kfplugin1.Scope" json:"scope,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ReadDataSource_Request) Descriptor
deprecated
func (*ReadDataSource_Request) Descriptor() ([]byte, []int)
Deprecated: Use ReadDataSource_Request.ProtoReflect.Descriptor instead.
func (*ReadDataSource_Request) GetData ¶
func (x *ReadDataSource_Request) GetData() []byte
func (*ReadDataSource_Request) GetName ¶
func (x *ReadDataSource_Request) GetName() string
func (*ReadDataSource_Request) GetScope ¶
func (x *ReadDataSource_Request) GetScope() Scope
func (*ReadDataSource_Request) ProtoMessage ¶
func (*ReadDataSource_Request) ProtoMessage()
func (*ReadDataSource_Request) ProtoReflect ¶
func (x *ReadDataSource_Request) ProtoReflect() protoreflect.Message
func (*ReadDataSource_Request) Reset ¶
func (x *ReadDataSource_Request) Reset()
func (*ReadDataSource_Request) String ¶
func (x *ReadDataSource_Request) String() string
type ReadDataSource_Response ¶
type ReadDataSource_Response struct { Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ReadDataSource_Response) Descriptor
deprecated
func (*ReadDataSource_Response) Descriptor() ([]byte, []int)
Deprecated: Use ReadDataSource_Response.ProtoReflect.Descriptor instead.
func (*ReadDataSource_Response) GetData ¶
func (x *ReadDataSource_Response) GetData() []byte
func (*ReadDataSource_Response) GetDiagnostics ¶
func (x *ReadDataSource_Response) GetDiagnostics() []*Diagnostic
func (*ReadDataSource_Response) ProtoMessage ¶
func (*ReadDataSource_Response) ProtoMessage()
func (*ReadDataSource_Response) ProtoReflect ¶
func (x *ReadDataSource_Response) ProtoReflect() protoreflect.Message
func (*ReadDataSource_Response) Reset ¶
func (x *ReadDataSource_Response) Reset()
func (*ReadDataSource_Response) String ¶
func (x *ReadDataSource_Response) String() string
type ReadResource ¶
type ReadResource struct {
// contains filtered or unexported fields
}
func (*ReadResource) Descriptor
deprecated
func (*ReadResource) Descriptor() ([]byte, []int)
Deprecated: Use ReadResource.ProtoReflect.Descriptor instead.
func (*ReadResource) ProtoMessage ¶
func (*ReadResource) ProtoMessage()
func (*ReadResource) ProtoReflect ¶
func (x *ReadResource) ProtoReflect() protoreflect.Message
func (*ReadResource) Reset ¶
func (x *ReadResource) Reset()
func (*ReadResource) String ¶
func (x *ReadResource) String() string
type ReadResource_Request ¶
type ReadResource_Request struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Scope Scope `protobuf:"varint,2,opt,name=scope,proto3,enum=kfplugin1.Scope" json:"scope,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ReadResource_Request) Descriptor
deprecated
func (*ReadResource_Request) Descriptor() ([]byte, []int)
Deprecated: Use ReadResource_Request.ProtoReflect.Descriptor instead.
func (*ReadResource_Request) GetData ¶
func (x *ReadResource_Request) GetData() []byte
func (*ReadResource_Request) GetName ¶
func (x *ReadResource_Request) GetName() string
func (*ReadResource_Request) GetScope ¶
func (x *ReadResource_Request) GetScope() Scope
func (*ReadResource_Request) ProtoMessage ¶
func (*ReadResource_Request) ProtoMessage()
func (*ReadResource_Request) ProtoReflect ¶
func (x *ReadResource_Request) ProtoReflect() protoreflect.Message
func (*ReadResource_Request) Reset ¶
func (x *ReadResource_Request) Reset()
func (*ReadResource_Request) String ¶
func (x *ReadResource_Request) String() string
type ReadResource_Response ¶
type ReadResource_Response struct { Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ReadResource_Response) Descriptor
deprecated
func (*ReadResource_Response) Descriptor() ([]byte, []int)
Deprecated: Use ReadResource_Response.ProtoReflect.Descriptor instead.
func (*ReadResource_Response) GetData ¶
func (x *ReadResource_Response) GetData() []byte
func (*ReadResource_Response) GetDiagnostics ¶
func (x *ReadResource_Response) GetDiagnostics() []*Diagnostic
func (*ReadResource_Response) ProtoMessage ¶
func (*ReadResource_Response) ProtoMessage()
func (*ReadResource_Response) ProtoReflect ¶
func (x *ReadResource_Response) ProtoReflect() protoreflect.Message
func (*ReadResource_Response) Reset ¶
func (x *ReadResource_Response) Reset()
func (*ReadResource_Response) String ¶
func (x *ReadResource_Response) String() string
type Scope ¶
type Scope int32
func (Scope) Descriptor ¶
func (Scope) Descriptor() protoreflect.EnumDescriptor
func (Scope) EnumDescriptor
deprecated
func (Scope) Number ¶
func (x Scope) Number() protoreflect.EnumNumber
func (Scope) Type ¶
func (Scope) Type() protoreflect.EnumType
type ServerCapabilities ¶
type ServerCapabilities struct {
// contains filtered or unexported fields
}
ServerCapabilities allows providers to communicate additional capabilities
func (*ServerCapabilities) Descriptor
deprecated
func (*ServerCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use ServerCapabilities.ProtoReflect.Descriptor instead.
func (*ServerCapabilities) ProtoMessage ¶
func (*ServerCapabilities) ProtoMessage()
func (*ServerCapabilities) ProtoReflect ¶
func (x *ServerCapabilities) ProtoReflect() protoreflect.Message
func (*ServerCapabilities) Reset ¶
func (x *ServerCapabilities) Reset()
func (*ServerCapabilities) String ¶
func (x *ServerCapabilities) String() string
type Severity ¶
type Severity int32
func (Severity) Descriptor ¶
func (Severity) Descriptor() protoreflect.EnumDescriptor
func (Severity) EnumDescriptor
deprecated
func (Severity) Number ¶
func (x Severity) Number() protoreflect.EnumNumber
func (Severity) Type ¶
func (Severity) Type() protoreflect.EnumType
type StopProvider ¶
type StopProvider struct {
// contains filtered or unexported fields
}
func (*StopProvider) Descriptor
deprecated
func (*StopProvider) Descriptor() ([]byte, []int)
Deprecated: Use StopProvider.ProtoReflect.Descriptor instead.
func (*StopProvider) ProtoMessage ¶
func (*StopProvider) ProtoMessage()
func (*StopProvider) ProtoReflect ¶
func (x *StopProvider) ProtoReflect() protoreflect.Message
func (*StopProvider) Reset ¶
func (x *StopProvider) Reset()
func (*StopProvider) String ¶
func (x *StopProvider) String() string
type StopProvider_Request ¶
type StopProvider_Request struct {
// contains filtered or unexported fields
}
func (*StopProvider_Request) Descriptor
deprecated
func (*StopProvider_Request) Descriptor() ([]byte, []int)
Deprecated: Use StopProvider_Request.ProtoReflect.Descriptor instead.
func (*StopProvider_Request) ProtoMessage ¶
func (*StopProvider_Request) ProtoMessage()
func (*StopProvider_Request) ProtoReflect ¶
func (x *StopProvider_Request) ProtoReflect() protoreflect.Message
func (*StopProvider_Request) Reset ¶
func (x *StopProvider_Request) Reset()
func (*StopProvider_Request) String ¶
func (x *StopProvider_Request) String() string
type StopProvider_Response ¶
type StopProvider_Response struct { Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*StopProvider_Response) Descriptor
deprecated
func (*StopProvider_Response) Descriptor() ([]byte, []int)
Deprecated: Use StopProvider_Response.ProtoReflect.Descriptor instead.
func (*StopProvider_Response) GetDiagnostics ¶
func (x *StopProvider_Response) GetDiagnostics() []*Diagnostic
func (*StopProvider_Response) ProtoMessage ¶
func (*StopProvider_Response) ProtoMessage()
func (*StopProvider_Response) ProtoReflect ¶
func (x *StopProvider_Response) ProtoReflect() protoreflect.Message
func (*StopProvider_Response) Reset ¶
func (x *StopProvider_Response) Reset()
func (*StopProvider_Response) String ¶
func (x *StopProvider_Response) String() string
type UnimplementedProviderServer ¶
type UnimplementedProviderServer struct { }
UnimplementedProviderServer must be embedded to have forward compatible implementations.
func (UnimplementedProviderServer) Capabilities ¶
func (UnimplementedProviderServer) Capabilities(context.Context, *Capabilities_Request) (*Capabilities_Response, error)
func (UnimplementedProviderServer) Configure ¶
func (UnimplementedProviderServer) Configure(context.Context, *Configure_Request) (*Configure_Response, error)
func (UnimplementedProviderServer) CreateResource ¶
func (UnimplementedProviderServer) CreateResource(context.Context, *CreateResource_Request) (*CreateResource_Response, error)
func (UnimplementedProviderServer) ListDataSource ¶
func (UnimplementedProviderServer) ListDataSource(context.Context, *ListDataSource_Request) (*ListDataSource_Response, error)
func (UnimplementedProviderServer) ReadDataSource ¶
func (UnimplementedProviderServer) ReadDataSource(context.Context, *ReadDataSource_Request) (*ReadDataSource_Response, error)
func (UnimplementedProviderServer) ReadResource ¶
func (UnimplementedProviderServer) ReadResource(context.Context, *ReadResource_Request) (*ReadResource_Response, error)
func (UnimplementedProviderServer) StopProvider ¶
func (UnimplementedProviderServer) StopProvider(context.Context, *StopProvider_Request) (*StopProvider_Response, error)
type UnsafeProviderServer ¶
type UnsafeProviderServer interface {
// contains filtered or unexported methods
}
UnsafeProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProviderServer will result in compilation errors.