dns

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package dns is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	DnsPrivateApiService_CreateObject_FullMethodName = "/cloverway.dns.DnsPrivateApiService/CreateObject"
	DnsPrivateApiService_UpdateObject_FullMethodName = "/cloverway.dns.DnsPrivateApiService/UpdateObject"
	DnsPrivateApiService_DeleteObject_FullMethodName = "/cloverway.dns.DnsPrivateApiService/DeleteObject"
)
View Source
const (
	DNSPublicApiService_CreateUserSpec_FullMethodName  = "/cloverway.dns.DNSPublicApiService/CreateUserSpec"
	DNSPublicApiService_ReplaceUserSpec_FullMethodName = "/cloverway.dns.DNSPublicApiService/ReplaceUserSpec"
	DNSPublicApiService_GetUserSpec_FullMethodName     = "/cloverway.dns.DNSPublicApiService/GetUserSpec"
	DNSPublicApiService_ListUserSpec_FullMethodName    = "/cloverway.dns.DNSPublicApiService/ListUserSpec"
	DNSPublicApiService_DeleteUserSpec_FullMethodName  = "/cloverway.dns.DNSPublicApiService/DeleteUserSpec"
)

Variables

View Source
var DNSPublicApiService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cloverway.dns.DNSPublicApiService",
	HandlerType: (*DNSPublicApiServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateUserSpec",
			Handler:    _DNSPublicApiService_CreateUserSpec_Handler,
		},
		{
			MethodName: "ReplaceUserSpec",
			Handler:    _DNSPublicApiService_ReplaceUserSpec_Handler,
		},
		{
			MethodName: "GetUserSpec",
			Handler:    _DNSPublicApiService_GetUserSpec_Handler,
		},
		{
			MethodName: "ListUserSpec",
			Handler:    _DNSPublicApiService_ListUserSpec_Handler,
		},
		{
			MethodName: "DeleteUserSpec",
			Handler:    _DNSPublicApiService_DeleteUserSpec_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "schema/publicapi.proto",
}

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

View Source
var DnsPrivateApiService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cloverway.dns.DnsPrivateApiService",
	HandlerType: (*DnsPrivateApiServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateObject",
			Handler:    _DnsPrivateApiService_CreateObject_Handler,
		},
		{
			MethodName: "UpdateObject",
			Handler:    _DnsPrivateApiService_UpdateObject_Handler,
		},
		{
			MethodName: "DeleteObject",
			Handler:    _DnsPrivateApiService_DeleteObject_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "schema/privateapi.proto",
}

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

View Source
var File_schema_introspec_proto protoreflect.FileDescriptor
View Source
var File_schema_object_proto protoreflect.FileDescriptor
View Source
var File_schema_privateapi_proto protoreflect.FileDescriptor
View Source
var File_schema_publicapi_proto protoreflect.FileDescriptor
View Source
var File_schema_spec_proto protoreflect.FileDescriptor
View Source
var File_schema_status_proto protoreflect.FileDescriptor
View Source
var File_schema_systems_proto protoreflect.FileDescriptor
View Source
var File_schema_types_proto protoreflect.FileDescriptor

Functions

func RegisterDNSPublicApiServiceHandler

func RegisterDNSPublicApiServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterDNSPublicApiServiceHandler registers the http handlers for service DNSPublicApiService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterDNSPublicApiServiceHandlerClient

func RegisterDNSPublicApiServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DNSPublicApiServiceClient) error

RegisterDNSPublicApiServiceHandlerClient registers the http handlers for service DNSPublicApiService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DNSPublicApiServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DNSPublicApiServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DNSPublicApiServiceClient" to call the correct interceptors.

func RegisterDNSPublicApiServiceHandlerFromEndpoint

func RegisterDNSPublicApiServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterDNSPublicApiServiceHandlerFromEndpoint is same as RegisterDNSPublicApiServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterDNSPublicApiServiceHandlerServer

func RegisterDNSPublicApiServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DNSPublicApiServiceServer) error

RegisterDNSPublicApiServiceHandlerServer registers the http handlers for service DNSPublicApiService to "mux". UnaryRPC :call DNSPublicApiServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDNSPublicApiServiceHandlerFromEndpoint instead.

func RegisterDNSPublicApiServiceServer

func RegisterDNSPublicApiServiceServer(s grpc.ServiceRegistrar, srv DNSPublicApiServiceServer)

func RegisterDnsPrivateApiServiceServer

func RegisterDnsPrivateApiServiceServer(s grpc.ServiceRegistrar, srv DnsPrivateApiServiceServer)

Types

type CreateObjectSpecRequest

type CreateObjectSpecRequest struct {
	Config *Object `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateObjectSpecRequest) Descriptor deprecated

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

Deprecated: Use CreateObjectSpecRequest.ProtoReflect.Descriptor instead.

func (*CreateObjectSpecRequest) GetConfig

func (x *CreateObjectSpecRequest) GetConfig() *Object

func (*CreateObjectSpecRequest) ProtoMessage

func (*CreateObjectSpecRequest) ProtoMessage()

func (*CreateObjectSpecRequest) ProtoReflect

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

func (*CreateObjectSpecRequest) Reset

func (x *CreateObjectSpecRequest) Reset()

func (*CreateObjectSpecRequest) String

func (x *CreateObjectSpecRequest) String() string

type CreateObjectSpecResponse

type CreateObjectSpecResponse struct {
	Config *Object `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	Uuid   string  `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateObjectSpecResponse) Descriptor deprecated

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

Deprecated: Use CreateObjectSpecResponse.ProtoReflect.Descriptor instead.

func (*CreateObjectSpecResponse) GetConfig

func (x *CreateObjectSpecResponse) GetConfig() *Object

func (*CreateObjectSpecResponse) GetUuid

func (x *CreateObjectSpecResponse) GetUuid() string

func (*CreateObjectSpecResponse) ProtoMessage

func (*CreateObjectSpecResponse) ProtoMessage()

func (*CreateObjectSpecResponse) ProtoReflect

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

func (*CreateObjectSpecResponse) Reset

func (x *CreateObjectSpecResponse) Reset()

func (*CreateObjectSpecResponse) String

func (x *CreateObjectSpecResponse) String() string

type CreatePrimaryDNSConfigRequest

type CreatePrimaryDNSConfigRequest struct {
	Config *UserSpecType `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePrimaryDNSConfigRequest) Descriptor deprecated

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

