pluginpb

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginService_Describe_FullMethodName = "/levelrail.plugin.v1.PluginService/Describe"
	PluginService_Health_FullMethodName   = "/levelrail.plugin.v1.PluginService/Health"
)
View Source
const (
	PanelService_PanelData_FullMethodName   = "/levelrail.plugin.v1.PanelService/PanelData"
	PanelService_PanelAction_FullMethodName = "/levelrail.plugin.v1.PanelService/PanelAction"
)
View Source
const (
	DnsProviderService_ListZones_FullMethodName    = "/levelrail.plugin.v1.DnsProviderService/ListZones"
	DnsProviderService_ListRecords_FullMethodName  = "/levelrail.plugin.v1.DnsProviderService/ListRecords"
	DnsProviderService_UpsertRecord_FullMethodName = "/levelrail.plugin.v1.DnsProviderService/UpsertRecord"
	DnsProviderService_DeleteRecord_FullMethodName = "/levelrail.plugin.v1.DnsProviderService/DeleteRecord"
	DnsProviderService_VerifyRecord_FullMethodName = "/levelrail.plugin.v1.DnsProviderService/VerifyRecord"
)
View Source
const (
	NotificationChannelService_Send_FullMethodName = "/levelrail.plugin.v1.NotificationChannelService/Send"
)

Variables

View Source
var DnsProviderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "levelrail.plugin.v1.DnsProviderService",
	HandlerType: (*DnsProviderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListZones",
			Handler:    _DnsProviderService_ListZones_Handler,
		},
		{
			MethodName: "ListRecords",
			Handler:    _DnsProviderService_ListRecords_Handler,
		},
		{
			MethodName: "UpsertRecord",
			Handler:    _DnsProviderService_UpsertRecord_Handler,
		},
		{
			MethodName: "DeleteRecord",
			Handler:    _DnsProviderService_DeleteRecord_Handler,
		},
		{
			MethodName: "VerifyRecord",
			Handler:    _DnsProviderService_VerifyRecord_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/plugin/v1/plugin.proto",
}

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

View Source
var File_proto_plugin_v1_plugin_proto protoreflect.FileDescriptor
View Source
var NotificationChannelService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "levelrail.plugin.v1.NotificationChannelService",
	HandlerType: (*NotificationChannelServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Send",
			Handler:    _NotificationChannelService_Send_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/plugin/v1/plugin.proto",
}

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

View Source
var PanelService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "levelrail.plugin.v1.PanelService",
	HandlerType: (*PanelServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PanelData",
			Handler:    _PanelService_PanelData_Handler,
		},
		{
			MethodName: "PanelAction",
			Handler:    _PanelService_PanelAction_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/plugin/v1/plugin.proto",
}

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

