apiv1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RecordType_name = map[int32]string{
		0:  "UNKNOWN",
		1:  "A",
		2:  "A6",
		3:  "AAAA",
		4:  "AFSDB",
		5:  "ALIAS",
		6:  "ANY",
		7:  "CAA",
		8:  "CDNSKEY",
		9:  "CDS",
		10: "CERT",
		11: "CNAME",
		12: "DHCID",
		13: "DLV",
		14: "DNAME",
		15: "DNSKEY",
		16: "DS",
		17: "EUI48",
		18: "EUI64",
		19: "HINFO",
		20: "IPSECKEY",
		21: "KEY",
		22: "KX",
		23: "LOC",
		24: "LUA",
		25: "MAILA",
		26: "MAILB",
		27: "MINFO",
		28: "MR",
		29: "MX",
		30: "NAPTR",
		31: "NS",
		32: "NSEC",
		33: "NSEC3",
		34: "NSEC3PARAM",
		35: "OPENPGPKEY",
		36: "PTR",
		37: "RKEY",
		38: "RP",
		39: "RRSIG",
		40: "SIG",
		41: "SMIMEA",
		42: "SOA",
		43: "SPF",
		44: "SRV",
		45: "SSHFP",
		46: "TKEY",
		47: "TLSA",
		48: "TSIG",
		49: "TXT",
		50: "URI",
		51: "WKS",
		52: "ZZZ",
	}
	RecordType_value = map[string]int32{
		"UNKNOWN":    0,
		"A":          1,
		"A6":         2,
		"AAAA":       3,
		"AFSDB":      4,
		"ALIAS":      5,
		"ANY":        6,
		"CAA":        7,
		"CDNSKEY":    8,
		"CDS":        9,
		"CERT":       10,
		"CNAME":      11,
		"DHCID":      12,
		"DLV":        13,
		"DNAME":      14,
		"DNSKEY":     15,
		"DS":         16,
		"EUI48":      17,
		"EUI64":      18,
		"HINFO":      19,
		"IPSECKEY":   20,
		"KEY":        21,
		"KX":         22,
		"LOC":        23,
		"LUA":        24,
		"MAILA":      25,
		"MAILB":      26,
		"MINFO":      27,
		"MR":         28,
		"MX":         29,
		"NAPTR":      30,
		"NS":         31,
		"NSEC":       32,
		"NSEC3":      33,
		"NSEC3PARAM": 34,
		"OPENPGPKEY": 35,
		"PTR":        36,
		"RKEY":       37,
		"RP":         38,
		"RRSIG":      39,
		"SIG":        40,
		"SMIMEA":     41,
		"SOA":        42,
		"SPF":        43,
		"SRV":        44,
		"SSHFP":      45,
		"TKEY":       46,
		"TLSA":       47,
		"TSIG":       48,
		"TXT":        49,
		"URI":        50,
		"WKS":        51,
		"ZZZ":        52,
	}
)

Enum value maps for RecordType.

View Source
var File_api_v1_dns_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Domain

type Domain struct {
	Id          string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Ttl         uint32   `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
	ZoneFile    string   `protobuf:"bytes,4,opt,name=zone_file,json=zoneFile,proto3" json:"zone_file,omitempty"`
	Url         string   `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
	Nameservers []string `protobuf:"bytes,6,rep,name=nameservers,proto3" json:"nameservers,omitempty"`
	// contains filtered or unexported fields
}

func (*Domain) Descriptor deprecated

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

Deprecated: Use Domain.ProtoReflect.Descriptor instead.

func (*Domain) GetId

func (x *Domain) GetId() string

func (*Domain) GetName

func (x *Domain) GetName() string

func (*Domain) GetNameservers

func (x *Domain) GetNameservers() []string

func (*Domain) GetTtl

func (x *Domain) GetTtl() uint32

func (*Domain) GetUrl

func (x *Domain) GetUrl() string

func (*Domain) GetZoneFile