Deprecated: Use CreatePrimaryDNSConfigRequest.ProtoReflect.Descriptor instead.

func (*CreatePrimaryDNSConfigRequest) GetConfig

func (*CreatePrimaryDNSConfigRequest) ProtoMessage

func (*CreatePrimaryDNSConfigRequest) ProtoMessage()

func (*CreatePrimaryDNSConfigRequest) ProtoReflect

func (*CreatePrimaryDNSConfigRequest) Reset

func (x *CreatePrimaryDNSConfigRequest) Reset()

func (*CreatePrimaryDNSConfigRequest) String

type CreatePrimaryDNSConfigResponse

type CreatePrimaryDNSConfigResponse struct {
	Id     string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Config *UserSpecType `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePrimaryDNSConfigResponse) Descriptor deprecated

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

Deprecated: Use CreatePrimaryDNSConfigResponse.ProtoReflect.Descriptor instead.

func (*CreatePrimaryDNSConfigResponse) GetConfig

func (*CreatePrimaryDNSConfigResponse) GetId

func (*CreatePrimaryDNSConfigResponse) ProtoMessage

func (*CreatePrimaryDNSConfigResponse) ProtoMessage()

func (*CreatePrimaryDNSConfigResponse) ProtoReflect

func (*CreatePrimaryDNSConfigResponse) Reset

func (x *CreatePrimaryDNSConfigResponse) Reset()

func (*CreatePrimaryDNSConfigResponse) String

type DNSAAAAResourceRecord

type DNSAAAAResourceRecord struct {

	// Record Name
	//
	// x-displayName: "Record Name (Excluding Domain name)"
	// x-example: "www or mail or * or corp.web or *.b"
	// AAAA Record name, please provide only the specific subdomain or record name without the base domain.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// IPv6 addresses
	//
	// x-displayName: "IPv6 Addresses"
	// x-example: "2001:0db8:85a3:0000:0000:8a2e:0370:7334"
	// x-required
	// A valid IPv6 address, for example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
	Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

DNSAAAAResourceRecord

x-displayName: "DNSAAAAResourceRecord" RecordSet for AAAA Records

func (*DNSAAAAResourceRecord) Descriptor deprecated

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

Deprecated: Use DNSAAAAResourceRecord.ProtoReflect.Descriptor instead.

func (*DNSAAAAResourceRecord) GetName

func (x *DNSAAAAResourceRecord) GetName() string

func (*DNSAAAAResourceRecord) GetValues

func (x *DNSAAAAResourceRecord) GetValues() []string

func (*DNSAAAAResourceRecord) ProtoMessage

func (*DNSAAAAResourceRecord) ProtoMessage()

func (*DNSAAAAResourceRecord) ProtoReflect

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

func (*DNSAAAAResourceRecord) Reset

func (x *DNSAAAAResourceRecord) Reset()

func (*DNSAAAAResourceRecord) String

func (x *DNSAAAAResourceRecord) String() string

type DNSAResourceRecord

type DNSAResourceRecord struct {

	// Record Name
	//
	// x-displayName: "Record Name (Excluding Domain name)"
	// x-example: "www or mail or * or corp.web or *.b"
	// A Record name, please provide only the specific subdomain or record name without the base domain.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// IPv4 addresses
	//
	// x-displayName: "IPv4 Addresses"
	// x-example: "1.1.1.1"
	// x-required
	// A valid IPv4 address, for example: 1.1.1.1
	Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

DNSAResourceRecord

x-displayName: "DNSAResourceRecord" A Records

func (*DNSAResourceRecord) Descriptor deprecated

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

Deprecated: Use DNSAResourceRecord.ProtoReflect.Descriptor instead.

func (*DNSAResourceRecord) GetName

func (x *DNSAResourceRecord) GetName() string

func (*DNSAResourceRecord) GetValues

func (x *DNSAResourceRecord) GetValues() []string

func (*DNSAResourceRecord) ProtoMessage

func (*DNSAResourceRecord) ProtoMessage()

func (*DNSAResourceRecord) ProtoReflect

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

func (*DNSAResourceRecord) Reset

func (x *DNSAResourceRecord) Reset()

func (*DNSAResourceRecord) String

func (x *DNSAResourceRecord) String() string

type DNSPublicApiServiceClient

DNSPublicApiServiceClient is the client API for DNSPublicApiService 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 DNSPublicApiServiceServer

DNSPublicApiServiceServer is the server API for DNSPublicApiService service. All implementations must embed UnimplementedDNSPublicApiServiceServer for forward compatibility

type DeleteDNSConfigRequest

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

func (*DeleteDNSConfigRequest) Descriptor deprecated

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

Deprecated: Use DeleteDNSConfigRequest.ProtoReflect.Descriptor instead.

func (*DeleteDNSConfigRequest) GetId

func (x *DeleteDNSConfigRequest) GetId() string

func (*DeleteDNSConfigRequest) ProtoMessage

func (*DeleteDNSConfigRequest) ProtoMessage()

func (*DeleteDNSConfigRequest) ProtoReflect

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

func (*DeleteDNSConfigRequest) Reset

func (x *DeleteDNSConfigRequest) Reset()

func (*DeleteDNSConfigRequest) String

func (x *DeleteDNSConfigRequest) String() string

type DeleteObjectSpecRequest

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

func (*DeleteObjectSpecRequest) Descriptor deprecated

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

Deprecated: Use DeleteObjectSpecRequest.ProtoReflect.Descriptor instead.

func (*DeleteObjectSpecRequest) GetUuid

func (x *DeleteObjectSpecRequest) GetUuid() string

func (*DeleteObjectSpecRequest) ProtoMessage

func (*DeleteObjectSpecRequest) ProtoMessage()

func (*DeleteObjectSpecRequest) ProtoReflect

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

func (*DeleteObjectSpecRequest) Reset

func (x *DeleteObjectSpecRequest) Reset()

func (*DeleteObjectSpecRequest) String

func (x *DeleteObjectSpecRequest) String() string

type DnsPrivateApiServiceClient

type DnsPrivateApiServiceClient interface {
	CreateObject(ctx context.Context, in *CreateObjectSpecRequest, opts ...grpc.CallOption) (*CreateObjectSpecResponse, error)
	UpdateObject(ctx context.Context, in *UpdateObjectSpecRequest, opts ...grpc.CallOption) (*UpdateObjectSpecResponse, error)
	DeleteObject(ctx context.Context, in *DeleteObjectSpecRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

DnsPrivateApiServiceClient is the client API for DnsPrivateApiService 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 DnsPrivateApiServiceServer

type DnsPrivateApiServiceServer interface {
	CreateObject(context.Context, *CreateObjectSpecRequest) (*CreateObjectSpecResponse, error)
	UpdateObject(context.Context, *UpdateObjectSpecRequest) (*UpdateObjectSpecResponse, error)
	DeleteObject(context.Context, *DeleteObjectSpecRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

DnsPrivateApiServiceServer is the server API for DnsPrivateApiService service. All implementations must embed UnimplementedDnsPrivateApiServiceServer for forward compatibility

type GetPrimaryDNSConfigRequest

type GetPrimaryDNSConfigRequest struct {
	Id     string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Config *UserSpecType `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPrimaryDNSConfigRequest) Descriptor deprecated

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

