pb

package
v0.0.0-...-1dc1322 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MPL-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_server_proto protoreflect.FileDescriptor

Functions

func RegisterWaypointHznServer

func RegisterWaypointHznServer(s *grpc.Server, srv WaypointHznServer)

Types

type DeleteHostnameRequest

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

func (*DeleteHostnameRequest) Descriptor deprecated

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

Deprecated: Use DeleteHostnameRequest.ProtoReflect.Descriptor instead.

func (*DeleteHostnameRequest) GetHostname

func (x *DeleteHostnameRequest) GetHostname() string

func (*DeleteHostnameRequest) ProtoMessage

func (*DeleteHostnameRequest) ProtoMessage()

func (*DeleteHostnameRequest) ProtoReflect

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

func (*DeleteHostnameRequest) Reset

func (x *DeleteHostnameRequest) Reset()

func (*DeleteHostnameRequest) String

func (x *DeleteHostnameRequest) String() string

func (*DeleteHostnameRequest) Validate

func (m *DeleteHostnameRequest) Validate() error

Validate checks the field values on DeleteHostnameRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteHostnameRequestValidationError

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

DeleteHostnameRequestValidationError is the validation error returned by DeleteHostnameRequest.Validate if the designated constraints aren't met.

func (DeleteHostnameRequestValidationError) Cause

Cause function returns cause value.

func (DeleteHostnameRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteHostnameRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteHostnameRequestValidationError) Field

Field function returns field value.

func (DeleteHostnameRequestValidationError) Key

Key function returns key value.

func (DeleteHostnameRequestValidationError) Reason

Reason function returns reason value.

type Label

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

func (*Label) Descriptor deprecated

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

Deprecated: Use Label.ProtoReflect.Descriptor instead.

func (*Label) GetName

func (x *Label) GetName() string

func (*Label) GetValue

func (x *Label) GetValue() string

func (*Label) ProtoMessage

func (*Label) ProtoMessage()

func (*Label) ProtoReflect

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

func (*Label) Reset

func (x *Label) Reset()

func (*Label) String

func (x *Label) String() string

func (*Label) Validate

func (m *Label) Validate() error

Validate checks the field values on Label with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type LabelSet