View Source
var PluginService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "levelrail.plugin.v1.PluginService",
	HandlerType: (*PluginServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Describe",
			Handler:    _PluginService_Describe_Handler,
		},
		{
			MethodName: "Health",
			Handler:    _PluginService_Health_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/plugin/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 RegisterDnsProviderServiceServer

func RegisterDnsProviderServiceServer(s grpc.ServiceRegistrar, srv DnsProviderServiceServer)

func RegisterNotificationChannelServiceServer

func RegisterNotificationChannelServiceServer(s grpc.ServiceRegistrar, srv NotificationChannelServiceServer)

func RegisterPanelServiceServer

func RegisterPanelServiceServer(s grpc.ServiceRegistrar, srv PanelServiceServer)

func RegisterPluginServiceServer

func RegisterPluginServiceServer(s grpc.ServiceRegistrar, srv PluginServiceServer)

Types

type DeleteRecordRequest

type DeleteRecordRequest struct {
	Zone       string     `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,omitempty"`
	Record     *DnsRecord `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"`
	ConfigJson string     `protobuf:"bytes,3,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"`
	Secret     string     `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRecordRequest) Descriptor deprecated

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

Deprecated: Use DeleteRecordRequest.ProtoReflect.Descriptor instead.

func (*DeleteRecordRequest) GetConfigJson

func (x *DeleteRecordRequest) GetConfigJson() string

func (*DeleteRecordRequest) GetRecord

func (x *DeleteRecordRequest) GetRecord() *DnsRecord

func (*DeleteRecordRequest) GetSecret

func (x *DeleteRecordRequest) GetSecret() string

func (*DeleteRecordRequest) GetZone

func (x *DeleteRecordRequest) GetZone() string

func (*DeleteRecordRequest) ProtoMessage

func (*DeleteRecordRequest) ProtoMessage()

func (*DeleteRecordRequest) ProtoReflect

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

func (*DeleteRecordRequest) Reset

func (x *DeleteRecordRequest) Reset()

func (*DeleteRecordRequest) String

func (x *DeleteRecordRequest) String() string

type DeleteRecordResponse

type DeleteRecordResponse struct {
	Outcome *DnsOutcome `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRecordResponse) Descriptor deprecated

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

Deprecated: Use DeleteRecordResponse.ProtoReflect.Descriptor instead.

func (*DeleteRecordResponse) GetOutcome

func (x *DeleteRecordResponse) GetOutcome() *DnsOutcome

func (*DeleteRecordResponse) ProtoMessage

func (*DeleteRecordResponse) ProtoMessage()

func (*DeleteRecordResponse) ProtoReflect

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

func (*DeleteRecordResponse) Reset

func (x *DeleteRecordResponse) Reset()

func (*DeleteRecordResponse) String

func (x *DeleteRecordResponse) String() string

type DescribeRequest

type DescribeRequest struct {
	HostContractVersions []uint32 `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DescribeRequest) Descriptor deprecated

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

Deprecated: Use DescribeRequest.ProtoReflect.Descriptor instead.

func (*DescribeRequest) GetHostContractVersions

func (x *DescribeRequest) GetHostContractVersions() []uint32

func (*DescribeRequest) ProtoMessage

func (*DescribeRequest) ProtoMessage()

func (*DescribeRequest) ProtoReflect

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

func (*DescribeRequest) Reset

func (x *DescribeRequest) Reset()

func (*DescribeRequest) String

func (x *DescribeRequest) String() string

type DescribeResponse

type DescribeResponse struct {
	ContractVersion uint32 `protobuf:"varint,1,opt,name=contract_version,json=contractVersion,proto3" json:"contract_version,omitempty"`
	Name            string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Version         string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// Extension kind, for example "notification_channel".
	Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
	// Abilities the plugin asks for, in the platform ability vocabulary.
	RequestedAbilities []string `protobuf:"bytes,5,rep,name=requested_abilities,json=requestedAbilities,proto3" json:"requested_abilities,omitempty"`
	// JSON Schema (as text) for the plugin's own non-secret config.
	ConfigSchema string `protobuf:"bytes,6,opt,name=config_schema,json=configSchema,proto3" json:"config_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeResponse) Descriptor deprecated

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

Deprecated: Use DescribeResponse.ProtoReflect.Descriptor instead.

func (*DescribeResponse) GetConfigSchema

func (x *DescribeResponse) GetConfigSchema() string

func (*DescribeResponse) GetContractVersion

func (x *DescribeResponse) GetContractVersion() uint32

func (*DescribeResponse) GetKind

func (x *DescribeResponse) GetKind() string

func (*DescribeResponse) GetName

func (x *DescribeResponse) GetName() string

func (*DescribeResponse) GetRequestedAbilities

func (x *DescribeResponse) GetRequestedAbilities() []string

func (*DescribeResponse) GetVersion

func (x *DescribeResponse) GetVersion() string

func (*DescribeResponse) ProtoMessage

func (*DescribeResponse) ProtoMessage()

func (*DescribeResponse) ProtoReflect

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

func (*DescribeResponse) Reset

func (x *DescribeResponse) Reset()

func (*DescribeResponse) String

func (x *DescribeResponse) String() string

type DnsOutcome

type DnsOutcome struct {
	Ok        bool   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	Detail    string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
	Retryable bool   `protobuf:"varint,3,opt,name=retryable,proto3" json:"retryable,omitempty"`
	// contains filtered or unexported fields
}

func (*DnsOutcome) Descriptor deprecated

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

Deprecated: Use DnsOutcome.ProtoReflect.Descriptor instead.

func (*DnsOutcome) GetDetail

func (x *DnsOutcome) GetDetail() string

func (*DnsOutcome) GetOk

func (x *DnsOutcome) GetOk() bool

func (*DnsOutcome) GetRetryable

func (x *DnsOutcome) GetRetryable() bool

func (*DnsOutcome) ProtoMessage

func (*DnsOutcome) ProtoMessage()

func (*DnsOutcome) ProtoReflect

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

func (*DnsOutcome) Reset

func (x *DnsOutcome) Reset()

func (*DnsOutcome) String

func (x *DnsOutcome) String() string

type DnsProviderServiceClient

type DnsProviderServiceClient interface {
	ListZones(ctx context.Context, in *ListZonesRequest, opts ...grpc.CallOption) (*ListZonesResponse, error)
	ListRecords(ctx context.Context, in *ListRecordsRequest, opts ...grpc.CallOption) (*ListRecordsResponse, error)
	UpsertRecord(ctx context.Context, in *UpsertRecordRequest, opts ...grpc.CallOption) (*UpsertRecordResponse, error)
	DeleteRecord(ctx context.Context, in *DeleteRecordRequest, opts ...grpc.CallOption) (*DeleteRecordResponse, error)
	VerifyRecord(ctx context.Context, in *VerifyRecordRequest, opts ...grpc.CallOption) (*VerifyRecordResponse, error)
}

DnsProviderServiceClient is the client API for DnsProviderService 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.

DnsProviderService is served by plugins whose kind is dns_provider. Every request carries the credential for that one call in secret, which the plugin must not persist or log.

type DnsProviderServiceServer

type DnsProviderServiceServer interface {
	ListZones(context.Context, *ListZonesRequest) (*ListZonesResponse, error)
	ListRecords(context.Context, *ListRecordsRequest) (*ListRecordsResponse, error)
	UpsertRecord(context.Context, *UpsertRecordRequest) (*UpsertRecordResponse, error)
	DeleteRecord(context.Context, *DeleteRecordRequest) (*DeleteRecordResponse, error)
	VerifyRecord(context.Context, *VerifyRecordRequest) (*VerifyRecordResponse, error)
	// contains filtered or unexported methods
}

DnsProviderServiceServer is the server API for DnsProviderService service. All implementations must embed UnimplementedDnsProviderServiceServer for forward compatibility.

DnsProviderService is served by plugins whose kind is dns_provider. Every request carries the credential for that one call in secret, which the plugin must not persist or log.

type DnsRecord

type DnsRecord struct {

	// Name relative to the zone, "@" for the apex.
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type       string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Value      string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	TtlSeconds uint32 `protobuf:"varint,4,opt,name=ttl_seconds,json=ttlSeconds,proto3" json:"ttl_seconds,omitempty"`
	Proxied    bool   `protobuf:"varint,5,opt,name=proxied,proto3" json:"proxied,omitempty"`
	// contains filtered or unexported fields
}

func (*DnsRecord) Descriptor deprecated

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

Deprecated: Use DnsRecord.ProtoReflect.Descriptor instead.

func (*DnsRecord) GetName

func (x *DnsRecord) GetName() string

func (*DnsRecord) GetProxied

func (x *DnsRecord) GetProxied() bool

func (*DnsRecord) GetTtlSeconds

func (x *DnsRecord) GetTtlSeconds() uint32

func (*DnsRecord) GetType

func (x *DnsRecord) GetType() string

func (*DnsRecord) GetValue

func (x *DnsRecord) GetValue() string

func (*DnsRecord) ProtoMessage

func (*DnsRecord) ProtoMessage()

func (*DnsRecord) ProtoReflect

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

func (*DnsRecord) Reset

func (x *DnsRecord) Reset()

func (*DnsRecord) String

func (x *DnsRecord) String() string

type Event

type Event struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Body  string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	// "firing" or "resolved".
	Status     string                 `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	Severity   string                 `protobuf:"bytes,5,opt,name=severity,proto3" json:"severity,omitempty"`
	ResourceId string                 `protobuf:"bytes,6,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Link       string                 `protobuf:"bytes,7,opt,name=link,proto3" json:"link,omitempty"`
	OccurredAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetBody

func (x *Event) GetBody() string

func (*Event) GetId

func (x *Event) GetId() string
func (x *Event) GetLink() string

func (*Event) GetOccurredAt

func (x *Event) GetOccurredAt() *timestamppb.Timestamp

func (*Event) GetResourceId

func (x *Event) GetResourceId() string

func (*Event) GetSeverity

func (x *Event) GetSeverity() string

func (*Event) GetStatus

func (x *Event) GetStatus() string

func (*Event) GetTitle

func (x *Event) GetTitle() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type HealthRequest

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

func (*HealthRequest) Descriptor deprecated

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

Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.

func (*HealthRequest) ProtoMessage

func (*HealthRequest) ProtoMessage()

func (*HealthRequest) ProtoReflect

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

func (*HealthRequest) Reset

func (x *HealthRequest) Reset()

func (*HealthRequest) String

func (x *HealthRequest) String() string

type HealthResponse

type HealthResponse struct {
	Ok     bool   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthResponse) Descriptor deprecated

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

Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.

func (*HealthResponse) GetDetail

func (x *HealthResponse) GetDetail() string

func (*HealthResponse) GetOk

func (x *HealthResponse) GetOk() bool

func (*HealthResponse) ProtoMessage

func (*HealthResponse) ProtoMessage()

func (*HealthResponse) ProtoReflect

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

func (*HealthResponse) Reset

func (x *HealthResponse) Reset()

func (*HealthResponse) String

func (x *HealthResponse) String() string

type ListRecordsRequest

type ListRecordsRequest struct {
	Zone       string `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,omitempty"`
	ConfigJson string `protobuf:"bytes,2,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"`
	Secret     string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRecordsRequest) Descriptor deprecated

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

Deprecated: Use ListRecordsRequest.ProtoReflect.Descriptor instead.

func (*ListRecordsRequest) GetConfigJson

func (x *ListRecordsRequest) GetConfigJson() string

func (*ListRecordsRequest) GetSecret

func (x *ListRecordsRequest) GetSecret() string

func (*ListRecordsRequest) GetZone

func (x *ListRecordsRequest) GetZone() string

func (*ListRecordsRequest) ProtoMessage

func (*ListRecordsRequest) ProtoMessage()

func (*ListRecordsRequest) ProtoReflect

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

func (*ListRecordsRequest) Reset

func (x *ListRecordsRequest) Reset()

func (*ListRecordsRequest) String

func (x *ListRecordsRequest) String() string

type ListRecordsResponse

type ListRecordsResponse struct {
	Outcome *DnsOutcome  `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"`
	Records []*DnsRecord `protobuf:"bytes,2,rep,name=records,proto3" json:"records,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRecordsResponse) Descriptor deprecated

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

Deprecated: Use ListRecordsResponse.ProtoReflect.Descriptor instead.

func (*ListRecordsResponse) GetOutcome

func (x *ListRecordsResponse) GetOutcome() *DnsOutcome

func (*ListRecordsResponse) GetRecords

func (x *ListRecordsResponse) GetRecords() []*DnsRecord

func (*ListRecordsResponse) ProtoMessage

func (*ListRecordsResponse) ProtoMessage()

func (*ListRecordsResponse) ProtoReflect

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

func (*ListRecordsResponse) Reset

func (x *ListRecordsResponse) Reset()

func (*ListRecordsResponse) String

func (x *ListRecordsResponse) String() string

type ListZonesRequest

type ListZonesRequest struct {
	ConfigJson string `protobuf:"bytes,1,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"`
	Secret     string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*ListZonesRequest) Descriptor deprecated

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

Deprecated: Use ListZonesRequest.ProtoReflect.Descriptor instead.

func (*ListZonesRequest) GetConfigJson

func (x *ListZonesRequest) GetConfigJson() string

func (*ListZonesRequest) GetSecret

func (x *ListZonesRequest) GetSecret() string

func (*ListZonesRequest) ProtoMessage

func (*ListZonesRequest) ProtoMessage()

func (*ListZonesRequest) ProtoReflect

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

func (*ListZonesRequest) Reset

func (x *ListZonesRequest) Reset()

func (*ListZonesRequest) String

func (x *ListZonesRequest) String() string

type ListZonesResponse

type ListZonesResponse struct {
	Outcome *DnsOutcome `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"`
	Zones   []string    `protobuf:"bytes,2,rep,name=zones,proto3" json:"zones,omitempty"`
	// contains filtered or unexported fields
}

func (*ListZonesResponse) Descriptor deprecated

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

Deprecated: Use ListZonesResponse.ProtoReflect.Descriptor instead.

func (*ListZonesResponse) GetOutcome

func (x *ListZonesResponse) GetOutcome() *DnsOutcome

func (*ListZonesResponse) GetZones

func (x *ListZonesResponse) GetZones() []string

func (*ListZonesResponse) ProtoMessage

func (*ListZonesResponse) ProtoMessage()

func (*ListZonesResponse) ProtoReflect

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

func (*ListZonesResponse) Reset

func (x *ListZonesResponse) Reset()

func (*ListZonesResponse) String

func (x *ListZonesResponse) String() string

type NotificationChannelServiceClient

type NotificationChannelServiceClient interface {
	Send(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*SendResponse, error)
}

NotificationChannelServiceClient is the client API for NotificationChannelService 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.

NotificationChannelService is served by plugins whose kind is notification_channel.

type NotificationChannelServiceServer

type NotificationChannelServiceServer interface {
	Send(context.Context, *SendRequest) (*SendResponse, error)
	// contains filtered or unexported methods
}

NotificationChannelServiceServer is the server API for NotificationChannelService service. All implementations must embed UnimplementedNotificationChannelServiceServer for forward compatibility.

NotificationChannelService is served by plugins whose kind is notification_channel.

type PanelActionRequest

type PanelActionRequest struct {
	PanelId    string            `protobuf:"bytes,1,opt,name=panel_id,json=panelId,proto3" json:"panel_id,omitempty"`
	ActionId   string            `protobuf:"bytes,2,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
	Context    map[string]string `` /* 141-byte string literal not displayed */
	ConfigJson string            `protobuf:"bytes,4,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"`
	// contains filtered or unexported fields
}

func (*PanelActionRequest) Descriptor deprecated

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

Deprecated: Use PanelActionRequest.ProtoReflect.Descriptor instead.

func (*PanelActionRequest) GetActionId

func (x *PanelActionRequest) GetActionId() string

func (*PanelActionRequest) GetConfigJson

func (x *PanelActionRequest) GetConfigJson() string

func (*PanelActionRequest) GetContext

func (x *PanelActionRequest) GetContext() map[string]string

func (*PanelActionRequest) GetPanelId

func (x *PanelActionRequest) GetPanelId() string

func (*PanelActionRequest) ProtoMessage

func (*PanelActionRequest) ProtoMessage()

func (*PanelActionRequest) ProtoReflect

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

func (*PanelActionRequest) Reset

func (x *PanelActionRequest) Reset()

func (*PanelActionRequest) String

func (x *PanelActionRequest) String() string

type PanelActionResponse

type PanelActionResponse struct {
	Ok      bool   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*PanelActionResponse) Descriptor deprecated

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

Deprecated: Use PanelActionResponse.ProtoReflect.Descriptor instead.

func (*PanelActionResponse) GetMessage

func (x *PanelActionResponse) GetMessage() string

func (*PanelActionResponse) GetOk

func (x *PanelActionResponse) GetOk() bool

func (*PanelActionResponse) ProtoMessage

func (*PanelActionResponse) ProtoMessage()

func (*PanelActionResponse) ProtoReflect

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

func (*PanelActionResponse) Reset

func (x *PanelActionResponse) Reset()

func (*PanelActionResponse) String

func (x *PanelActionResponse) String() string

type PanelDataRequest

type PanelDataRequest struct {
	PanelId  string `protobuf:"bytes,1,opt,name=panel_id,json=panelId,proto3" json:"panel_id,omitempty"`
	SourceId string `protobuf:"bytes,2,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
	// Scope the panel is shown in, for example {"app_id": "web"}.
	Context    map[string]string `` /* 141-byte string literal not displayed */
	ConfigJson string            `protobuf:"bytes,4,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"`
	// contains filtered or unexported fields
}

func (*PanelDataRequest) Descriptor deprecated

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

Deprecated: Use PanelDataRequest.ProtoReflect.Descriptor instead.

func (*PanelDataRequest) GetConfigJson

func (x *PanelDataRequest) GetConfigJson() string

func (*PanelDataRequest) GetContext

func (x *PanelDataRequest) GetContext() map[string]string

func (*PanelDataRequest) GetPanelId

func (x *PanelDataRequest) GetPanelId() string

func (*PanelDataRequest) GetSourceId

func (x *PanelDataRequest) GetSourceId() string

func (*PanelDataRequest) ProtoMessage

func (*PanelDataRequest) ProtoMessage()

func (*PanelDataRequest) ProtoReflect

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

func (*PanelDataRequest) Reset

func (x *PanelDataRequest) Reset()

func (*PanelDataRequest) String

func (x *PanelDataRequest) String() string

type PanelDataResponse

type PanelDataResponse struct {

	// A JSON document the host binds widgets to. The host caps its size.
	Json string `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"`
	// contains filtered or unexported fields
}

func (*PanelDataResponse) Descriptor deprecated

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

Deprecated: Use PanelDataResponse.ProtoReflect.Descriptor instead.

func (*PanelDataResponse) GetJson

func (x *PanelDataResponse) GetJson() string

func (*PanelDataResponse) ProtoMessage

func (*PanelDataResponse) ProtoMessage()

func (*PanelDataResponse) ProtoReflect

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

func (*PanelDataResponse) Reset

func (x *PanelDataResponse) Reset()

func (*PanelDataResponse) String

func (x *PanelDataResponse) String() string

type PanelServiceClient

type PanelServiceClient interface {
	PanelData(ctx context.Context, in *PanelDataRequest, opts ...grpc.CallOption) (*PanelDataResponse, error)
	PanelAction(ctx context.Context, in *PanelActionRequest, opts ...grpc.CallOption) (*PanelActionResponse, error)
}

PanelServiceClient is the client API for PanelService 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.

PanelService is served by plugins that contribute panels or commands. The host calls it only for sources and actions the manifest declares and only with the abilities the operator approved.

type PanelServiceServer

type PanelServiceServer interface {
	PanelData(context.Context, *PanelDataRequest) (*PanelDataResponse, error)
	PanelAction(context.Context, *PanelActionRequest) (*PanelActionResponse, error)
	// contains filtered or unexported methods
}

PanelServiceServer is the server API for PanelService service. All implementations must embed UnimplementedPanelServiceServer for forward compatibility.

PanelService is served by plugins that contribute panels or commands. The host calls it only for sources and actions the manifest declares and only with the abilities the operator approved.

type PluginServiceClient

type PluginServiceClient interface {
	// Describe is the first call. The host offers the contract versions it
	// speaks; the plugin answers with the one it will use or an error.
	Describe(ctx context.Context, in *DescribeRequest, opts ...grpc.CallOption) (*DescribeResponse, error)
	Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, 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.

PluginService is served by every plugin whatever kinds it implements.

type PluginServiceServer

type PluginServiceServer interface {
	// Describe is the first call. The host offers the contract versions it
	// speaks; the plugin answers with the one it will use or an error.
	Describe(context.Context, *DescribeRequest) (*DescribeResponse, error)
	Health(context.Context, *HealthRequest) (*HealthResponse, error)
	// contains filtered or unexported methods
}

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

PluginService is served by every plugin whatever kinds it implements.

type SendRequest

type SendRequest struct {
	Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	// The plugin's own non-secret config (JSON), stored at install.
	ConfigJson string `protobuf:"bytes,2,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"`
	// The credential for this one call (for example a token or webhook URL).
	// It must not be persisted or logged by the plugin.
	Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*SendRequest) Descriptor deprecated

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

Deprecated: Use SendRequest.ProtoReflect.Descriptor instead.

func (*SendRequest) GetConfigJson

func (x *SendRequest) GetConfigJson() string

func (*SendRequest) GetEvent

func (x *SendRequest) GetEvent() *Event

func (*SendRequest) GetSecret

func (x *SendRequest) GetSecret() string

func (*SendRequest) ProtoMessage

func (*SendRequest) ProtoMessage()

func (*SendRequest) ProtoReflect

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

func (*SendRequest) Reset

func (x *SendRequest) Reset()

func (*SendRequest) String

func (x *SendRequest) String() string

type SendResponse

type SendResponse struct {
	Delivered bool   `protobuf:"varint,1,opt,name=delivered,proto3" json:"delivered,omitempty"`
	Detail    string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
	Retryable bool   `protobuf:"varint,3,opt,name=retryable,proto3" json:"retryable,omitempty"`
	// contains filtered or unexported fields
}

func (*SendResponse) Descriptor deprecated

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

Deprecated: Use SendResponse.ProtoReflect.Descriptor instead.

func (*SendResponse) GetDelivered

func (x *SendResponse) GetDelivered() bool

func (*SendResponse) GetDetail

func (x *SendResponse) GetDetail() string

func (*SendResponse) GetRetryable

func (x *SendResponse) GetRetryable() bool

func (*SendResponse) ProtoMessage

func (*SendResponse) ProtoMessage()

func (*SendResponse) ProtoReflect

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

func (*SendResponse) Reset

func (x *SendResponse) Reset()

func (*SendResponse) String

func (x *SendResponse) String() string

type UnimplementedDnsProviderServiceServer

type UnimplementedDnsProviderServiceServer struct{}

UnimplementedDnsProviderServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedDnsProviderServiceServer) DeleteRecord

func (UnimplementedDnsProviderServiceServer) ListRecords

func (UnimplementedDnsProviderServiceServer) ListZones

func (UnimplementedDnsProviderServiceServer) UpsertRecord

func (UnimplementedDnsProviderServiceServer) VerifyRecord

type UnimplementedNotificationChannelServiceServer

type UnimplementedNotificationChannelServiceServer struct{}

UnimplementedNotificationChannelServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedNotificationChannelServiceServer) Send

type UnimplementedPanelServiceServer

type UnimplementedPanelServiceServer struct{}

UnimplementedPanelServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPanelServiceServer) PanelAction