Deprecated: Use GetPrimaryDNSConfigRequest.ProtoReflect.Descriptor instead.

func (*GetPrimaryDNSConfigRequest) GetConfig

func (x *GetPrimaryDNSConfigRequest) GetConfig() *UserSpecType

func (*GetPrimaryDNSConfigRequest) GetId

func (*GetPrimaryDNSConfigRequest) ProtoMessage

func (*GetPrimaryDNSConfigRequest) ProtoMessage()

func (*GetPrimaryDNSConfigRequest) ProtoReflect

func (*GetPrimaryDNSConfigRequest) Reset

func (x *GetPrimaryDNSConfigRequest) Reset()

func (*GetPrimaryDNSConfigRequest) String

func (x *GetPrimaryDNSConfigRequest) String() string

type GetPrimaryDNSConfigResponse

type GetPrimaryDNSConfigResponse struct {
	Id     string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Config *UserSpecType `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPrimaryDNSConfigResponse) Descriptor deprecated

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

Deprecated: Use GetPrimaryDNSConfigResponse.ProtoReflect.Descriptor instead.

func (*GetPrimaryDNSConfigResponse) GetConfig

func (x *GetPrimaryDNSConfigResponse) GetConfig() *UserSpecType

func (*GetPrimaryDNSConfigResponse) GetId

func (*GetPrimaryDNSConfigResponse) ProtoMessage

func (*GetPrimaryDNSConfigResponse) ProtoMessage()

func (*GetPrimaryDNSConfigResponse) ProtoReflect

func (*GetPrimaryDNSConfigResponse) Reset

func (x *GetPrimaryDNSConfigResponse) Reset()

func (*GetPrimaryDNSConfigResponse) String

func (x *GetPrimaryDNSConfigResponse) String() string

type InitializersType

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

func (*InitializersType) Descriptor deprecated

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

Deprecated: Use InitializersType.ProtoReflect.Descriptor instead.

func (*InitializersType) ProtoMessage

func (*InitializersType) ProtoMessage()

func (*InitializersType) ProtoReflect

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

func (*InitializersType) Reset

func (x *InitializersType) Reset()

func (*InitializersType) String

func (x *InitializersType) String() string

type InnerMessage

type InnerMessage struct {

	// some_integer can only be in range (1, 100).
	SomeInteger int32 `protobuf:"varint,1,opt,name=some_integer,json=someInteger,proto3" json:"some_integer,omitempty"`
	// contains filtered or unexported fields
}

func (*InnerMessage) Descriptor deprecated

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

Deprecated: Use InnerMessage.ProtoReflect.Descriptor instead.

func (*InnerMessage) GetSomeInteger

func (x *InnerMessage) GetSomeInteger() int32

func (*InnerMessage) ProtoMessage

func (*InnerMessage) ProtoMessage()

func (*InnerMessage) ProtoReflect

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

func (*InnerMessage) Reset

func (x *InnerMessage) Reset()

func (*InnerMessage) String

func (x *InnerMessage) String() string

type ListPrimaryDNSConfigRequest

type ListPrimaryDNSConfigRequest struct {
	Id     string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Config *UserSpecType `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPrimaryDNSConfigRequest) Descriptor deprecated

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

Deprecated: Use ListPrimaryDNSConfigRequest.ProtoReflect.Descriptor instead.

func (*ListPrimaryDNSConfigRequest) GetConfig

func (x *ListPrimaryDNSConfigRequest) GetConfig() *UserSpecType

func (*ListPrimaryDNSConfigRequest) GetId

func (*ListPrimaryDNSConfigRequest) ProtoMessage

func (*ListPrimaryDNSConfigRequest) ProtoMessage()

func (*ListPrimaryDNSConfigRequest) ProtoReflect

func (*ListPrimaryDNSConfigRequest) Reset

func (x *ListPrimaryDNSConfigRequest) Reset()

func (*ListPrimaryDNSConfigRequest) String

func (x *ListPrimaryDNSConfigRequest) String() string

type ListPrimaryDNSConfigResponse