type LabelSet struct {
	Labels []*Label `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*LabelSet) Descriptor deprecated

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

Deprecated: Use LabelSet.ProtoReflect.Descriptor instead.

func (*LabelSet) GetLabels

func (x *LabelSet) GetLabels() []*Label

func (*LabelSet) ProtoMessage

func (*LabelSet) ProtoMessage()

func (*LabelSet) ProtoReflect

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

func (*LabelSet) Reset

func (x *LabelSet) Reset()

func (*LabelSet) String

func (x *LabelSet) String() string

func (*LabelSet) Validate

func (m *LabelSet) Validate() error

Validate checks the field values on LabelSet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type LabelSetValidationError

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

LabelSetValidationError is the validation error returned by LabelSet.Validate if the designated constraints aren't met.

func (LabelSetValidationError) Cause

func (e LabelSetValidationError) Cause() error

Cause function returns cause value.

func (LabelSetValidationError) Error

func (e LabelSetValidationError) Error() string

Error satisfies the builtin error interface

func (LabelSetValidationError) ErrorName

func (e LabelSetValidationError) ErrorName() string

ErrorName returns error name.

func (LabelSetValidationError) Field

func (e LabelSetValidationError) Field() string

Field function returns field value.

func (LabelSetValidationError) Key

func (e LabelSetValidationError) Key() bool

Key function returns key value.

func (LabelSetValidationError) Reason

func (e LabelSetValidationError) Reason() string

Reason function returns reason value.

type LabelValidationError

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

LabelValidationError is the validation error returned by Label.Validate if the designated constraints aren't met.

func (LabelValidationError) Cause

func (e LabelValidationError) Cause() error

Cause function returns cause value.

func (LabelValidationError) Error

func (e LabelValidationError) Error() string

Error satisfies the builtin error interface

func (LabelValidationError) ErrorName

func (e LabelValidationError) ErrorName() string

ErrorName returns error name.

func (LabelValidationError) Field

func (e LabelValidationError) Field() string

Field function returns field value.

func (LabelValidationError) Key

func (e LabelValidationError) Key() bool

Key function returns key value.

func (LabelValidationError) Reason

func (e LabelValidationError) Reason() string

Reason function returns reason value.

type ListHostnamesRequest

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

func (*ListHostnamesRequest) Descriptor deprecated

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

Deprecated: Use ListHostnamesRequest.ProtoReflect.Descriptor instead.

func (*ListHostnamesRequest) ProtoMessage

func (*ListHostnamesRequest) ProtoMessage()

func (*ListHostnamesRequest) ProtoReflect

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

func (*ListHostnamesRequest) Reset

func (x *ListHostnamesRequest) Reset()

func (*ListHostnamesRequest) String

func (x *ListHostnamesRequest) String() string

func (*ListHostnamesRequest) Validate

func (m *ListHostnamesRequest) Validate() error

Validate checks the field values on ListHostnamesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListHostnamesRequestValidationError

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

ListHostnamesRequestValidationError is the validation error returned by ListHostnamesRequest.Validate if the designated constraints aren't met.

func (ListHostnamesRequestValidationError) Cause

Cause function returns cause value.

func (ListHostnamesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListHostnamesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListHostnamesRequestValidationError) Field

Field function returns field value.

func (ListHostnamesRequestValidationError) Key

Key function returns key value.

func (ListHostnamesRequestValidationError) Reason

Reason function returns reason value.

type ListHostnamesResponse

type ListHostnamesResponse struct {
	Hostnames []*ListHostnamesResponse_Hostname `protobuf:"bytes,1,rep,name=hostnames,proto3" json:"hostnames,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHostnamesResponse) Descriptor deprecated

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

Deprecated: Use ListHostnamesResponse.ProtoReflect.Descriptor instead.

func (*ListHostnamesResponse) GetHostnames

func (*ListHostnamesResponse) ProtoMessage

func (*ListHostnamesResponse) ProtoMessage()

func (*ListHostnamesResponse) ProtoReflect

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

func (*ListHostnamesResponse) Reset

func (x *ListHostnamesResponse) Reset()

func (*ListHostnamesResponse) String

func (x *ListHostnamesResponse) String() string

func (*ListHostnamesResponse) Validate

func (m *ListHostnamesResponse) Validate() error

Validate checks the field values on ListHostnamesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListHostnamesResponseValidationError

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

ListHostnamesResponseValidationError is the validation error returned by ListHostnamesResponse.Validate if the designated constraints aren't met.

func (ListHostnamesResponseValidationError) Cause

Cause function returns cause value.

func (ListHostnamesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListHostnamesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListHostnamesResponseValidationError) Field

Field function returns field value.

func (ListHostnamesResponseValidationError) Key

Key function returns key value.

func (ListHostnamesResponseValidationError) Reason

Reason function returns reason value.

type ListHostnamesResponse_Hostname

type ListHostnamesResponse_Hostname struct {
	Hostname string    `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Fqdn     string    `protobuf:"bytes,2,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
	Labels   *LabelSet `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHostnamesResponse_Hostname) Descriptor deprecated

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

Deprecated: Use ListHostnamesResponse_Hostname.ProtoReflect.Descriptor instead.

func (*ListHostnamesResponse_Hostname) GetFqdn

func (*ListHostnamesResponse_Hostname) GetHostname

func (x *ListHostnamesResponse_Hostname) GetHostname() string

func (*ListHostnamesResponse_Hostname) GetLabels

func (x *ListHostnamesResponse_Hostname) GetLabels() *LabelSet

func (*ListHostnamesResponse_Hostname) ProtoMessage

func (*ListHostnamesResponse_Hostname) ProtoMessage()

func (*ListHostnamesResponse_Hostname) ProtoReflect

func (*ListHostnamesResponse_Hostname) Reset

func (x *ListHostnamesResponse_Hostname) Reset()

func (*ListHostnamesResponse_Hostname) String

func (*ListHostnamesResponse_Hostname) Validate

func (m *ListHostnamesResponse_Hostname) Validate() error

Validate checks the field values on ListHostnamesResponse_Hostname with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListHostnamesResponse_HostnameValidationError

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

ListHostnamesResponse_HostnameValidationError is the validation error returned by ListHostnamesResponse_Hostname.Validate if the designated constraints aren't met.

func (ListHostnamesResponse_HostnameValidationError) Cause

Cause function returns cause value.

func (ListHostnamesResponse_HostnameValidationError) Error

Error satisfies the builtin error interface

func (ListHostnamesResponse_HostnameValidationError) ErrorName

ErrorName returns error name.

func (ListHostnamesResponse_HostnameValidationError) Field

Field function returns field value.

func (ListHostnamesResponse_HostnameValidationError) Key

Key function returns key value.

func (ListHostnamesResponse_HostnameValidationError) Reason

Reason function returns reason value.

type RegisterGuestAccountRequest

type RegisterGuestAccountRequest struct {

	// server ID is the unique ULID of the Waypoint server requesting a
	// guest account. If this server already has a guest account registered,
	// the same token will be returned.
	ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	// Indicates that the user accepted the EULA to access Horizon
	AcceptTos bool `protobuf:"varint,2,opt,name=accept_tos,json=acceptTos,proto3" json:"accept_tos,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterGuestAccountRequest) Descriptor deprecated

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

Deprecated: Use RegisterGuestAccountRequest.ProtoReflect.Descriptor instead.

func (*RegisterGuestAccountRequest) GetAcceptTos

func (x *RegisterGuestAccountRequest) GetAcceptTos() bool

func (*RegisterGuestAccountRequest) GetServerId

func (x *RegisterGuestAccountRequest) GetServerId() string

func (*RegisterGuestAccountRequest) ProtoMessage

func (*RegisterGuestAccountRequest) ProtoMessage()

func (*RegisterGuestAccountRequest) ProtoReflect

func (*RegisterGuestAccountRequest) Reset

func (x *RegisterGuestAccountRequest) Reset()

func (*RegisterGuestAccountRequest) String

func (x *RegisterGuestAccountRequest) String() string

func (*RegisterGuestAccountRequest) Validate

func (m *RegisterGuestAccountRequest) Validate() error

Validate checks the field values on RegisterGuestAccountRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RegisterGuestAccountRequestValidationError

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

RegisterGuestAccountRequestValidationError is the validation error returned by RegisterGuestAccountRequest.Validate if the designated constraints aren't met.

func (RegisterGuestAccountRequestValidationError) Cause

Cause function returns cause value.

func (RegisterGuestAccountRequestValidationError) Error

Error satisfies the builtin error interface

func (RegisterGuestAccountRequestValidationError) ErrorName

ErrorName returns error name.

func (RegisterGuestAccountRequestValidationError) Field

Field function returns field value.

func (RegisterGuestAccountRequestValidationError) Key

Key function returns key value.

func (RegisterGuestAccountRequestValidationError) Reason

Reason function returns reason value.

type RegisterGuestAccountResponse

type RegisterGuestAccountResponse struct {

	// API token to use for protected endpoints.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterGuestAccountResponse) Descriptor deprecated

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

Deprecated: Use RegisterGuestAccountResponse.ProtoReflect.Descriptor instead.

func (*RegisterGuestAccountResponse) GetToken

func (x *RegisterGuestAccountResponse) GetToken() string

func (*RegisterGuestAccountResponse) ProtoMessage

func (*RegisterGuestAccountResponse) ProtoMessage()

func (*RegisterGuestAccountResponse) ProtoReflect

func (*RegisterGuestAccountResponse) Reset

func (x *RegisterGuestAccountResponse) Reset()

func (*RegisterGuestAccountResponse) String

func (*RegisterGuestAccountResponse) Validate

func (m *RegisterGuestAccountResponse) Validate() error

Validate checks the field values on RegisterGuestAccountResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RegisterGuestAccountResponseValidationError

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

RegisterGuestAccountResponseValidationError is the validation error returned by RegisterGuestAccountResponse.Validate if the designated constraints aren't met.

func (RegisterGuestAccountResponseValidationError) Cause

Cause function returns cause value.

func (RegisterGuestAccountResponseValidationError) Error

Error satisfies the builtin error interface

func (RegisterGuestAccountResponseValidationError) ErrorName

ErrorName returns error name.

func (RegisterGuestAccountResponseValidationError) Field

Field function returns field value.

func (RegisterGuestAccountResponseValidationError) Key

Key function returns key value.

func (RegisterGuestAccountResponseValidationError) Reason

Reason function returns reason value.

type RegisterHostnameRequest

type RegisterHostnameRequest struct {

	// hostname to register
	//
	// Types that are assignable to Hostname:
	//	*RegisterHostnameRequest_Generate
	//	*RegisterHostnameRequest_Exact
	Hostname isRegisterHostnameRequest_Hostname `protobuf_oneof:"hostname"`
	// labels to link this hostname to.
	Labels *LabelSet `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterHostnameRequest) Descriptor deprecated

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

Deprecated: Use RegisterHostnameRequest.ProtoReflect.Descriptor instead.

func (*RegisterHostnameRequest) GetExact

func (x *RegisterHostnameRequest) GetExact() string

func (*RegisterHostnameRequest) GetGenerate

func (x *RegisterHostnameRequest) GetGenerate() *empty.Empty

func (*RegisterHostnameRequest) GetHostname

func (m *RegisterHostnameRequest) GetHostname() isRegisterHostnameRequest_Hostname

func (*RegisterHostnameRequest) GetLabels

func (x *RegisterHostnameRequest) GetLabels() *LabelSet

func (*RegisterHostnameRequest) ProtoMessage

func (*RegisterHostnameRequest) ProtoMessage()

func (*RegisterHostnameRequest) ProtoReflect

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

func (*RegisterHostnameRequest) Reset

func (x *RegisterHostnameRequest) Reset()

func (*RegisterHostnameRequest) String

func (x *RegisterHostnameRequest) String() string

func (*RegisterHostnameRequest) Validate

func (m *RegisterHostnameRequest) Validate() error

Validate checks the field values on RegisterHostnameRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RegisterHostnameRequestValidationError

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

RegisterHostnameRequestValidationError is the validation error returned by RegisterHostnameRequest.Validate if the designated constraints aren't met.

func (RegisterHostnameRequestValidationError) Cause

Cause function returns cause value.

func (RegisterHostnameRequestValidationError) Error

Error satisfies the builtin error interface

func (RegisterHostnameRequestValidationError) ErrorName

ErrorName returns error name.

func (RegisterHostnameRequestValidationError) Field

Field function returns field value.

func (RegisterHostnameRequestValidationError) Key

Key function returns key value.

func (RegisterHostnameRequestValidationError) Reason

Reason function returns reason value.

type RegisterHostnameRequest_Exact

type RegisterHostnameRequest_Exact struct {
	// specific hostname request
	Exact string `protobuf:"bytes,2,opt,name=exact,proto3,oneof"`
}

type RegisterHostnameRequest_Generate

type RegisterHostnameRequest_Generate struct {
	// auto-generate a hostname
	Generate *empty.Empty `protobuf:"bytes,1,opt,name=generate,proto3,oneof"`
}

type RegisterHostnameResponse

type RegisterHostnameResponse struct {
	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Fqdn     string `protobuf:"bytes,2,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterHostnameResponse) Descriptor deprecated

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

Deprecated: Use RegisterHostnameResponse.ProtoReflect.Descriptor instead.

func (*RegisterHostnameResponse) GetFqdn

func (x *RegisterHostnameResponse) GetFqdn() string

func (*RegisterHostnameResponse) GetHostname

func (x *RegisterHostnameResponse) GetHostname() string

func (*RegisterHostnameResponse) ProtoMessage

func (*RegisterHostnameResponse) ProtoMessage()

func (*RegisterHostnameResponse) ProtoReflect

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

func (*RegisterHostnameResponse) Reset

func (x *RegisterHostnameResponse) Reset()

func (*RegisterHostnameResponse) String

func (x *RegisterHostnameResponse) String() string

func (*RegisterHostnameResponse) Validate

func (m *RegisterHostnameResponse) Validate() error

Validate checks the field values on RegisterHostnameResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RegisterHostnameResponseValidationError

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

RegisterHostnameResponseValidationError is the validation error returned by RegisterHostnameResponse.Validate if the designated constraints aren't met.

func (RegisterHostnameResponseValidationError) Cause

Cause function returns cause value.

func (RegisterHostnameResponseValidationError) Error

Error satisfies the builtin error interface

func (RegisterHostnameResponseValidationError) ErrorName

ErrorName returns error name.

func (RegisterHostnameResponseValidationError) Field

Field function returns field value.

func (RegisterHostnameResponseValidationError) Key

Key function returns key value.

func (RegisterHostnameResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedWaypointHznServer

type UnimplementedWaypointHznServer struct {
}

UnimplementedWaypointHznServer can be embedded to have forward compatible implementations.

func (*UnimplementedWaypointHznServer) DeleteHostname

func (*UnimplementedWaypointHznServer) ListHostnames

func (*UnimplementedWaypointHznServer) RegisterGuestAccount

func (*UnimplementedWaypointHznServer) RegisterHostname

type WaypointHznClient

type WaypointHznClient interface {
	RegisterGuestAccount(ctx context.Context, in *RegisterGuestAccountRequest, opts ...grpc.CallOption) (*RegisterGuestAccountResponse, error)
	RegisterHostname(ctx context.Context, in *RegisterHostnameRequest, opts ...grpc.CallOption) (*RegisterHostnameResponse, error)
	ListHostnames(ctx context.Context, in *ListHostnamesRequest, opts ...grpc.CallOption) (*ListHostnamesResponse, error)
	DeleteHostname(ctx context.Context, in *DeleteHostnameRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

WaypointHznClient is the client API for WaypointHzn service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type WaypointHznServer

WaypointHznServer is the server API for WaypointHzn service.

Jump to

Keyboard shortcuts

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