Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDnsProviderServiceServer(s grpc.ServiceRegistrar, srv DnsProviderServiceServer)
- func RegisterNotificationChannelServiceServer(s grpc.ServiceRegistrar, srv NotificationChannelServiceServer)
- func RegisterPanelServiceServer(s grpc.ServiceRegistrar, srv PanelServiceServer)
- func RegisterPluginServiceServer(s grpc.ServiceRegistrar, srv PluginServiceServer)
- type DeleteRecordRequest
- func (*DeleteRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRecordRequest) GetConfigJson() string
- func (x *DeleteRecordRequest) GetRecord() *DnsRecord
- func (x *DeleteRecordRequest) GetSecret() string
- func (x *DeleteRecordRequest) GetZone() string
- func (*DeleteRecordRequest) ProtoMessage()
- func (x *DeleteRecordRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRecordRequest) Reset()
- func (x *DeleteRecordRequest) String() string
- type DeleteRecordResponse
- func (*DeleteRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRecordResponse) GetOutcome() *DnsOutcome
- func (*DeleteRecordResponse) ProtoMessage()
- func (x *DeleteRecordResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteRecordResponse) Reset()
- func (x *DeleteRecordResponse) String() string
- type DescribeRequest
- func (*DescribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeRequest) GetHostContractVersions() []uint32
- func (*DescribeRequest) ProtoMessage()
- func (x *DescribeRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeRequest) Reset()
- func (x *DescribeRequest) String() string
- type DescribeResponse
- func (*DescribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeResponse) GetConfigSchema() string
- func (x *DescribeResponse) GetContractVersion() uint32
- func (x *DescribeResponse) GetKind() string
- func (x *DescribeResponse) GetName() string
- func (x *DescribeResponse) GetRequestedAbilities() []string
- func (x *DescribeResponse) GetVersion() string
- func (*DescribeResponse) ProtoMessage()
- func (x *DescribeResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeResponse) Reset()
- func (x *DescribeResponse) String() string
- type DnsOutcome
- func (*DnsOutcome) Descriptor() ([]byte, []int)deprecated
- func (x *DnsOutcome) GetDetail() string
- func (x *DnsOutcome) GetOk() bool
- func (x *DnsOutcome) GetRetryable() bool
- func (*DnsOutcome) ProtoMessage()
- func (x *DnsOutcome) ProtoReflect() protoreflect.Message
- func (x *DnsOutcome) Reset()
- func (x *DnsOutcome) String() string
- type DnsProviderServiceClient
- type DnsProviderServiceServer
- type DnsRecord
- func (*DnsRecord) Descriptor() ([]byte, []int)deprecated
- func (x *DnsRecord) GetName() string
- func (x *DnsRecord) GetProxied() bool
- func (x *DnsRecord) GetTtlSeconds() uint32
- func (x *DnsRecord) GetType() string
- func (x *DnsRecord) GetValue() string
- func (*DnsRecord) ProtoMessage()
- func (x *DnsRecord) ProtoReflect() protoreflect.Message
- func (x *DnsRecord) Reset()
- func (x *DnsRecord) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetBody() string
- func (x *Event) GetId() string
- func (x *Event) GetLink() string
- func (x *Event) GetOccurredAt() *timestamppb.Timestamp
- func (x *Event) GetResourceId() string
- func (x *Event) GetSeverity() string
- func (x *Event) GetStatus() string
- func (x *Event) GetTitle() string
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type HealthRequest
- type HealthResponse
- func (*HealthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthResponse) GetDetail() string
- func (x *HealthResponse) GetOk() bool
- func (*HealthResponse) ProtoMessage()
- func (x *HealthResponse) ProtoReflect() protoreflect.Message
- func (x *HealthResponse) Reset()
- func (x *HealthResponse) String() string
- type ListRecordsRequest
- func (*ListRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRecordsRequest) GetConfigJson() string
- func (x *ListRecordsRequest) GetSecret() string
- func (x *ListRecordsRequest) GetZone() string
- func (*ListRecordsRequest) ProtoMessage()
- func (x *ListRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRecordsRequest) Reset()
- func (x *ListRecordsRequest) String() string
- type ListRecordsResponse
- func (*ListRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRecordsResponse) GetOutcome() *DnsOutcome
- func (x *ListRecordsResponse) GetRecords() []*DnsRecord
- func (*ListRecordsResponse) ProtoMessage()
- func (x *ListRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRecordsResponse) Reset()
- func (x *ListRecordsResponse) String() string
- type ListZonesRequest
- func (*ListZonesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListZonesRequest) GetConfigJson() string
- func (x *ListZonesRequest) GetSecret() string
- func (*ListZonesRequest) ProtoMessage()
- func (x *ListZonesRequest) ProtoReflect() protoreflect.Message
- func (x *ListZonesRequest) Reset()
- func (x *ListZonesRequest) String() string
- type ListZonesResponse
- func (*ListZonesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListZonesResponse) GetOutcome() *DnsOutcome
- func (x *ListZonesResponse) GetZones() []string
- func (*ListZonesResponse) ProtoMessage()
- func (x *ListZonesResponse) ProtoReflect() protoreflect.Message
- func (x *ListZonesResponse) Reset()
- func (x *ListZonesResponse) String() string
- type NotificationChannelServiceClient
- type NotificationChannelServiceServer
- type PanelActionRequest
- func (*PanelActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PanelActionRequest) GetActionId() string
- func (x *PanelActionRequest) GetConfigJson() string
- func (x *PanelActionRequest) GetContext() map[string]string
- func (x *PanelActionRequest) GetPanelId() string
- func (*PanelActionRequest) ProtoMessage()
- func (x *PanelActionRequest) ProtoReflect() protoreflect.Message
- func (x *PanelActionRequest) Reset()
- func (x *PanelActionRequest) String() string
- type PanelActionResponse
- func (*PanelActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PanelActionResponse) GetMessage() string
- func (x *PanelActionResponse) GetOk() bool
- func (*PanelActionResponse) ProtoMessage()
- func (x *PanelActionResponse) ProtoReflect() protoreflect.Message
- func (x *PanelActionResponse) Reset()
- func (x *PanelActionResponse) String() string
- type PanelDataRequest
- func (*PanelDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PanelDataRequest) GetConfigJson() string
- func (x *PanelDataRequest) GetContext() map[string]string
- func (x *PanelDataRequest) GetPanelId() string
- func (x *PanelDataRequest) GetSourceId() string
- func (*PanelDataRequest) ProtoMessage()
- func (x *PanelDataRequest) ProtoReflect() protoreflect.Message
- func (x *PanelDataRequest) Reset()
- func (x *PanelDataRequest) String() string
- type PanelDataResponse
- type PanelServiceClient
- type PanelServiceServer
- type PluginServiceClient
- type PluginServiceServer
- type SendRequest
- func (*SendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendRequest) GetConfigJson() string
- func (x *SendRequest) GetEvent() *Event
- func (x *SendRequest) GetSecret() string
- func (*SendRequest) ProtoMessage()
- func (x *SendRequest) ProtoReflect() protoreflect.Message
- func (x *SendRequest) Reset()
- func (x *SendRequest) String() string
- type SendResponse
- func (*SendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendResponse) GetDelivered() bool
- func (x *SendResponse) GetDetail() string
- func (x *SendResponse) GetRetryable() bool
- func (*SendResponse) ProtoMessage()
- func (x *SendResponse) ProtoReflect() protoreflect.Message
- func (x *SendResponse) Reset()
- func (x *SendResponse) String() string
- type UnimplementedDnsProviderServiceServer
- func (UnimplementedDnsProviderServiceServer) DeleteRecord(context.Context, *DeleteRecordRequest) (*DeleteRecordResponse, error)
- func (UnimplementedDnsProviderServiceServer) ListRecords(context.Context, *ListRecordsRequest) (*ListRecordsResponse, error)
- func (UnimplementedDnsProviderServiceServer) ListZones(context.Context, *ListZonesRequest) (*ListZonesResponse, error)
- func (UnimplementedDnsProviderServiceServer) UpsertRecord(context.Context, *UpsertRecordRequest) (*UpsertRecordResponse, error)
- func (UnimplementedDnsProviderServiceServer) VerifyRecord(context.Context, *VerifyRecordRequest) (*VerifyRecordResponse, error)
- type UnimplementedNotificationChannelServiceServer
- type UnimplementedPanelServiceServer
- type UnimplementedPluginServiceServer
- type UnsafeDnsProviderServiceServer
- type UnsafeNotificationChannelServiceServer
- type UnsafePanelServiceServer
- type UnsafePluginServiceServer
- type UpsertRecordRequest
- func (*UpsertRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertRecordRequest) GetConfigJson() string
- func (x *UpsertRecordRequest) GetRecord() *DnsRecord
- func (x *UpsertRecordRequest) GetSecret() string
- func (x *UpsertRecordRequest) GetZone() string
- func (*UpsertRecordRequest) ProtoMessage()
- func (x *UpsertRecordRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertRecordRequest) Reset()
- func (x *UpsertRecordRequest) String() string
- type UpsertRecordResponse
- func (*UpsertRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertRecordResponse) GetOutcome() *DnsOutcome
- func (*UpsertRecordResponse) ProtoMessage()
- func (x *UpsertRecordResponse) ProtoReflect() protoreflect.Message
- func (x *UpsertRecordResponse) Reset()
- func (x *UpsertRecordResponse) String() string
- type VerifyRecordRequest
- func (*VerifyRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyRecordRequest) GetConfigJson() string
- func (x *VerifyRecordRequest) GetRecord() *DnsRecord
- func (x *VerifyRecordRequest) GetSecret() string
- func (x *VerifyRecordRequest) GetZone() string
- func (*VerifyRecordRequest) ProtoMessage()
- func (x *VerifyRecordRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyRecordRequest) Reset()
- func (x *VerifyRecordRequest) String() string
- type VerifyRecordResponse
- func (*VerifyRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyRecordResponse) GetOutcome() *DnsOutcome
- func (x *VerifyRecordResponse) GetPresent() bool
- func (*VerifyRecordResponse) ProtoMessage()
- func (x *VerifyRecordResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyRecordResponse) Reset()
- func (x *VerifyRecordResponse) String() string
Constants ¶
const ( PluginService_Describe_FullMethodName = "/levelrail.plugin.v1.PluginService/Describe" PluginService_Health_FullMethodName = "/levelrail.plugin.v1.PluginService/Health" )
const ( PanelService_PanelData_FullMethodName = "/levelrail.plugin.v1.PanelService/PanelData" PanelService_PanelAction_FullMethodName = "/levelrail.plugin.v1.PanelService/PanelAction" )
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" )
const (
NotificationChannelService_Send_FullMethodName = "/levelrail.plugin.v1.NotificationChannelService/Send"
)
Variables ¶
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)
var File_proto_plugin_v1_plugin_proto protoreflect.FileDescriptor
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)
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)
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.
func NewDnsProviderServiceClient ¶
func NewDnsProviderServiceClient(cc grpc.ClientConnInterface) DnsProviderServiceClient
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) GetProxied ¶
func (*DnsRecord) GetTtlSeconds ¶
func (*DnsRecord) ProtoMessage ¶
func (*DnsRecord) ProtoMessage()
func (*DnsRecord) ProtoReflect ¶
func (x *DnsRecord) ProtoReflect() protoreflect.Message
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) GetOccurredAt ¶
func (x *Event) GetOccurredAt() *timestamppb.Timestamp
func (*Event) GetResourceId ¶
func (*Event) GetSeverity ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
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.
func NewNotificationChannelServiceClient ¶
func NewNotificationChannelServiceClient(cc grpc.ClientConnInterface) NotificationChannelServiceClient
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.
func NewPanelServiceClient ¶
func NewPanelServiceClient(cc grpc.ClientConnInterface) PanelServiceClient
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.
func NewPluginServiceClient ¶
func NewPluginServiceClient(cc grpc.ClientConnInterface) PluginServiceClient
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) DeleteRecord(context.Context, *DeleteRecordRequest) (*DeleteRecordResponse, error)
func (UnimplementedDnsProviderServiceServer) ListRecords ¶
func (UnimplementedDnsProviderServiceServer) ListRecords(context.Context, *ListRecordsRequest) (*ListRecordsResponse, error)
func (UnimplementedDnsProviderServiceServer) ListZones ¶
func (UnimplementedDnsProviderServiceServer) ListZones(context.Context, *ListZonesRequest) (*ListZonesResponse, error)
func (UnimplementedDnsProviderServiceServer) UpsertRecord ¶
func (UnimplementedDnsProviderServiceServer) UpsertRecord(context.Context, *UpsertRecordRequest) (*UpsertRecordResponse, error)
func (UnimplementedDnsProviderServiceServer) VerifyRecord ¶
func (UnimplementedDnsProviderServiceServer) VerifyRecord(context.Context, *VerifyRecordRequest) (*VerifyRecordResponse, error)
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 ¶
func (UnimplementedNotificationChannelServiceServer) Send(context.Context, *SendRequest) (*SendResponse, error)
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) PanelAction(context.Context, *PanelActionRequest) (*PanelActionResponse, error)
func (UnimplementedPanelServiceServer) PanelData ¶
func (UnimplementedPanelServiceServer) PanelData(context.Context, *PanelDataRequest) (*PanelDataResponse, error)
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) Describe(context.Context, *DescribeRequest) (*DescribeResponse, error)
func (UnimplementedPluginServiceServer) Health ¶
func (UnimplementedPluginServiceServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
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