type ListPrimaryDNSConfigResponse struct {
	Id     string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Config *UserSpecType `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPrimaryDNSConfigResponse) Descriptor deprecated

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

Deprecated: Use ListPrimaryDNSConfigResponse.ProtoReflect.Descriptor instead.

func (*ListPrimaryDNSConfigResponse) GetConfig

func (*ListPrimaryDNSConfigResponse) GetId

func (*ListPrimaryDNSConfigResponse) ProtoMessage

func (*ListPrimaryDNSConfigResponse) ProtoMessage()

func (*ListPrimaryDNSConfigResponse) ProtoReflect

func (*ListPrimaryDNSConfigResponse) Reset

func (x *ListPrimaryDNSConfigResponse) Reset()

func (*ListPrimaryDNSConfigResponse) String

type Object

type Object struct {

	// metadata
	//
	// x-displayName: "Metadata"
	// Standard object's metadata
	Metadata *ObjectMetaType `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// system_metadata
	//
	// x-displayName: "System Metadata"
	// System generated object's metadata
	SystemMetadata *SystemObjectMetaType `protobuf:"bytes,2,opt,name=system_metadata,json=systemMetadata,proto3" json:"system_metadata,omitempty"`
	// spec
	//
	// x-displayName: "Spec"
	// Specification of the desired behavior of the data_group_config
	Spec *SpecType `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

DNS Config Object

x-displayName: "DNS Config Object" DNS Config Object represents user intent for hosting config service DNS Config Object

func (*Object) Descriptor deprecated

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

Deprecated: Use Object.ProtoReflect.Descriptor instead.

func (*Object) GetMetadata

func (x *Object) GetMetadata() *ObjectMetaType

func (*Object) GetSpec

func (x *Object) GetSpec() *SpecType

func (*Object) GetSystemMetadata

func (x *Object) GetSystemMetadata() *SystemObjectMetaType

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) ProtoReflect

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

func (*Object) Reset

func (x *Object) Reset()

func (*Object) String

func (x *Object) String() string

type ObjectMetaType

type ObjectMetaType struct {

	// name
	//
	// x-displayName: "Name"
	// x-example: "acmecorp-web"
	// x-required
	// This is the name of configuration object. It has to be unique within the namespace.
	// It can only be specified during create API and cannot be changed during replace API.
	// The value of name has to follow DNS-1035 format.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// namespace
	//
	// x-displayName: "Namespace"
	// x-example: "staging"
	// This defines the workspace within which each the configuration object is to be created.
	// Must be a DNS_LABEL format. For a namespace object itself, namespace value will be ""
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// tenant
	//
	// x-displayName: "Tenant"
	// x-example: "acmecorp"
	// Tenant to which this configuration object belongs to. The value for this is found from
	// presented credentials.
	Tenant string `protobuf:"bytes,8,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// uid
	//
	// x-displayName: "UID"
	// x-example: "d15f1fad-4d37-48c0-8706-df1824d76d31"
	// uid is the unique in time and space value for this object. Object create will fail if
	// provided by the client and the value exists in the system. Typically generated by the
	// server on successful creation of an object and is not allowed to change once populated.
	// Shadowed by SystemObjectMeta's uid field.
	Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
	// labels
	//
	// x-displayName: "Labels"
	// x-example: "value"
	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects as chosen by the user. Values specified here will be used
	// by selector expression
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// annotations
	//
	// x-displayName: "Annotations"
	// x-example: "value"
	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata. They are not
	// queryable and should be preserved when modifying objects.
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// description
	//
	// x-displayName: "Description"
	// x-example: "Virtual Host for acmecorp website"
	// Human readable description for the object
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// disable
	//
	// x-displayName: "Disable"
	// x-example: "true"
	// A value of true will administratively disable the object
	Disable bool `protobuf:"varint,7,opt,name=disable,proto3" json:"disable,omitempty"`
	// contains filtered or unexported fields
}

ObjectMetaType

x-displayName: "Metadata" ObjectMetaType is metadata(common attributes) of an object that all configuration objects will have. The information in this type can be specified by user during create and replace APIs.

func (*ObjectMetaType) Descriptor deprecated

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

Deprecated: Use ObjectMetaType.ProtoReflect.Descriptor instead.

func (*ObjectMetaType) GetAnnotations

func (x *ObjectMetaType) GetAnnotations() map[string]string

func (*ObjectMetaType) GetDescription

func (x *ObjectMetaType) GetDescription() string

func (*ObjectMetaType) GetDisable

func (x *ObjectMetaType) GetDisable() bool

func (*ObjectMetaType) GetLabels

func (x *ObjectMetaType) GetLabels() map[string]string

func (*ObjectMetaType) GetName

func (x *ObjectMetaType) GetName() string

func (*ObjectMetaType) GetNamespace

func (x *ObjectMetaType) GetNamespace() string

func (*ObjectMetaType) GetTenant

func (x *ObjectMetaType) GetTenant() string

func (*ObjectMetaType) GetUid

func (x *ObjectMetaType) GetUid() string

func (*ObjectMetaType) ProtoMessage

func (*ObjectMetaType) ProtoMessage()

func (*ObjectMetaType) ProtoReflect

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

func (*ObjectMetaType) Reset

func (x *ObjectMetaType) Reset()

func (*ObjectMetaType) String

func (x *ObjectMetaType) String() string

type ObjectRefType

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

func (*ObjectRefType) Descriptor deprecated

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

Deprecated: Use ObjectRefType.ProtoReflect.Descriptor instead.

func (*ObjectRefType) ProtoMessage

func (*ObjectRefType) ProtoMessage()

func (*ObjectRefType) ProtoReflect

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

func (*ObjectRefType) Reset

func (x *ObjectRefType) Reset()

func (*ObjectRefType) String

func (x *ObjectRefType) String() string

type OuterMessage

type OuterMessage struct {

	// important_string must be a lowercase alpha-numeric of 5 to 30 characters (RE2 syntax).
	ImportantString string `protobuf:"bytes,1,opt,name=important_string,json=importantString,proto3" json:"important_string,omitempty"`
	// proto3 doesn't have `required`, the `msg_exist` enforces presence of InnerMessage.
	Inner *InnerMessage `protobuf:"bytes,2,opt,name=inner,proto3" json:"inner,omitempty"`
	// contains filtered or unexported fields
}

func (*OuterMessage) Descriptor deprecated

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

Deprecated: Use OuterMessage.ProtoReflect.Descriptor instead.

func (*OuterMessage) GetImportantString

func (x *OuterMessage) GetImportantString() string

func (*OuterMessage) GetInner

func (x *OuterMessage) GetInner() *InnerMessage

func (*OuterMessage) ProtoMessage

func (*OuterMessage) ProtoMessage()

func (*OuterMessage) ProtoReflect

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

func (*OuterMessage) Reset

func (x *OuterMessage) Reset()

func (*OuterMessage) String

func (x *OuterMessage) String() string

type RRSet