func (x *Domain) GetZoneFile() string

func (*Domain) ProtoMessage

func (*Domain) ProtoMessage()

func (*Domain) ProtoReflect

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

func (*Domain) Reset

func (x *Domain) Reset()

func (*Domain) String

func (x *Domain) String() string

type DomainServiceCreateRequest added in v0.2.0

type DomainServiceCreateRequest struct {
	Name        string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Nameservers []string `protobuf:"bytes,2,rep,name=nameservers,proto3" json:"nameservers,omitempty"`
	Url         *string  `protobuf:"bytes,5,opt,name=url,proto3,oneof" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainServiceCreateRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DomainServiceCreateRequest.ProtoReflect.Descriptor instead.

func (*DomainServiceCreateRequest) GetName added in v0.2.0

func (x *DomainServiceCreateRequest) GetName() string

func (*DomainServiceCreateRequest) GetNameservers added in v0.2.0

func (x *DomainServiceCreateRequest) GetNameservers() []string

func (*DomainServiceCreateRequest) GetUrl added in v0.2.0

func (x *DomainServiceCreateRequest) GetUrl() string

func (*DomainServiceCreateRequest) ProtoMessage added in v0.2.0

func (*DomainServiceCreateRequest) ProtoMessage()

func (*DomainServiceCreateRequest) ProtoReflect added in v0.2.0

func (*DomainServiceCreateRequest) Reset added in v0.2.0

func (x *DomainServiceCreateRequest) Reset()

func (*DomainServiceCreateRequest) String added in v0.2.0

func (x *DomainServiceCreateRequest) String() string

type DomainServiceCreateResponse added in v0.2.0

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

func (*DomainServiceCreateResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DomainServiceCreateResponse.ProtoReflect.Descriptor instead.

func (*DomainServiceCreateResponse) GetDomain added in v0.2.0

func (x *DomainServiceCreateResponse) GetDomain() *Domain

func (*DomainServiceCreateResponse) ProtoMessage added in v0.2.0

func (*DomainServiceCreateResponse) ProtoMessage()

func (*DomainServiceCreateResponse) ProtoReflect added in v0.2.0

func (*DomainServiceCreateResponse) Reset added in v0.2.0

func (x *DomainServiceCreateResponse) Reset()

func (*DomainServiceCreateResponse) String added in v0.2.0

func (x *DomainServiceCreateResponse) String() string

type DomainServiceDeleteRequest added in v0.2.0

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

func (*DomainServiceDeleteRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DomainServiceDeleteRequest.ProtoReflect.Descriptor instead.

func (*DomainServiceDeleteRequest) GetName added in v0.2.0

func (x *DomainServiceDeleteRequest) GetName() string

func (*DomainServiceDeleteRequest) ProtoMessage added in v0.2.0

func (*DomainServiceDeleteRequest) ProtoMessage()

func (*DomainServiceDeleteRequest) ProtoReflect added in v0.2.0

func (*DomainServiceDeleteRequest) Reset added in v0.2.0

func (x *DomainServiceDeleteRequest) Reset()

func (*DomainServiceDeleteRequest) String added in v0.2.0

func (x *DomainServiceDeleteRequest) String() string

type DomainServiceDeleteResponse added in v0.2.0

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

func (*DomainServiceDeleteResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DomainServiceDeleteResponse.ProtoReflect.Descriptor instead.

func (*DomainServiceDeleteResponse) GetDomain added in v0.2.0

func (x *DomainServiceDeleteResponse) GetDomain() *Domain

func (*DomainServiceDeleteResponse) ProtoMessage added in v0.2.0

func (*DomainServiceDeleteResponse) ProtoMessage()

func (*DomainServiceDeleteResponse) ProtoReflect added in v0.2.0

func (*DomainServiceDeleteResponse) Reset added in v0.2.0

func (x *DomainServiceDeleteResponse) Reset()

func (*DomainServiceDeleteResponse) String added in v0.2.0

func (x *DomainServiceDeleteResponse) String() string

type DomainServiceGetRequest added in v0.2.0

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

func (*DomainServiceGetRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DomainServiceGetRequest.ProtoReflect.Descriptor instead.

func (*DomainServiceGetRequest) GetName added in v0.2.0

func (x *DomainServiceGetRequest) GetName() string

func (*DomainServiceGetRequest) ProtoMessage added in v0.2.0

func (*DomainServiceGetRequest) ProtoMessage()

func (*DomainServiceGetRequest) ProtoReflect added in v0.2.0

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

func (*DomainServiceGetRequest) Reset added in v0.2.0

func (x *DomainServiceGetRequest) Reset()

func (*DomainServiceGetRequest) String added in v0.2.0

func (x *DomainServiceGetRequest) String() string

type DomainServiceGetResponse added in v0.2.0

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

func (*DomainServiceGetResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DomainServiceGetResponse.ProtoReflect.Descriptor instead.

func (*DomainServiceGetResponse) GetDomain added in v0.2.0

func (x *DomainServiceGetResponse) GetDomain() *Domain

func (*DomainServiceGetResponse) ProtoMessage added in v0.2.0

func (*DomainServiceGetResponse) ProtoMessage()

func (*DomainServiceGetResponse) ProtoReflect added in v0.2.0

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

func (*DomainServiceGetResponse) Reset added in v0.2.0

func (x *DomainServiceGetResponse) Reset()

func (*DomainServiceGetResponse) String added in v0.2.0

func (x *DomainServiceGetResponse) String() string

type DomainServiceListRequest added in v0.2.0

type DomainServiceListRequest struct {
	Domains []string `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainServiceListRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DomainServiceListRequest.ProtoReflect.Descriptor instead.

func (*DomainServiceListRequest) GetDomains added in v0.2.0

func (x *DomainServiceListRequest) GetDomains() []string

func (*DomainServiceListRequest) ProtoMessage added in v0.2.0

func (*DomainServiceListRequest) ProtoMessage()

func (*DomainServiceListRequest) ProtoReflect added in v0.2.0

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

func (*DomainServiceListRequest) Reset added in v0.2.0

func (x *DomainServiceListRequest) Reset()

func (*DomainServiceListRequest) String added in v0.2.0

func (x *DomainServiceListRequest) String() string

type DomainServiceListResponse added in v0.2.0

type DomainServiceListResponse struct {
	Domains []*Domain `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainServiceListResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DomainServiceListResponse.ProtoReflect.Descriptor instead.

func (*DomainServiceListResponse) GetDomains added in v0.2.0

func (x *DomainServiceListResponse) GetDomains() []*Domain

func (*DomainServiceListResponse) ProtoMessage added in v0.2.0

func (*DomainServiceListResponse) ProtoMessage()

func (*DomainServiceListResponse) ProtoReflect added in v0.2.0

func (*DomainServiceListResponse) Reset added in v0.2.0

func (x *DomainServiceListResponse) Reset()

func (*DomainServiceListResponse) String added in v0.2.0

func (x *DomainServiceListResponse) String() string

type DomainServiceUpdateRequest added in v0.2.0

type DomainServiceUpdateRequest struct {
	Name        string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Nameservers []string `protobuf:"bytes,2,rep,name=nameservers,proto3" json:"nameservers,omitempty"`
	Url         *string  `protobuf:"bytes,5,opt,name=url,proto3,oneof" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainServiceUpdateRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DomainServiceUpdateRequest.ProtoReflect.Descriptor instead.

func (*DomainServiceUpdateRequest) GetName added in v0.2.0

func (x *DomainServiceUpdateRequest) GetName() string

func (*DomainServiceUpdateRequest) GetNameservers added in v0.2.0

func (x *DomainServiceUpdateRequest) GetNameservers() []string

func (*DomainServiceUpdateRequest) GetUrl added in v0.2.0

func (x *DomainServiceUpdateRequest) GetUrl() string

func (*DomainServiceUpdateRequest) ProtoMessage added in v0.2.0

func (*DomainServiceUpdateRequest) ProtoMessage()

func (*DomainServiceUpdateRequest) ProtoReflect added in v0.2.0

func (*DomainServiceUpdateRequest) Reset added in v0.2.0

func (x *DomainServiceUpdateRequest) Reset()

func (*DomainServiceUpdateRequest) String added in v0.2.0

func (x *DomainServiceUpdateRequest) String() string

type DomainServiceUpdateResponse added in v0.2.0

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

func (*DomainServiceUpdateResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DomainServiceUpdateResponse.ProtoReflect.Descriptor instead.

func (*DomainServiceUpdateResponse) GetDomain added in v0.2.0

func (x *DomainServiceUpdateResponse) GetDomain() *Domain

func (*DomainServiceUpdateResponse) ProtoMessage added in v0.2.0

func (*DomainServiceUpdateResponse) ProtoMessage()

func (*DomainServiceUpdateResponse) ProtoReflect added in v0.2.0

func (*DomainServiceUpdateResponse) Reset added in v0.2.0

func (x *DomainServiceUpdateResponse) Reset()

func (*DomainServiceUpdateResponse) String added in v0.2.0

func (x *DomainServiceUpdateResponse) String() string

type Record

type Record struct {
	Type     RecordType `protobuf:"varint,1,opt,name=type,proto3,enum=api.v1.RecordType" json:"type,omitempty"`
	Name     string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Data     string     `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Priority int32      `protobuf:"varint,4,opt,name=priority,proto3" json:"priority,omitempty"`
	Port     uint32     `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"`
	Ttl      uint32     `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"`
	Weight   int32      `protobuf:"varint,7,opt,name=weight,proto3" json:"weight,omitempty"`
	Flags    int32      `protobuf:"varint,8,opt,name=flags,proto3" json:"flags,omitempty"`
	Tag      string     `protobuf:"bytes,9,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*Record) Descriptor deprecated

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

Deprecated: Use Record.ProtoReflect.Descriptor instead.

func (*Record) GetData

func (x *Record) GetData() string

func (*Record) GetFlags

func (x *Record) GetFlags() int32

func (*Record) GetName

func (x *Record) GetName() string

func (*Record) GetPort

func (x *Record) GetPort() uint32

func (*Record) GetPriority

func (x *Record) GetPriority() int32

func (*Record) GetTag

func (x *Record) GetTag() string

func (*Record) GetTtl

func (x *Record) GetTtl() uint32

func (*Record) GetType

func (x *Record) GetType() RecordType

func (*Record) GetWeight

func (x *Record) GetWeight() int32

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) ProtoReflect

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

func (*Record) Reset

func (x *Record) Reset()

func (*Record) String

func (x *Record) String() string

type RecordServiceCreateRequest added in v0.2.0

type RecordServiceCreateRequest struct {
	Type     RecordType `protobuf:"varint,1,opt,name=type,proto3,enum=api.v1.RecordType" json:"type,omitempty"`
	Name     string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Data     string     `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Priority int32      `protobuf:"varint,4,opt,name=priority,proto3" json:"priority,omitempty"`
	Port     uint32     `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"`
	Ttl      uint32     `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"`
	Weight   int32      `protobuf:"varint,7,opt,name=weight,proto3" json:"weight,omitempty"`
	Flags    int32      `protobuf:"varint,8,opt,name=flags,proto3" json:"flags,omitempty"`
	Tag      string     `protobuf:"bytes,9,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordServiceCreateRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use RecordServiceCreateRequest.ProtoReflect.Descriptor instead.

func (*RecordServiceCreateRequest) GetData added in v0.2.0

func (x *RecordServiceCreateRequest) GetData() string

func (*RecordServiceCreateRequest) GetFlags added in v0.2.0

func (x *RecordServiceCreateRequest) GetFlags() int32

func (*RecordServiceCreateRequest) GetName added in v0.2.0

func (x *RecordServiceCreateRequest) GetName() string

func (*RecordServiceCreateRequest) GetPort added in v0.2.0

func (x *RecordServiceCreateRequest) GetPort() uint32

func (*RecordServiceCreateRequest) GetPriority added in v0.2.0

func (x *RecordServiceCreateRequest) GetPriority() int32

func (*RecordServiceCreateRequest) GetTag added in v0.2.0

func (x *RecordServiceCreateRequest) GetTag() string

func (*RecordServiceCreateRequest) GetTtl added in v0.2.0

func (x *RecordServiceCreateRequest) GetTtl() uint32

func (*RecordServiceCreateRequest) GetType added in v0.2.0

func (*RecordServiceCreateRequest) GetWeight added in v0.2.0

func (x *RecordServiceCreateRequest) GetWeight() int32

func (*RecordServiceCreateRequest) ProtoMessage added in v0.2.0

func (*RecordServiceCreateRequest) ProtoMessage()

func (*RecordServiceCreateRequest) ProtoReflect added in v0.2.0

func (*RecordServiceCreateRequest) Reset added in v0.2.0

func (x *RecordServiceCreateRequest) Reset()

func (*RecordServiceCreateRequest) String added in v0.2.0

func (x *RecordServiceCreateRequest) String() string

type RecordServiceCreateResponse added in v0.2.0

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

func (*RecordServiceCreateResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use RecordServiceCreateResponse.ProtoReflect.Descriptor instead.

func (*RecordServiceCreateResponse) GetRecord added in v0.2.0

func (x *RecordServiceCreateResponse) GetRecord() *Record

func (*RecordServiceCreateResponse) ProtoMessage added in v0.2.0

func (*RecordServiceCreateResponse) ProtoMessage()

func (*RecordServiceCreateResponse) ProtoReflect added in v0.2.0

func (*RecordServiceCreateResponse) Reset added in v0.2.0

func (x *RecordServiceCreateResponse) Reset()

func (*RecordServiceCreateResponse) String added in v0.2.0

func (x *RecordServiceCreateResponse) String() string

type RecordServiceDeleteRequest added in v0.2.0

type RecordServiceDeleteRequest struct {
	Type RecordType `protobuf:"varint,1,opt,name=type,proto3,enum=api.v1.RecordType" json:"type,omitempty"`
	Name string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Data string     `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordServiceDeleteRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use RecordServiceDeleteRequest.ProtoReflect.Descriptor instead.

func (*RecordServiceDeleteRequest) GetData added in v0.2.0

func (x *RecordServiceDeleteRequest) GetData() string

func (*RecordServiceDeleteRequest) GetName added in v0.2.0

func (x *RecordServiceDeleteRequest) GetName() string

func (*RecordServiceDeleteRequest) GetType added in v0.2.0

func (*RecordServiceDeleteRequest) ProtoMessage added in v0.2.0

func (*RecordServiceDeleteRequest) ProtoMessage()

func (*RecordServiceDeleteRequest) ProtoReflect added in v0.2.0

func (*RecordServiceDeleteRequest) Reset added in v0.2.0

func (x *RecordServiceDeleteRequest) Reset()

func (*RecordServiceDeleteRequest) String added in v0.2.0

func (x *RecordServiceDeleteRequest) String() string

type RecordServiceDeleteResponse added in v0.2.0

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

func (*RecordServiceDeleteResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use RecordServiceDeleteResponse.ProtoReflect.Descriptor instead.

func (*RecordServiceDeleteResponse) GetRecord added in v0.2.0

func (x *RecordServiceDeleteResponse) GetRecord() *Record

func (*RecordServiceDeleteResponse) ProtoMessage added in v0.2.0

func (*RecordServiceDeleteResponse) ProtoMessage()

func (*RecordServiceDeleteResponse) ProtoReflect added in v0.2.0

func (*RecordServiceDeleteResponse) Reset added in v0.2.0

func (x *RecordServiceDeleteResponse) Reset()

func (*RecordServiceDeleteResponse) String added in v0.2.0

func (x *RecordServiceDeleteResponse) String() string

type RecordServiceGetResponse added in v0.2.0

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

func (*RecordServiceGetResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use RecordServiceGetResponse.ProtoReflect.Descriptor instead.

func (*RecordServiceGetResponse) GetRecord added in v0.2.0

func (x *RecordServiceGetResponse) GetRecord() *Record

func (*RecordServiceGetResponse) ProtoMessage added in v0.2.0

func (*RecordServiceGetResponse) ProtoMessage()

func (*RecordServiceGetResponse) ProtoReflect added in v0.2.0

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

func (*RecordServiceGetResponse) Reset added in v0.2.0

func (x *RecordServiceGetResponse) Reset()

func (*RecordServiceGetResponse) String added in v0.2.0

func (x *RecordServiceGetResponse) String() string

type RecordServiceListRequest added in v0.2.0

type RecordServiceListRequest struct {
	Domain string     `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Type   RecordType `protobuf:"varint,2,opt,name=type,proto3,enum=api.v1.RecordType" json:"type,omitempty"`
	Name   *string    `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordServiceListRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use RecordServiceListRequest.ProtoReflect.Descriptor instead.

func (*RecordServiceListRequest) GetDomain added in v0.2.0

func (x *RecordServiceListRequest) GetDomain() string

func (*RecordServiceListRequest) GetName added in v0.2.0

func (x *RecordServiceListRequest) GetName() string

func (*RecordServiceListRequest) GetType added in v0.2.0

func (x *RecordServiceListRequest) GetType() RecordType

func (*RecordServiceListRequest) ProtoMessage added in v0.2.0

func (*RecordServiceListRequest) ProtoMessage()

func (*RecordServiceListRequest) ProtoReflect added in v0.2.0

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

func (*RecordServiceListRequest) Reset added in v0.2.0

func (x *RecordServiceListRequest) Reset()

func (*RecordServiceListRequest) String added in v0.2.0

func (x *RecordServiceListRequest) String() string

type RecordServiceListResponse added in v0.2.0

type RecordServiceListResponse struct {
	Records []*Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordServiceListResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use RecordServiceListResponse.ProtoReflect.Descriptor instead.

func (*RecordServiceListResponse) GetRecords added in v0.2.0

func (x *RecordServiceListResponse) GetRecords() []*Record

func (*RecordServiceListResponse) ProtoMessage added in v0.2.0

func (*RecordServiceListResponse) ProtoMessage()

func (*RecordServiceListResponse) ProtoReflect added in v0.2.0

func (*RecordServiceListResponse) Reset added in v0.2.0

func (x *RecordServiceListResponse) Reset()

func (*RecordServiceListResponse) String added in v0.2.0

func (x *RecordServiceListResponse) String() string

type RecordServiceUpdateRequest added in v0.2.0

type RecordServiceUpdateRequest struct {
	Uuid     string     `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Type     RecordType `protobuf:"varint,2,opt,name=type,proto3,enum=api.v1.RecordType" json:"type,omitempty"`
	Name     string     `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Data     string     `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	Priority int32      `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"`
	Port     uint32     `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"`
	Ttl      uint32     `protobuf:"varint,7,opt,name=ttl,proto3" json:"ttl,omitempty"`
	Weight   int32      `protobuf:"varint,8,opt,name=weight,proto3" json:"weight,omitempty"`
	Flags    int32      `protobuf:"varint,9,opt,name=flags,proto3" json:"flags,omitempty"`
	Tag      string     `protobuf:"bytes,10,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordServiceUpdateRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use RecordServiceUpdateRequest.ProtoReflect.Descriptor instead.

func (*RecordServiceUpdateRequest) GetData added in v0.2.0

func (x *RecordServiceUpdateRequest) GetData() string

func (*RecordServiceUpdateRequest) GetFlags added in v0.2.0

func (x *RecordServiceUpdateRequest) GetFlags() int32

func (*RecordServiceUpdateRequest) GetName added in v0.2.0

func (x *RecordServiceUpdateRequest) GetName() string

func (*RecordServiceUpdateRequest) GetPort added in v0.2.0

func (x *RecordServiceUpdateRequest) GetPort() uint32

func (*RecordServiceUpdateRequest) GetPriority added in v0.2.0

func (x *RecordServiceUpdateRequest) GetPriority() int32

func (*RecordServiceUpdateRequest) GetTag added in v0.2.0

func (x *RecordServiceUpdateRequest) GetTag() string

func (*RecordServiceUpdateRequest) GetTtl added in v0.2.0

func (x *RecordServiceUpdateRequest) GetTtl() uint32

func (*RecordServiceUpdateRequest) GetType added in v0.2.0

func (*RecordServiceUpdateRequest) GetUuid added in v0.2.0

func (x *RecordServiceUpdateRequest) GetUuid() string

func (*RecordServiceUpdateRequest) GetWeight added in v0.2.0

func (x *RecordServiceUpdateRequest) GetWeight() int32

func (*RecordServiceUpdateRequest) ProtoMessage added in v0.2.0

func (*RecordServiceUpdateRequest) ProtoMessage()

func (*RecordServiceUpdateRequest) ProtoReflect added in v0.2.0

func (*RecordServiceUpdateRequest) Reset added in v0.2.0

func (x *RecordServiceUpdateRequest) Reset()

func (*RecordServiceUpdateRequest) String added in v0.2.0

func (x *RecordServiceUpdateRequest) String() string

type RecordServiceUpdateResponse added in v0.2.0

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

func (*RecordServiceUpdateResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use RecordServiceUpdateResponse.ProtoReflect.Descriptor instead.

func (*RecordServiceUpdateResponse) GetRecord added in v0.2.0

func (x *RecordServiceUpdateResponse) GetRecord() *Record

func (*RecordServiceUpdateResponse) ProtoMessage added in v0.2.0

func (*RecordServiceUpdateResponse) ProtoMessage()

func (*RecordServiceUpdateResponse) ProtoReflect added in v0.2.0

func (*RecordServiceUpdateResponse) Reset added in v0.2.0

func (x *RecordServiceUpdateResponse) Reset()

func (*RecordServiceUpdateResponse) String added in v0.2.0

func (x *RecordServiceUpdateResponse) String() string

type RecordType

type RecordType int32
const (
	RecordType_UNKNOWN    RecordType = 0
	RecordType_A          RecordType = 1
	RecordType_A6         RecordType = 2
	RecordType_AAAA       RecordType = 3
	RecordType_AFSDB      RecordType = 4
	RecordType_ALIAS      RecordType = 5
	RecordType_ANY        RecordType = 6
	RecordType_CAA        RecordType = 7
	RecordType_CDNSKEY    RecordType = 8
	RecordType_CDS        RecordType = 9
	RecordType_CERT       RecordType = 10
	RecordType_CNAME      RecordType = 11
	RecordType_DHCID      RecordType = 12
	RecordType_DLV        RecordType = 13
	RecordType_DNAME      RecordType = 14
	RecordType_DNSKEY     RecordType = 15
	RecordType_DS         RecordType = 16
	RecordType_EUI48      RecordType = 17
	RecordType_EUI64      RecordType = 18
	RecordType_HINFO      RecordType = 19
	RecordType_IPSECKEY   RecordType = 20
	RecordType_KEY        RecordType = 21
	RecordType_KX         RecordType = 22
	RecordType_LOC        RecordType = 23
	RecordType_LUA        RecordType = 24
	RecordType_MAILA      RecordType = 25
	RecordType_MAILB      RecordType = 26
	RecordType_MINFO      RecordType = 27
	RecordType_MR         RecordType = 28
	RecordType_MX         RecordType = 29
	RecordType_NAPTR      RecordType = 30
	RecordType_NS         RecordType = 31
	RecordType_NSEC       RecordType = 32
	RecordType_NSEC3      RecordType = 33
	RecordType_NSEC3PARAM RecordType = 34
	RecordType_OPENPGPKEY RecordType = 35
	RecordType_PTR        RecordType = 36
	RecordType_RKEY       RecordType = 37
	RecordType_RP         RecordType = 38
	RecordType_RRSIG      RecordType = 39
	RecordType_SIG        RecordType = 40
	RecordType_SMIMEA     RecordType = 41
	RecordType_SOA        RecordType = 42
	RecordType_SPF        RecordType = 43
	RecordType_SRV        RecordType = 44
	RecordType_SSHFP      RecordType = 45
	RecordType_TKEY       RecordType = 46
	RecordType_TLSA       RecordType = 47
	RecordType_TSIG       RecordType = 48
	RecordType_TXT        RecordType = 49
	RecordType_URI        RecordType = 50
	RecordType_WKS        RecordType = 51
	// keep this always the highest number
	RecordType_ZZZ RecordType = 52
)

func (RecordType) Descriptor

func (RecordType) Descriptor() protoreflect.EnumDescriptor

func (RecordType) Enum

func (x RecordType) Enum() *RecordType

func (RecordType) EnumDescriptor deprecated

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

Deprecated: Use RecordType.Descriptor instead.

func (RecordType) Number

func (x RecordType) Number() protoreflect.EnumNumber

func (RecordType) String

func (x RecordType) String() string

func (RecordType) Type

type TokenServiceCreateRequest added in v0.2.0

type TokenServiceCreateRequest struct {
	Issuer      string               `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	Domains     []string             `protobuf:"bytes,2,rep,name=domains,proto3" json:"domains,omitempty"`
	Permissions []string             `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	Expires     *durationpb.Duration `protobuf:"bytes,4,opt,name=expires,proto3" json:"expires,omitempty"`
	// contains filtered or unexported fields
}

Tokens

func (*TokenServiceCreateRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use TokenServiceCreateRequest.ProtoReflect.Descriptor instead.

func (*TokenServiceCreateRequest) GetDomains added in v0.2.0

func (x *TokenServiceCreateRequest) GetDomains() []string

func (*TokenServiceCreateRequest) GetExpires added in v0.2.0

func (*TokenServiceCreateRequest) GetIssuer added in v0.2.0

func (x *TokenServiceCreateRequest) GetIssuer() string

func (*TokenServiceCreateRequest) GetPermissions added in v0.2.0

func (x *TokenServiceCreateRequest) GetPermissions() []string

func (*TokenServiceCreateRequest) ProtoMessage added in v0.2.0

func (*TokenServiceCreateRequest) ProtoMessage()

func (*TokenServiceCreateRequest) ProtoReflect added in v0.2.0

func (*TokenServiceCreateRequest) Reset added in v0.2.0

func (x *TokenServiceCreateRequest) Reset()

func (*TokenServiceCreateRequest) String added in v0.2.0

func (x *TokenServiceCreateRequest) String() string

type TokenServiceCreateResponse added in v0.2.0

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

func (*TokenServiceCreateResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use TokenServiceCreateResponse.ProtoReflect.Descriptor instead.

func (*TokenServiceCreateResponse) GetToken added in v0.2.0

func (x *TokenServiceCreateResponse) GetToken() string

func (*TokenServiceCreateResponse) ProtoMessage added in v0.2.0

func (*TokenServiceCreateResponse) ProtoMessage()

func (*TokenServiceCreateResponse) ProtoReflect added in v0.2.0

func (*TokenServiceCreateResponse) Reset added in v0.2.0

func (x *TokenServiceCreateResponse) Reset()

func (*TokenServiceCreateResponse) String added in v0.2.0

func (x *TokenServiceCreateResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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