func (UnimplementedPanelServiceServer) PanelData

type UnimplementedPluginServiceServer

type UnimplementedPluginServiceServer struct{}

UnimplementedPluginServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPluginServiceServer) Describe

func (UnimplementedPluginServiceServer) Health

type UnsafeDnsProviderServiceServer

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

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

type UnsafeNotificationChannelServiceServer

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

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

type UnsafePanelServiceServer

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

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

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.

type UpsertRecordRequest

type UpsertRecordRequest struct {
	Zone       string     `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,omitempty"`
	Record     *DnsRecord `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"`
	ConfigJson string     `protobuf:"bytes,3,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"`
	Secret     string     `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertRecordRequest) Descriptor deprecated

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

Deprecated: Use UpsertRecordRequest.ProtoReflect.Descriptor instead.

func (*UpsertRecordRequest) GetConfigJson

func (x *UpsertRecordRequest) GetConfigJson() string

func (*UpsertRecordRequest) GetRecord

func (x *UpsertRecordRequest) GetRecord() *DnsRecord

func (*UpsertRecordRequest) GetSecret

func (x *UpsertRecordRequest) GetSecret() string

func (*UpsertRecordRequest) GetZone

func (x *UpsertRecordRequest) GetZone() string

func (*UpsertRecordRequest) ProtoMessage

func (*UpsertRecordRequest) ProtoMessage()

func (*UpsertRecordRequest) ProtoReflect

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

func (*UpsertRecordRequest) Reset

func (x *UpsertRecordRequest) Reset()

func (*UpsertRecordRequest) String

func (x *UpsertRecordRequest) String() string

type UpsertRecordResponse

type UpsertRecordResponse struct {
	Outcome *DnsOutcome `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertRecordResponse) Descriptor deprecated

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