type RRSet struct {

	// TTL
	//
	// x-displayName: "Time to live"
	// x-example: "3600"
	Ttl uint32 `protobuf:"varint,1,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// Record Set
	//
	// x-displayName: "Record Set"
	// x-required
	//
	// Types that are assignable to TypeRecordSet:
	//
	//	*RRSet_ARecord
	//	*RRSet_AaaaRecord
	TypeRecordSet isRRSet_TypeRecordSet `protobuf_oneof:"type_record_set"`
	// Comment
	//
	// x-example: "Comment"
	// x-displayName: "Comment"
	Description string `protobuf:"bytes,90,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*RRSet) Descriptor deprecated

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

Deprecated: Use RRSet.ProtoReflect.Descriptor instead.

func (*RRSet) GetARecord

func (x *RRSet) GetARecord() *DNSAResourceRecord

func (*RRSet) GetAaaaRecord

func (x *RRSet) GetAaaaRecord() *DNSAAAAResourceRecord

func (*RRSet) GetDescription

func (x *RRSet) GetDescription() string

func (*RRSet) GetTtl

func (x *RRSet) GetTtl() uint32

func (*RRSet) GetTypeRecordSet

func (m *RRSet) GetTypeRecordSet() isRRSet_TypeRecordSet

func (*RRSet) ProtoMessage

func (*RRSet) ProtoMessage()

func (*RRSet) ProtoReflect

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

func (*RRSet) Reset

func (x *RRSet) Reset()

func (*RRSet) String

func (x *RRSet) String() string

type RRSetGroup

type RRSetGroup struct {

	// metadata
	//
	// x-displayName: "Metadata"
	// x-required
	Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Record Sets
	//
	// x-displayName: "Resource Record Sets"
	// Collection of DNS resource record sets
	RrSet []*RRSet `protobuf:"bytes,2,rep,name=rr_set,json=rrSet,proto3" json:"rr_set,omitempty"`
	// contains filtered or unexported fields
}

Logical Group of Resource Record Sets

x-displayName: "Group of Resource Record Sets"

func (*RRSetGroup) Descriptor deprecated

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

Deprecated: Use RRSetGroup.ProtoReflect.Descriptor instead.

func (*RRSetGroup) GetMetadata

func (x *RRSetGroup) GetMetadata() string

func (*RRSetGroup) GetRrSet

func (x *RRSetGroup) GetRrSet() []*RRSet

func (*RRSetGroup) ProtoMessage

func (*RRSetGroup) ProtoMessage()

func (*RRSetGroup) ProtoReflect

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

func (*RRSetGroup) Reset

func (x *RRSetGroup) Reset()

func (*RRSetGroup) String

func (x *RRSetGroup) String() string

type RRSet_ARecord

type RRSet_ARecord struct {
	// A Record
	//
	// x-displayName: "A"
	ARecord *DNSAResourceRecord `protobuf:"bytes,13,opt,name=a_record,json=aRecord,proto3,oneof"`
}

type RRSet_AaaaRecord

type RRSet_AaaaRecord struct {
	// AAAA Record
	//
	// x-displayName: "AAAA"
	AaaaRecord *DNSAAAAResourceRecord `protobuf:"bytes,14,opt,name=aaaa_record,json=aaaaRecord,proto3,oneof"`
}

type SOARecordParameterConfig

type SOARecordParameterConfig struct {

	// Refresh (in seconds)
	//
	// x-displayName: "Refresh interval"
	// x-example: "86400"
	// refresh value indicates when secondary nameservers should query for the SOA record to detect zone changes
	Refresh uint32 `protobuf:"varint,1,opt,name=refresh,proto3" json:"refresh,omitempty"`
	// Retry (in seconds)
	//
	// x-displayName: "Retry interval"
	// x-example: "7200"
	// retry value indicates when secondary nameservers should retry to request the serial number if primary does not respond
	Retry uint32 `protobuf:"varint,2,opt,name=retry,proto3" json:"retry,omitempty"`
	// Expire (in seconds)
	//
	// x-displayName: "Expire"
	// x-example: "360000"
	// expire value indicates when secondary nameservers should stop answering request for this zone if primary does not respond
	Expire uint32 `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"`
	// Negative TTL (in seconds)
	//
	// x-displayName: "Negative TTL"
	// x-example: "1800"
	// negative ttl value indicates how long to cache non-existent resource record for this zone
	NegativeTtl uint32 `protobuf:"varint,4,opt,name=negative_ttl,json=negativeTtl,proto3" json:"negative_ttl,omitempty"`
	// TTL
	//
	// x-displayName: "TTL"
	// x-example: "86400"
	// SOA record time to live (in seconds)
	Ttl uint32 `protobuf:"varint,5,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

SOARecordParameterConfig

x-displayName: "SOARecordParameterConfig"

func (*SOARecordParameterConfig) Descriptor deprecated

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

Deprecated: Use SOARecordParameterConfig.ProtoReflect.Descriptor instead.

func (*SOARecordParameterConfig) GetExpire

func (x *SOARecordParameterConfig) GetExpire() uint32

func (*SOARecordParameterConfig) GetNegativeTtl

func (x *SOARecordParameterConfig) GetNegativeTtl() uint32

func (*SOARecordParameterConfig) GetRefresh

func (x *SOARecordParameterConfig) GetRefresh() uint32

func (*SOARecordParameterConfig) GetRetry

func (x *SOARecordParameterConfig) GetRetry() uint32

func (*SOARecordParameterConfig) GetTtl

func (x *SOARecordParameterConfig) GetTtl() uint32

func (*SOARecordParameterConfig) ProtoMessage

func (*SOARecordParameterConfig) ProtoMessage()

func (*SOARecordParameterConfig) ProtoReflect

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

func (*SOARecordParameterConfig) Reset

func (x *SOARecordParameterConfig) Reset()

func (*SOARecordParameterConfig) String

func (x *SOARecordParameterConfig) String() string

type SpecType

type SpecType struct {

	// gc_spec
	//
	// x-displayName: "GC Spec"
	UserSpec *UserSpecType `protobuf:"bytes,2,opt,name=user_spec,json=userSpec,proto3" json:"user_spec,omitempty"`
	// contains filtered or unexported fields
}

Data Group specification

x-displayName: "Specification" Data Group specification

func (*SpecType) Descriptor deprecated

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

Deprecated: Use SpecType.ProtoReflect.Descriptor instead.

func (*SpecType) GetUserSpec

func (x *SpecType) GetUserSpec() *UserSpecType

func (*SpecType) ProtoMessage

func (*SpecType) ProtoMessage()

func (*SpecType) ProtoReflect

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

func (*SpecType) Reset

func (x *SpecType) Reset()

func (*SpecType) String

func (x *SpecType) String() string

type SystemObjectMetaType

type SystemObjectMetaType struct {

	// uid
	//
	// x-displayName: "UID"
	// x-example: "d15f1fad-4d37-48c0-8706-df1824d76d31"
	// uid is the unique in time and space value for this object. It is generated by
	// the server on successful creation of an object and is not allowed to change on Replace
	// API. The value of is taken from uid field of ObjectMetaType, if provided.
	Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// Resource Version
	//
	// x-displayName: "Resource Version"
	// x-example: ""
	// Resource Version is the unique in time and space value for this object. It is generated by
	// the server on successful update of an object.
	ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// creation_timestamp
	//
	// x-displayName: "Creation Timestamp"
	// CreationTimestamp is a timestamp representing the server time when this object was
	// created. It is not guaranteed to be set in happens-before order across separate operations.
	// Clients may not set this value. It is represented in RFC3339 form and is in UTC.
	CreationTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp,omitempty"`
	// deletion_timestamp
	//
	// x-displayName: "Deletion Timestamp"
	// DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
	// field is set by the server when a graceful deletion is requested by the user, and is not
	// directly settable by a client. The resource is expected to be deleted (no longer visible
	// from resource lists, and not reachable by name) after the time in this field, once the
	// finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
	// Once the deletionTimestamp is set, this value may not be unset or be set further into the
	// future, although it may be shortened or the resource may be deleted prior to this time.
	// For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
	// by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
	// the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
	// remove the pod from the API. In the presence of network partitions, this object may still
	// exist after this timestamp, until an administrator or automated process can determine the
	// resource is fully terminated.
	// If not set, graceful deletion of the object has not been requested.
	//
	// Populated by the system when a graceful deletion is requested.
	// Read-only.
	DeletionTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deletion_timestamp,json=deletionTimestamp,proto3" json:"deletion_timestamp,omitempty"`
	// modification_timestamp
	//
	// x-displayName: "Modification Timestamp"
	// ModificationTimestamp is a timestamp representing the server time when this object was
	// last modified.
	ModificationTimestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=modification_timestamp,json=modificationTimestamp,proto3" json:"modification_timestamp,omitempty"`
	// initializers
	//
	// x-displayName: "Initializers"
	// An initializer is a controller which enforces some system invariant at object creation time.
	// This field is a list of initializers that have not yet acted on this object. If nil or empty,
	// this object has been completely initialized. Otherwise, the object is considered uninitialized
	// and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
	// observe uninitialized objects.
	//
	// When an object is created, the system will populate this list with the current set of initializers.
	// Only privileged users may set or modify this list. Once it is empty, it may not be modified further
	// by any user.
	Initializers *InitializersType `protobuf:"bytes,6,opt,name=initializers,proto3" json:"initializers,omitempty"`
	// finalizers
	//
	// x-displayName: "Finalizers"
	// x-example: "value"
	// Must be empty before the object is deleted from the registry. Each entry
	// is an identifier for the responsible component that will remove the entry
	// from the list. If the deletionTimestamp of the object is non-nil, entries
	// in this list can only be removed.
	Finalizers []string `protobuf:"bytes,7,rep,name=finalizers,proto3" json:"finalizers,omitempty"`
	// tenant
	//
	// x-displayName: "Tenant"
	// x-example: "acmecorp"
	// Tenant to which this configuration object belongs to. The value for this is found from
	// presented credentials.
	Tenant string `protobuf:"bytes,8,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// creator_class
	//
	// x-displayName: "Creator Class"
	// x-example: "value"
	// A value identifying the class of the user or service which created this configuration object.
	CreatorClass string `protobuf:"bytes,9,opt,name=creator_class,json=creatorClass,proto3" json:"creator_class,omitempty"`
	// creator_id
	//
	// x-displayName: "Creator ID"
	// x-example: "value"
	// A value identifying the exact user or service that created this configuration object
	CreatorId string `protobuf:"bytes,10,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	// creator_cookie
	//
	// x-displayName: "Creator Cookie"
	// x-example: "value"
	// This can used by the creator of the object for later audit for e.g. by storing the
	// version identifying information of the object so at future it can be determined if
	// version present at remote end is current or stale.
	CreatorCookie string `protobuf:"bytes,14,opt,name=creator_cookie,json=creatorCookie,proto3" json:"creator_cookie,omitempty"`
	// trace_info
	//
	// x-displayName: "Trace Info"
	// x-example: "value"
	// trace_info holds information(<trace-id>:<span-id>:<parent-span-id>) of the request doing
	// the object modification. This can be used on the watch side to create subsequent spans.
	// This information can be used to co-relate activities across services (modulo state compression)
	// for a synchronous API.
	TraceInfo string `protobuf:"bytes,11,opt,name=trace_info,json=traceInfo,proto3" json:"trace_info,omitempty"`
	// object_index
	//
	// x-displayName: "Object Index"
	// x-example: "0"
	// Unique index for the object. Some objects need a unique integer index to be allocated
	// for each object type. This field will be populated for all objects that need it and will
	// be zero otherwise.
	ObjectIndex uint32 `protobuf:"varint,12,opt,name=object_index,json=objectIndex,proto3" json:"object_index,omitempty"`
	// namespace
	//
	// x-displayName: "Namespace Reference"
	// The namespace this object belongs to. This is populated by the service based on the
	// metadata.namespace field when an object is created.
	Namespace []*ObjectRefType `protobuf:"bytes,13,rep,name=namespace,proto3" json:"namespace,omitempty"`
	// owner_view
	//
	// x-displayName: "Owner View"
	// Reference to the view object that owns this object.
	// If there is no view owner, this field will be nil.
	// If not nil, this object can only be edited/deleted through the view
	OwnerView *ViewRefType `protobuf:"bytes,15,opt,name=owner_view,json=ownerView,proto3" json:"owner_view,omitempty"`
	// sre_disable
	//
	// x-displayName: "SRE Disable"
	// x-example: "true"
	// This should be set to true If VES/SRE operator wants to suppress an object from being
	// presented to business-logic of a daemon(e.g. due to bad-form/issue-causing Object).
	// This is meant only to be used in temporary situations for operational continuity till
	// a fix is rolled out in business-logic.
	SreDisable bool `protobuf:"varint,16,opt,name=sre_disable,json=sreDisable,proto3" json:"sre_disable,omitempty"`
	// vtrp_id
	//
	// x-displayName: "VTRP ID"
	// Indicate origin of this object.
	VtrpId string `protobuf:"bytes,17,opt,name=vtrp_id,json=vtrpId,proto3" json:"vtrp_id,omitempty"`
	// vtrp_stale
	//
	// x-displayName: "VTRP Stale"
	// Indicate whether mars deems this object to be stale via graceful restart timer information
	VtrpStale bool `protobuf:"varint,18,opt,name=vtrp_stale,json=vtrpStale,proto3" json:"vtrp_stale,omitempty"`
	// labels
	//
	// x-displayName: "Labels"
	// x-example: "'ves.io/soft-deleted': 'true'"
	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects as chosen by the operator or software. Values here can be interpreted
	// by software(backend or frontend) to enable certain behavior e.g. things marked as soft-deleted(restorable).
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

SystemObjectMetaType

x-displayName: "System Metadata" SystemObjectMetaType is metadata generated or populated by the system for all persisted objects and cannot be updated directly by users.

func (*SystemObjectMetaType) Descriptor deprecated

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

Deprecated: Use SystemObjectMetaType.ProtoReflect.Descriptor instead.

func (*SystemObjectMetaType) GetCreationTimestamp

func (x *SystemObjectMetaType) GetCreationTimestamp() *timestamppb.Timestamp

func (*SystemObjectMetaType) GetCreatorClass

func (x *SystemObjectMetaType) GetCreatorClass() string

func (*SystemObjectMetaType) GetCreatorCookie

func (x *SystemObjectMetaType) GetCreatorCookie() string

func (*SystemObjectMetaType) GetCreatorId

func (x *SystemObjectMetaType) GetCreatorId() string

func (*SystemObjectMetaType) GetDeletionTimestamp

func (x *SystemObjectMetaType) GetDeletionTimestamp() *timestamppb.Timestamp

func (*SystemObjectMetaType) GetFinalizers

func (x *SystemObjectMetaType) GetFinalizers() []string

func (*SystemObjectMetaType) GetInitializers

func (x *SystemObjectMetaType) GetInitializers() *InitializersType

func (*SystemObjectMetaType) GetLabels

func (x *SystemObjectMetaType) GetLabels() map[string]string

func (*SystemObjectMetaType) GetModificationTimestamp

func (x *SystemObjectMetaType) GetModificationTimestamp() *timestamppb.Timestamp

func (*SystemObjectMetaType) GetNamespace

func (x *SystemObjectMetaType) GetNamespace() []*ObjectRefType

func (*SystemObjectMetaType) GetObjectIndex

func (x *SystemObjectMetaType) GetObjectIndex() uint32

func (*SystemObjectMetaType) GetOwnerView

func (x *SystemObjectMetaType) GetOwnerView() *ViewRefType

func (*SystemObjectMetaType) GetResourceVersion

func (x *SystemObjectMetaType) GetResourceVersion() string

func (*SystemObjectMetaType) GetSreDisable

func (x *SystemObjectMetaType) GetSreDisable() bool

func (*SystemObjectMetaType) GetTenant

func (x *SystemObjectMetaType) GetTenant() string

func (*SystemObjectMetaType) GetTraceInfo

func (x *SystemObjectMetaType) GetTraceInfo() string

func (*SystemObjectMetaType) GetUid

func (x *SystemObjectMetaType) GetUid() string

func (*SystemObjectMetaType) GetVtrpId

func (x *SystemObjectMetaType) GetVtrpId() string

func (*SystemObjectMetaType) GetVtrpStale

func (x *SystemObjectMetaType) GetVtrpStale() bool

func (*SystemObjectMetaType) ProtoMessage

func (*SystemObjectMetaType) ProtoMessage()

func (*SystemObjectMetaType) ProtoReflect

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

func (*SystemObjectMetaType) Reset

func (x *SystemObjectMetaType) Reset()

func (*SystemObjectMetaType) String

func (x *SystemObjectMetaType) String() string

type UnimplementedDNSPublicApiServiceServer

type UnimplementedDNSPublicApiServiceServer struct {
}

UnimplementedDNSPublicApiServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDNSPublicApiServiceServer) DeleteUserSpec

type UnimplementedDnsPrivateApiServiceServer

type UnimplementedDnsPrivateApiServiceServer struct {
}

UnimplementedDnsPrivateApiServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDnsPrivateApiServiceServer) CreateObject

func (UnimplementedDnsPrivateApiServiceServer) DeleteObject

func (UnimplementedDnsPrivateApiServiceServer) UpdateObject

type UnsafeDNSPublicApiServiceServer

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

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

type UnsafeDnsPrivateApiServiceServer

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

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

type UpdateObjectSpecRequest

type UpdateObjectSpecRequest struct {
	Config *Object `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateObjectSpecRequest) Descriptor deprecated

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

Deprecated: Use UpdateObjectSpecRequest.ProtoReflect.Descriptor instead.

func (*UpdateObjectSpecRequest) GetConfig

func (x *UpdateObjectSpecRequest) GetConfig() *Object

func (*UpdateObjectSpecRequest) ProtoMessage

func (*UpdateObjectSpecRequest) ProtoMessage()

func (*UpdateObjectSpecRequest) ProtoReflect

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

func (*UpdateObjectSpecRequest) Reset

func (x *UpdateObjectSpecRequest) Reset()

func (*UpdateObjectSpecRequest) String

func (x *UpdateObjectSpecRequest) String() string

type UpdateObjectSpecResponse

type UpdateObjectSpecResponse struct {
	Config *Object `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	Uuid   string  `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateObjectSpecResponse) Descriptor deprecated

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

Deprecated: Use UpdateObjectSpecResponse.ProtoReflect.Descriptor instead.

func (*UpdateObjectSpecResponse) GetConfig

func (x *UpdateObjectSpecResponse) GetConfig() *Object

func (*UpdateObjectSpecResponse) GetUuid

func (x *UpdateObjectSpecResponse) GetUuid() string

func (*UpdateObjectSpecResponse) ProtoMessage

func (*UpdateObjectSpecResponse) ProtoMessage()

func (*UpdateObjectSpecResponse) ProtoReflect

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

func (*UpdateObjectSpecResponse) Reset

func (x *UpdateObjectSpecResponse) Reset()

func (*UpdateObjectSpecResponse) String

func (x *UpdateObjectSpecResponse) String() string

type UpdatePrimaryDNSConfigRequest

type UpdatePrimaryDNSConfigRequest struct {
	Id     string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Config *UserSpecType `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePrimaryDNSConfigRequest) Descriptor deprecated

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

Deprecated: Use UpdatePrimaryDNSConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdatePrimaryDNSConfigRequest) GetConfig

func (*UpdatePrimaryDNSConfigRequest) GetId

func (*UpdatePrimaryDNSConfigRequest) ProtoMessage

func (*UpdatePrimaryDNSConfigRequest) ProtoMessage()

func (*UpdatePrimaryDNSConfigRequest) ProtoReflect

func (*UpdatePrimaryDNSConfigRequest) Reset

func (x *UpdatePrimaryDNSConfigRequest) Reset()

func (*UpdatePrimaryDNSConfigRequest) String

type UpdatePrimaryDNSConfigResponse

type UpdatePrimaryDNSConfigResponse struct {
	Id     string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Config *UserSpecType `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePrimaryDNSConfigResponse) Descriptor deprecated

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

Deprecated: Use UpdatePrimaryDNSConfigResponse.ProtoReflect.Descriptor instead.

func (*UpdatePrimaryDNSConfigResponse) GetConfig

func (*UpdatePrimaryDNSConfigResponse) GetId

func (*UpdatePrimaryDNSConfigResponse) ProtoMessage

func (*UpdatePrimaryDNSConfigResponse) ProtoMessage()

func (*UpdatePrimaryDNSConfigResponse) ProtoReflect

func (*UpdatePrimaryDNSConfigResponse) Reset

func (x *UpdatePrimaryDNSConfigResponse) Reset()

func (*UpdatePrimaryDNSConfigResponse) String

type UserSpecType

type UserSpecType struct {

	// SOA Record Parameters
	//
	// x-displayName: "SOA Record Parameters"
	// x-required
	// Start Of Authority (SOA) Record Properties
	//
	// Types that are assignable to SoaRecordParametersChoice:
	//
	//	*UserSpecType_DefaultSoaParameters
	//	*UserSpecType_SoaParameters
	SoaRecordParametersChoice isUserSpecType_SoaRecordParametersChoice `protobuf_oneof:"soa_record_parameters_choice"`
	// Record Sets Group
	//
	// x-displayName: "Additional Resource Record Sets"
	// Collection of additional DNS resource record sets
	RrSetGroup []*RRSetGroup `protobuf:"bytes,8,rep,name=rr_set_group,json=rrSetGroup,proto3" json:"rr_set_group,omitempty"`
	// Serial number
	//
	// x-displayName: "Serial number"
	// Secondary nameservers should initiate a zone transfer when this number is incremented
	Serial uint32 `protobuf:"varint,9,opt,name=serial,proto3" json:"serial,omitempty"`
	// Administrator
	//
	// x-displayName: "Administrator"
	Admin string `protobuf:"bytes,10,opt,name=admin,proto3" json:"admin,omitempty"`
	// Default DNS Record Sets
	//
	// x-displayName: "Resource Record Sets"
	// Collection of DNS record sets in the default group.
	DefaultRrSetGroup []*RRSet `protobuf:"bytes,11,rep,name=default_rr_set_group,json=defaultRrSetGroup,proto3" json:"default_rr_set_group,omitempty"`
	// DNSSEC Mode
	//
	// x-displayName: "DNSSEC Mode"
	DnssecMode string `protobuf:"bytes,12,opt,name=dnssec_mode,json=dnssecMode,proto3" json:"dnssec_mode,omitempty"`
	// Allow HTTP Load Balancer Managed Records
	//
	// x-displayName: "Allow HTTP Load Balancer Managed Records"
	AllowHttpLbManagedRecords bool `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

Primary DNS Configuration

x-displayName: "Primary DNS Configuration" Declares a DNS zone with primary DNS features

func (*UserSpecType) Descriptor deprecated

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

Deprecated: Use UserSpecType.ProtoReflect.Descriptor instead.

func (*UserSpecType) GetAdmin

func (x *UserSpecType) GetAdmin() string

func (*UserSpecType) GetAllowHttpLbManagedRecords

func (x *UserSpecType) GetAllowHttpLbManagedRecords() bool

func (*UserSpecType) GetDefaultRrSetGroup

func (x *UserSpecType) GetDefaultRrSetGroup() []*RRSet

func (*UserSpecType) GetDefaultSoaParameters

func (x *UserSpecType) GetDefaultSoaParameters() *emptypb.Empty

func (*UserSpecType) GetDnssecMode

func (x *UserSpecType) GetDnssecMode() string

func (*UserSpecType) GetRrSetGroup

func (x *UserSpecType) GetRrSetGroup() []*RRSetGroup

func (*UserSpecType) GetSerial

func (x *UserSpecType) GetSerial() uint32

func (*UserSpecType) GetSoaParameters

func (x *UserSpecType) GetSoaParameters() *SOARecordParameterConfig

func (*UserSpecType) GetSoaRecordParametersChoice

func (m *UserSpecType) GetSoaRecordParametersChoice() isUserSpecType_SoaRecordParametersChoice

func (*UserSpecType) ProtoMessage

func (*UserSpecType) ProtoMessage()

func (*UserSpecType) ProtoReflect

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

func (*UserSpecType) Reset

func (x *UserSpecType) Reset()

func (*UserSpecType) String

func (x *UserSpecType) String() string

type UserSpecType_DefaultSoaParameters

type UserSpecType_DefaultSoaParameters struct {
	// Default parameters
	//
	// x-displayName: "Use Default Parameters"
	// Use default parameters
	DefaultSoaParameters *emptypb.Empty `protobuf:"bytes,6,opt,name=default_soa_parameters,json=defaultSoaParameters,proto3,oneof"`
}

type UserSpecType_SoaParameters

type UserSpecType_SoaParameters struct {
	// SOARecordParameterConfig
	//
	// x-displayName: "SOA Record Parameters"
	// Configure SOA Record parameters
	SoaParameters *SOARecordParameterConfig `protobuf:"bytes,7,opt,name=soa_parameters,json=soaParameters,proto3,oneof"`
}

type ViewRefType

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

func (*ViewRefType) Descriptor deprecated

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

Deprecated: Use ViewRefType.ProtoReflect.Descriptor instead.

func (*ViewRefType) ProtoMessage

func (*ViewRefType) ProtoMessage()

func (*ViewRefType) ProtoReflect

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

func (*ViewRefType) Reset

func (x *ViewRefType) Reset()

func (*ViewRefType) String

func (x *ViewRefType) String() string

Jump to

Keyboard shortcuts

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