common

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ProtocolVersion0 without support for routing policy
	ProtocolVersion0 = 0
	// ProtocolVersion1 with support for routing policy
	ProtocolVersion1 = 1
)
View Source
const InvalidToken = "[invalid token]"

Variables

View Source
var (
	ChangeRequest_ActionType_name = map[int32]string{
		0: "CREATE",
		1: "UPDATE",
		2: "DELETE",
	}
	ChangeRequest_ActionType_value = map[string]int32{
		"CREATE": 0,
		"UPDATE": 1,
		"DELETE": 2,
	}
)

Enum value maps for ChangeRequest_ActionType.

View Source
var (
	LogEntry_Level_name = map[int32]string{
		0: "DEBUG",
		1: "INFO",
		2: "WARN",
		3: "ERROR",
	}
	LogEntry_Level_value = map[string]int32{
		"DEBUG": 0,
		"INFO":  1,
		"WARN":  2,
		"ERROR": 3,
	}
)

Enum value maps for LogEntry_Level.

View Source
var (
	ChangeResponse_State_name = map[int32]string{
		0: "NOT_PROCESSED",
		1: "SUCCEEDED",
		2: "INVALID",
		3: "FAILED",
		4: "THROTTLED",
	}
	ChangeResponse_State_value = map[string]int32{
		"NOT_PROCESSED": 0,
		"SUCCEEDED":     1,
		"INVALID":       2,
		"FAILED":        3,
		"THROTTLED":     4,
	}
)

Enum value maps for ChangeResponse_State.

View Source
var File_pkg_server_remote_common_remote_proto protoreflect.FileDescriptor
View Source
var RemoteProvider_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "remote.RemoteProvider",
	HandlerType: (*RemoteProviderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _RemoteProvider_Login_Handler,
		},
		{
			MethodName: "GetZones",
			Handler:    _RemoteProvider_GetZones_Handler,
		},
		{
			MethodName: "GetZoneState",
			Handler:    _RemoteProvider_GetZoneState_Handler,
		},
		{
			MethodName: "Execute",
			Handler:    _RemoteProvider_Execute_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/server/remote/common/remote.proto",
}

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

Functions

func RegisterRemoteProviderServer

func RegisterRemoteProviderServer(s grpc.ServiceRegistrar, srv RemoteProviderServer)

Types

type ChangeRequest