Deprecated: Use UpsertRecordResponse.ProtoReflect.Descriptor instead.

func (*UpsertRecordResponse) GetOutcome

func (x *UpsertRecordResponse) GetOutcome() *DnsOutcome

func (*UpsertRecordResponse) ProtoMessage

func (*UpsertRecordResponse) ProtoMessage()

func (*UpsertRecordResponse) ProtoReflect

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

func (*UpsertRecordResponse) Reset

func (x *UpsertRecordResponse) Reset()

func (*UpsertRecordResponse) String

func (x *UpsertRecordResponse) String() string

type VerifyRecordRequest

type VerifyRecordRequest struct {
	Zone       string     `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,omitempty"`
	Record     *DnsRecord `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"`
	ConfigJson string     `protobuf:"bytes,3,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"`
	Secret     string     `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyRecordRequest) Descriptor deprecated

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

Deprecated: Use VerifyRecordRequest.ProtoReflect.Descriptor instead.

func (*VerifyRecordRequest) GetConfigJson

func (x *VerifyRecordRequest) GetConfigJson() string

func (*VerifyRecordRequest) GetRecord

func (x *VerifyRecordRequest) GetRecord() *DnsRecord

func (*VerifyRecordRequest) GetSecret

func (x *VerifyRecordRequest) GetSecret() string

func (*VerifyRecordRequest) GetZone

func (x *VerifyRecordRequest) GetZone() string

func (*VerifyRecordRequest) ProtoMessage

func (*VerifyRecordRequest) ProtoMessage()

func (*VerifyRecordRequest) ProtoReflect

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

func (*VerifyRecordRequest) Reset

func (x *VerifyRecordRequest) Reset()

func (*VerifyRecordRequest) String

func (x *VerifyRecordRequest) String() string

type VerifyRecordResponse

type VerifyRecordResponse struct {
	Outcome *DnsOutcome `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"`
	// True when the provider now serves exactly the requested record.
	Present bool `protobuf:"varint,2,opt,name=present,proto3" json:"present,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyRecordResponse) Descriptor deprecated

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

Deprecated: Use VerifyRecordResponse.ProtoReflect.Descriptor instead.

func (*VerifyRecordResponse) GetOutcome

func (x *VerifyRecordResponse) GetOutcome() *DnsOutcome

func (*VerifyRecordResponse) GetPresent

func (x *VerifyRecordResponse) GetPresent() bool

func (*VerifyRecordResponse) ProtoMessage

func (*VerifyRecordResponse) ProtoMessage()

func (*VerifyRecordResponse) ProtoReflect

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

func (*VerifyRecordResponse) Reset

func (x *VerifyRecordResponse) Reset()

func (*VerifyRecordResponse) String

func (x *VerifyRecordResponse) String() string

Jump to

Keyboard shortcuts

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