type ChangeRequest struct {
	Action ChangeRequest_ActionType `protobuf:"varint,1,opt,name=action,proto3,enum=remote.ChangeRequest_ActionType" json:"action,omitempty"`
	Change *PartialDNSSet           `protobuf:"bytes,3,opt,name=change,proto3" json:"change,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeRequest) Descriptor deprecated

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

Deprecated: Use ChangeRequest.ProtoReflect.Descriptor instead.

func (*ChangeRequest) GetAction

func (x *ChangeRequest) GetAction() ChangeRequest_ActionType

func (*ChangeRequest) GetChange

func (x *ChangeRequest) GetChange() *PartialDNSSet

func (*ChangeRequest) ProtoMessage

func (*ChangeRequest) ProtoMessage()

func (*ChangeRequest) ProtoReflect

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

func (*ChangeRequest) Reset

func (x *ChangeRequest) Reset()

func (*ChangeRequest) String

func (x *ChangeRequest) String() string

type ChangeRequest_ActionType

type ChangeRequest_ActionType int32
const (
	ChangeRequest_CREATE ChangeRequest_ActionType = 0
	ChangeRequest_UPDATE ChangeRequest_ActionType = 1
	ChangeRequest_DELETE ChangeRequest_ActionType = 2
)

func (ChangeRequest_ActionType) Descriptor

func (ChangeRequest_ActionType) Enum

func (ChangeRequest_ActionType) EnumDescriptor deprecated

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

Deprecated: Use ChangeRequest_ActionType.Descriptor instead.

func (ChangeRequest_ActionType) Number

func (ChangeRequest_ActionType) String

func (x ChangeRequest_ActionType) String() string

func (ChangeRequest_ActionType) Type

type ChangeResponse

type ChangeResponse struct {
	State        ChangeResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=remote.ChangeResponse_State" json:"state,omitempty"`
	ErrorMessage string               `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeResponse) Descriptor deprecated

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

Deprecated: Use ChangeResponse.ProtoReflect.Descriptor instead.

func (*ChangeResponse) GetErrorMessage

func (x *ChangeResponse) GetErrorMessage() string

func (*ChangeResponse) GetState

func (x *ChangeResponse) GetState() ChangeResponse_State

func (*ChangeResponse) ProtoMessage

func (*ChangeResponse) ProtoMessage()

func (*ChangeResponse) ProtoReflect

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

func (*ChangeResponse) Reset

func (x *ChangeResponse) Reset()

func (*ChangeResponse) String

func (x *ChangeResponse) String() string

type ChangeResponse_State

type ChangeResponse_State int32
const (
	ChangeResponse_NOT_PROCESSED ChangeResponse_State = 0
	ChangeResponse_SUCCEEDED     ChangeResponse_State = 1
	ChangeResponse_INVALID       ChangeResponse_State = 2
	ChangeResponse_FAILED        ChangeResponse_State = 3
	ChangeResponse_THROTTLED     ChangeResponse_State = 4
)

func (ChangeResponse_State) Descriptor

func (ChangeResponse_State) Enum

func (ChangeResponse_State) EnumDescriptor deprecated

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

Deprecated: Use ChangeResponse_State.Descriptor instead.

func (ChangeResponse_State) Number

func (ChangeResponse_State) String

func (x ChangeResponse_State) String() string

func (ChangeResponse_State) Type

type DNSSet

type DNSSet struct {
	DnsName       string                `protobuf:"bytes,1,opt,name=dns_name,json=dnsName,proto3" json:"dns_name,omitempty"`
	UpdateGroup   string                `protobuf:"bytes,2,opt,name=update_group,json=updateGroup,proto3" json:"update_group,omitempty"`
	Records       map[string]*RecordSet `` /* 155-byte string literal not displayed */
	SetIdentifier string                `protobuf:"bytes,4,opt,name=set_identifier,json=setIdentifier,proto3" json:"set_identifier,omitempty"`
	RoutingPolicy *RoutingPolicy        `protobuf:"bytes,5,opt,name=routing_policy,json=routingPolicy,proto3" json:"routing_policy,omitempty"`
	// contains filtered or unexported fields
}

func (*DNSSet) Descriptor deprecated

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

Deprecated: Use DNSSet.ProtoReflect.Descriptor instead.

func (*DNSSet) GetDnsName

func (x *DNSSet) GetDnsName() string

func (*DNSSet) GetRecords

func (x *DNSSet) GetRecords() map[string]*RecordSet

func (*DNSSet) GetRoutingPolicy added in v0.13.0

func (x *DNSSet) GetRoutingPolicy() *RoutingPolicy

func (*DNSSet) GetSetIdentifier added in v0.13.0

func (x *DNSSet) GetSetIdentifier() string

func (*DNSSet) GetUpdateGroup

func (x *DNSSet) GetUpdateGroup() string

func (*DNSSet) ProtoMessage

func (*DNSSet) ProtoMessage()

func (*DNSSet) ProtoReflect

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

func (*DNSSet) Reset

func (x *DNSSet) Reset()

func (*DNSSet) String

func (x *DNSSet) String() string

type DNSSets

type DNSSets map[string]*DNSSet

type ExecuteRequest

type ExecuteRequest struct {
	Token         string           `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Zoneid        string           `protobuf:"bytes,2,opt,name=zoneid,proto3" json:"zoneid,omitempty"`
	ChangeRequest []*ChangeRequest `protobuf:"bytes,3,rep,name=change_request,json=changeRequest,proto3" json:"change_request,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecuteRequest) Descriptor deprecated

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

Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.

func (*ExecuteRequest) GetChangeRequest

func (x *ExecuteRequest) GetChangeRequest() []*ChangeRequest

func (*ExecuteRequest) GetToken

func (x *ExecuteRequest) GetToken() string

func (*ExecuteRequest) GetZoneid

func (x *ExecuteRequest) GetZoneid() string

func (*ExecuteRequest) ProtoMessage

func (*ExecuteRequest) ProtoMessage()

func (*ExecuteRequest) ProtoReflect

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

func (*ExecuteRequest) Reset

func (x *ExecuteRequest) Reset()

func (*ExecuteRequest) String

func (x *ExecuteRequest) String() string

type ExecuteResponse

type ExecuteResponse struct {
	ChangeResponse []*ChangeResponse `protobuf:"bytes,1,rep,name=change_response,json=changeResponse,proto3" json:"change_response,omitempty"`
	LogMessage     []*LogEntry       `protobuf:"bytes,2,rep,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecuteResponse) Descriptor deprecated

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

Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead.

func (*ExecuteResponse) GetChangeResponse

func (x *ExecuteResponse) GetChangeResponse() []*ChangeResponse

func (*ExecuteResponse) GetLogMessage

func (x *ExecuteResponse) GetLogMessage() []*LogEntry

func (*ExecuteResponse) ProtoMessage

func (*ExecuteResponse) ProtoMessage()

func (*ExecuteResponse) ProtoReflect

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

func (*ExecuteResponse) Reset

func (x *ExecuteResponse) Reset()

func (*ExecuteResponse) String

func (x *ExecuteResponse) String() string

type GetZoneStateRequest

type GetZoneStateRequest struct {
	Token  string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Zoneid string `protobuf:"bytes,2,opt,name=zoneid,proto3" json:"zoneid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetZoneStateRequest) Descriptor deprecated

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

Deprecated: Use GetZoneStateRequest.ProtoReflect.Descriptor instead.

func (*GetZoneStateRequest) GetToken

func (x *GetZoneStateRequest) GetToken() string

func (*GetZoneStateRequest) GetZoneid

func (x *GetZoneStateRequest) GetZoneid() string

func (*GetZoneStateRequest) ProtoMessage

func (*GetZoneStateRequest) ProtoMessage()

func (*GetZoneStateRequest) ProtoReflect

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

func (*GetZoneStateRequest) Reset

func (x *GetZoneStateRequest) Reset()

func (*GetZoneStateRequest) String

func (x *GetZoneStateRequest) String() string

type GetZonesRequest

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

func (*GetZonesRequest) Descriptor deprecated

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

Deprecated: Use GetZonesRequest.ProtoReflect.Descriptor instead.

func (*GetZonesRequest) GetToken

func (x *GetZonesRequest) GetToken() string

func (*GetZonesRequest) ProtoMessage

func (*GetZonesRequest) ProtoMessage()

func (*GetZonesRequest) ProtoReflect

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

func (*GetZonesRequest) Reset

func (x *GetZonesRequest) Reset()

func (*GetZonesRequest) String

func (x *GetZonesRequest) String() string

type LogEntry

type LogEntry struct {
	Timestamp int64          `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Level     LogEntry_Level `protobuf:"varint,2,opt,name=level,proto3,enum=remote.LogEntry_Level" json:"level,omitempty"`
	Message   string         `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*LogEntry) Descriptor deprecated

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

Deprecated: Use LogEntry.ProtoReflect.Descriptor instead.

func (*LogEntry) GetLevel

func (x *LogEntry) GetLevel() LogEntry_Level

func (*LogEntry) GetMessage

func (x *LogEntry) GetMessage() string

func (*LogEntry) GetTimestamp

func (x *LogEntry) GetTimestamp() int64

func (*LogEntry) ProtoMessage

func (*LogEntry) ProtoMessage()

func (*LogEntry) ProtoReflect

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

func (*LogEntry) Reset

func (x *LogEntry) Reset()

func (*LogEntry) String

func (x *LogEntry) String() string

type LogEntry_Level

type LogEntry_Level int32
const (
	LogEntry_DEBUG LogEntry_Level = 0
	LogEntry_INFO  LogEntry_Level = 1
	LogEntry_WARN  LogEntry_Level = 2
	LogEntry_ERROR LogEntry_Level = 3
)

func (LogEntry_Level) Descriptor

func (LogEntry_Level) Enum

func (x LogEntry_Level) Enum() *LogEntry_Level

func (LogEntry_Level) EnumDescriptor deprecated

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

Deprecated: Use LogEntry_Level.Descriptor instead.

func (LogEntry_Level) Number

func (LogEntry_Level) String

func (x LogEntry_Level) String() string

func (LogEntry_Level) Type

type LoginRequest

type LoginRequest struct {
	Namespace             string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	CliendID              string `protobuf:"bytes,2,opt,name=cliendID,proto3" json:"cliendID,omitempty"`
	ClientProtocolVersion int32  `protobuf:"varint,3,opt,name=clientProtocolVersion,proto3" json:"clientProtocolVersion,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetCliendID

func (x *LoginRequest) GetCliendID() string

func (*LoginRequest) GetClientProtocolVersion added in v0.13.0

func (x *LoginRequest) GetClientProtocolVersion() int32

func (*LoginRequest) GetNamespace

func (x *LoginRequest) GetNamespace() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

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

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LoginResponse

type LoginResponse struct {
	Token                 string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	ServerProtocolVersion int32  `protobuf:"varint,2,opt,name=serverProtocolVersion,proto3" json:"serverProtocolVersion,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetServerProtocolVersion added in v0.13.0

func (x *LoginResponse) GetServerProtocolVersion() int32

func (*LoginResponse) GetToken

func (x *LoginResponse) GetToken() string

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

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

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

type PartialDNSSet

type PartialDNSSet struct {
	DnsName       string         `protobuf:"bytes,1,opt,name=dns_name,json=dnsName,proto3" json:"dns_name,omitempty"`
	UpdateGroup   string         `protobuf:"bytes,2,opt,name=update_group,json=updateGroup,proto3" json:"update_group,omitempty"`
	RecordType    string         `protobuf:"bytes,3,opt,name=record_type,json=recordType,proto3" json:"record_type,omitempty"`
	RecordSet     *RecordSet     `protobuf:"bytes,4,opt,name=record_set,json=recordSet,proto3" json:"record_set,omitempty"`
	SetIdentifier string         `protobuf:"bytes,5,opt,name=set_identifier,json=setIdentifier,proto3" json:"set_identifier,omitempty"`
	RoutingPolicy *RoutingPolicy `protobuf:"bytes,6,opt,name=routing_policy,json=routingPolicy,proto3" json:"routing_policy,omitempty"`
	// contains filtered or unexported fields
}

func (*PartialDNSSet) Descriptor deprecated

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

Deprecated: Use PartialDNSSet.ProtoReflect.Descriptor instead.

func (*PartialDNSSet) GetDnsName

func (x *PartialDNSSet) GetDnsName() string

func (*PartialDNSSet) GetRecordSet

func (x *PartialDNSSet) GetRecordSet() *RecordSet

func (*PartialDNSSet) GetRecordType

func (x *PartialDNSSet) GetRecordType() string

func (*PartialDNSSet) GetRoutingPolicy added in v0.13.0

func (x *PartialDNSSet) GetRoutingPolicy() *RoutingPolicy

func (*PartialDNSSet) GetSetIdentifier added in v0.13.0

func (x *PartialDNSSet) GetSetIdentifier() string

func (*PartialDNSSet) GetUpdateGroup

func (x *PartialDNSSet) GetUpdateGroup() string

func (*PartialDNSSet) ProtoMessage

func (*PartialDNSSet) ProtoMessage()

func (*PartialDNSSet) ProtoReflect

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

func (*PartialDNSSet) Reset

func (x *PartialDNSSet) Reset()

func (*PartialDNSSet) String

func (x *PartialDNSSet) String() string

type RecordSet

type RecordSet struct {
	Type   string              `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Ttl    int32               `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
	Record []*RecordSet_Record `protobuf:"bytes,3,rep,name=record,proto3" json:"record,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordSet) Descriptor deprecated

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

Deprecated: Use RecordSet.ProtoReflect.Descriptor instead.

func (*RecordSet) GetRecord

func (x *RecordSet) GetRecord() []*RecordSet_Record

func (*RecordSet) GetTtl

func (x *RecordSet) GetTtl() int32

func (*RecordSet) GetType

func (x *RecordSet) GetType() string

func (*RecordSet) ProtoMessage

func (*RecordSet) ProtoMessage()

func (*RecordSet) ProtoReflect

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

func (*RecordSet) Reset

func (x *RecordSet) Reset()

func (*RecordSet) String

func (x *RecordSet) String() string

type RecordSet_Record

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

func (*RecordSet_Record) Descriptor deprecated

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

Deprecated: Use RecordSet_Record.ProtoReflect.Descriptor instead.

func (*RecordSet_Record) GetValue

func (x *RecordSet_Record) GetValue() string

func (*RecordSet_Record) ProtoMessage

func (*RecordSet_Record) ProtoMessage()

func (*RecordSet_Record) ProtoReflect

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

func (*RecordSet_Record) Reset

func (x *RecordSet_Record) Reset()

func (*RecordSet_Record) String

func (x *RecordSet_Record) String() string

type RemoteProviderClient

type RemoteProviderClient interface {
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	GetZones(ctx context.Context, in *GetZonesRequest, opts ...grpc.CallOption) (*Zones, error)
	GetZoneState(ctx context.Context, in *GetZoneStateRequest, opts ...grpc.CallOption) (*ZoneState, error)
	Execute(ctx context.Context, in *ExecuteRequest, opts ...grpc.CallOption) (*ExecuteResponse, error)
}

RemoteProviderClient is the client API for RemoteProvider service.

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

type RemoteProviderServer

type RemoteProviderServer interface {
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	GetZones(context.Context, *GetZonesRequest) (*Zones, error)
	GetZoneState(context.Context, *GetZoneStateRequest) (*ZoneState, error)
	Execute(context.Context, *ExecuteRequest) (*ExecuteResponse, error)
	// contains filtered or unexported methods
}

RemoteProviderServer is the server API for RemoteProvider service. All implementations must embed UnimplementedRemoteProviderServer for forward compatibility

type RoutingPolicy added in v0.13.0

type RoutingPolicy struct {
	Type       string            `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Parameters map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RoutingPolicy) Descriptor deprecated added in v0.13.0

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

Deprecated: Use RoutingPolicy.ProtoReflect.Descriptor instead.

func (*RoutingPolicy) GetParameters added in v0.13.0

func (x *RoutingPolicy) GetParameters() map[string]string

func (*RoutingPolicy) GetType added in v0.13.0

func (x *RoutingPolicy) GetType() string

func (*RoutingPolicy) ProtoMessage added in v0.13.0

func (*RoutingPolicy) ProtoMessage()

func (*RoutingPolicy) ProtoReflect added in v0.13.0

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

func (*RoutingPolicy) Reset added in v0.13.0

func (x *RoutingPolicy) Reset()

func (*RoutingPolicy) String added in v0.13.0

func (x *RoutingPolicy) String() string

type UnimplementedRemoteProviderServer

type UnimplementedRemoteProviderServer struct {
}

UnimplementedRemoteProviderServer must be embedded to have forward compatible implementations.

func (UnimplementedRemoteProviderServer) Execute

func (UnimplementedRemoteProviderServer) GetZoneState

func (UnimplementedRemoteProviderServer) GetZones

func (UnimplementedRemoteProviderServer) Login

type UnsafeRemoteProviderServer

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

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

type Zone

type Zone struct {
	Id              string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ProviderType    string   `protobuf:"bytes,2,opt,name=provider_type,json=providerType,proto3" json:"provider_type,omitempty"`
	Key             string   `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	Domain          string   `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
	ForwardedDomain []string `protobuf:"bytes,5,rep,name=forwarded_domain,json=forwardedDomain,proto3" json:"forwarded_domain,omitempty"`
	PrivateZone     bool     `protobuf:"varint,6,opt,name=private_zone,json=privateZone,proto3" json:"private_zone,omitempty"`
	// contains filtered or unexported fields
}

func (*Zone) Descriptor deprecated

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

Deprecated: Use Zone.ProtoReflect.Descriptor instead.

func (*Zone) GetDomain

func (x *Zone) GetDomain() string

func (*Zone) GetForwardedDomain

func (x *Zone) GetForwardedDomain() []string

func (*Zone) GetId

func (x *Zone) GetId() string

func (*Zone) GetKey

func (x *Zone) GetKey() string

func (*Zone) GetPrivateZone

func (x *Zone) GetPrivateZone() bool

func (*Zone) GetProviderType

func (x *Zone) GetProviderType() string

func (*Zone) ProtoMessage

func (*Zone) ProtoMessage()

func (*Zone) ProtoReflect

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

func (*Zone) Reset

func (x *Zone) Reset()

func (*Zone) String

func (x *Zone) String() string

type ZoneState

type ZoneState struct {
	Key     string             `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	DnsSets map[string]*DNSSet `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ZoneState) Descriptor deprecated

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

Deprecated: Use ZoneState.ProtoReflect.Descriptor instead.

func (*ZoneState) GetDnsSets

func (x *ZoneState) GetDnsSets() map[string]*DNSSet

func (*ZoneState) GetKey

func (x *ZoneState) GetKey() string

func (*ZoneState) ProtoMessage

func (*ZoneState) ProtoMessage()

func (*ZoneState) ProtoReflect

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

func (*ZoneState) Reset

func (x *ZoneState) Reset()

func (*ZoneState) String

func (x *ZoneState) String() string

type Zones

type Zones struct {
	Zone []*Zone `protobuf:"bytes,1,rep,name=zone,proto3" json:"zone,omitempty"`
	// contains filtered or unexported fields
}

func (*Zones) Descriptor deprecated

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

Deprecated: Use Zones.ProtoReflect.Descriptor instead.

func (*Zones) GetZone

func (x *Zones) GetZone() []*Zone

func (*Zones) ProtoMessage

func (*Zones) ProtoMessage()

func (*Zones) ProtoReflect

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

func (*Zones) Reset

func (x *Zones) Reset()

func (*Zones) String

func (x *Zones) String() string

Jump to

Keyboard shortcuts

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