v1alpha1

package
v0.8.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: AGPL-3.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1alpha1.ConfigService",
	HandlerType: (*ConfigServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ServerInformation",
			Handler:    _ConfigService_ServerInformation_Handler,
		},
		{
			MethodName: "DesiredState",
			Handler:    _ConfigService_DesiredState_Handler,
		},
		{
			MethodName: "DeleteNetwork",
			Handler:    _ConfigService_DeleteNetwork_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "config.proto",
}

ConfigService_ServiceDesc is the grpc.ServiceDesc for ConfigService 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_config_proto protoreflect.FileDescriptor

Functions

func RegisterConfigServiceServer

func RegisterConfigServiceServer(s grpc.ServiceRegistrar, srv ConfigServiceServer)

Types

type Addresses added in v0.7.0

type Addresses struct {
	NatsAddress string `protobuf:"bytes,1,opt,name=natsAddress,proto3" json:"natsAddress,omitempty"`
	LeafAddress string `protobuf:"bytes,2,opt,name=leafAddress,proto3" json:"leafAddress,omitempty"`
	// contains filtered or unexported fields
}

func (*Addresses) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Addresses.ProtoReflect.Descriptor instead.

func (*Addresses) GetLeafAddress added in v0.7.0

func (x *Addresses) GetLeafAddress() string

func (*Addresses) GetNatsAddress added in v0.7.0

func (x *Addresses) GetNatsAddress() string

func (*Addresses) ProtoMessage added in v0.7.0

func (*Addresses) ProtoMessage()

func (*Addresses) ProtoReflect added in v0.7.0

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

func (*Addresses) Reset added in v0.7.0

func (x *Addresses) Reset()

func (*Addresses) String added in v0.7.0

func (x *Addresses) String() string

type ConfigServiceClient

type ConfigServiceClient interface {
	ServerInformation(ctx context.Context, in *ServerInformationRequest, opts ...grpc.CallOption) (*ServerInformationResponse, error)
	DesiredState(ctx context.Context, in *DesiredStateRequest, opts ...grpc.CallOption) (*DesiredStateResponse, error)
	DeleteNetwork(ctx context.Context, in *DeleteNetworkRequest, opts ...grpc.CallOption) (*DeleteNetworkResponse, error)
}

ConfigServiceClient is the client API for ConfigService 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 ConfigServiceServer

type ConfigServiceServer interface {
	ServerInformation(context.Context, *ServerInformationRequest) (*ServerInformationResponse, error)
	DesiredState(context.Context, *DesiredStateRequest) (*DesiredStateResponse, error)
	DeleteNetwork(context.Context, *DeleteNetworkRequest) (*DeleteNetworkResponse, error)
	// contains filtered or unexported methods
}

ConfigServiceServer is the server API for ConfigService service. All implementations must embed UnimplementedConfigServiceServer for forward compatibility

type Credentials

type Credentials struct {
	NetworkParticipant string `protobuf:"bytes,1,opt,name=networkParticipant,proto3" json:"networkParticipant,omitempty"`
	Creds              string `protobuf:"bytes,2,opt,name=creds,proto3" json:"creds,omitempty"`
	// contains filtered or unexported fields
}

func (*Credentials) Descriptor deprecated

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

Deprecated: Use Credentials.ProtoReflect.Descriptor instead.

func (*Credentials) GetCreds

func (x *Credentials) GetCreds() string

func (*Credentials) GetNetworkParticipant added in v0.4.0

func (x *Credentials) GetNetworkParticipant() string

func (*Credentials) ProtoMessage

func (*Credentials) ProtoMessage()

func (*Credentials) ProtoReflect added in v0.4.0

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

func (*Credentials) Reset

func (x *Credentials) Reset()

func (*Credentials) String

func (x *Credentials) String() string

type DeleteNetworkRequest added in v0.4.0

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

func (*DeleteNetworkRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use DeleteNetworkRequest.ProtoReflect.Descriptor instead.

func (*DeleteNetworkRequest) GetNetwork added in v0.4.0

func (x *DeleteNetworkRequest) GetNetwork() string

func (*DeleteNetworkRequest) ProtoMessage added in v0.4.0

func (*DeleteNetworkRequest) ProtoMessage()

func (*DeleteNetworkRequest) ProtoReflect added in v0.4.0

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

func (*DeleteNetworkRequest) Reset added in v0.4.0

func (x *DeleteNetworkRequest) Reset()

func (*DeleteNetworkRequest) String added in v0.4.0

func (x *DeleteNetworkRequest) String() string

type DeleteNetworkResponse added in v0.4.0

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

func (*DeleteNetworkResponse) Descriptor deprecated added in v0.4.0

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

Deprecated: Use DeleteNetworkResponse.ProtoReflect.Descriptor instead.

func (*DeleteNetworkResponse) ProtoMessage added in v0.4.0

func (*DeleteNetworkResponse) ProtoMessage()

func (*DeleteNetworkResponse) ProtoReflect added in v0.4.0

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

func (*DeleteNetworkResponse) Reset added in v0.4.0

func (x *DeleteNetworkResponse) Reset()

func (*DeleteNetworkResponse) String added in v0.4.0

func (x *DeleteNetworkResponse) String() string

type DesiredStateRequest

type DesiredStateRequest struct {
	Network      string   `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	Participants []string `protobuf:"bytes,2,rep,name=participants,proto3" json:"participants,omitempty"`
	// contains filtered or unexported fields
}

func (*DesiredStateRequest) Descriptor deprecated

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

Deprecated: Use DesiredStateRequest.ProtoReflect.Descriptor instead.

func (*DesiredStateRequest) GetNetwork added in v0.4.0

func (x *DesiredStateRequest) GetNetwork() string

func (*DesiredStateRequest) GetParticipants added in v0.4.0

func (x *DesiredStateRequest) GetParticipants() []string

func (*DesiredStateRequest) ProtoMessage

func (*DesiredStateRequest) ProtoMessage()

func (*DesiredStateRequest) ProtoReflect added in v0.4.0

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

func (*DesiredStateRequest) Reset

func (x *DesiredStateRequest) Reset()

func (*DesiredStateRequest) String

func (x *DesiredStateRequest) String() string

type DesiredStateResponse

type DesiredStateResponse struct {
	Creds               []*Credentials `protobuf:"bytes,1,rep,name=creds,proto3" json:"creds,omitempty"`
	DeletedParticipants []string       `protobuf:"bytes,2,rep,name=deletedParticipants,proto3" json:"deletedParticipants,omitempty"`
	Network             *Network       `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*DesiredStateResponse) Descriptor deprecated

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

Deprecated: Use DesiredStateResponse.ProtoReflect.Descriptor instead.

func (*DesiredStateResponse) GetCreds

func (x *DesiredStateResponse) GetCreds() []*Credentials

func (*DesiredStateResponse) GetDeletedParticipants added in v0.4.0

func (x *DesiredStateResponse) GetDeletedParticipants() []string

func (*DesiredStateResponse) GetNetwork added in v0.6.1

func (x *DesiredStateResponse) GetNetwork() *Network

func (*DesiredStateResponse) ProtoMessage

func (*DesiredStateResponse) ProtoMessage()

func (*DesiredStateResponse) ProtoReflect added in v0.4.0

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

func (*DesiredStateResponse) Reset

func (x *DesiredStateResponse) Reset()

func (*DesiredStateResponse) String

func (x *DesiredStateResponse) String() string

type Network added in v0.6.1

type Network struct {
	Name            string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	AccoutPublicKey string `protobuf:"bytes,2,opt,name=accoutPublicKey,proto3" json:"accoutPublicKey,omitempty"`
	AccountName     string `protobuf:"bytes,3,opt,name=accountName,proto3" json:"accountName,omitempty"`
	// contains filtered or unexported fields
}

func (*Network) Descriptor deprecated added in v0.6.1

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

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetAccountName added in v0.7.1

func (x *Network) GetAccountName() string

func (*Network) GetAccoutPublicKey added in v0.6.1

func (x *Network) GetAccoutPublicKey() string

func (*Network) GetName added in v0.6.1

func (x *Network) GetName() string

func (*Network) ProtoMessage added in v0.6.1

func (*Network) ProtoMessage()

func (*Network) ProtoReflect added in v0.6.1

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

func (*Network) Reset added in v0.6.1

func (x *Network) Reset()

func (*Network) String added in v0.6.1

func (x *Network) String() string

type ServerInformationRequest added in v0.7.0

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

func (*ServerInformationRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ServerInformationRequest.ProtoReflect.Descriptor instead.

func (*ServerInformationRequest) ProtoMessage added in v0.7.0

func (*ServerInformationRequest) ProtoMessage()

func (*ServerInformationRequest) ProtoReflect added in v0.7.0

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

func (*ServerInformationRequest) Reset added in v0.7.0

func (x *ServerInformationRequest) Reset()

func (*ServerInformationRequest) String added in v0.7.0

func (x *ServerInformationRequest) String() string

type ServerInformationResponse added in v0.7.0

type ServerInformationResponse struct {
	SysAccount *SysAccount `protobuf:"bytes,1,opt,name=SysAccount,proto3" json:"SysAccount,omitempty"`
	Addresses  *Addresses  `protobuf:"bytes,2,opt,name=Addresses,proto3" json:"Addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerInformationResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ServerInformationResponse.ProtoReflect.Descriptor instead.

func (*ServerInformationResponse) GetAddresses added in v0.7.0

func (x *ServerInformationResponse) GetAddresses() *Addresses

func (*ServerInformationResponse) GetSysAccount added in v0.7.0

func (x *ServerInformationResponse) GetSysAccount() *SysAccount

func (*ServerInformationResponse) ProtoMessage added in v0.7.0

func (*ServerInformationResponse) ProtoMessage()

func (*ServerInformationResponse) ProtoReflect added in v0.7.0

func (*ServerInformationResponse) Reset added in v0.7.0

func (x *ServerInformationResponse) Reset()

func (*ServerInformationResponse) String added in v0.7.0

func (x *ServerInformationResponse) String() string

type SysAccount added in v0.7.0

type SysAccount struct {
	OperatorJWT  string `protobuf:"bytes,1,opt,name=operatorJWT,proto3" json:"operatorJWT,omitempty"`
	SysCreds     string `protobuf:"bytes,2,opt,name=sysCreds,proto3" json:"sysCreds,omitempty"`
	SysJWT       string `protobuf:"bytes,3,opt,name=sysJWT,proto3" json:"sysJWT,omitempty"`
	SysPublicKey string `protobuf:"bytes,4,opt,name=sysPublicKey,proto3" json:"sysPublicKey,omitempty"`
	// contains filtered or unexported fields
}

func (*SysAccount) Descriptor deprecated added in v0.7.0

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

Deprecated: Use SysAccount.ProtoReflect.Descriptor instead.

func (*SysAccount) GetOperatorJWT added in v0.7.0

func (x *SysAccount) GetOperatorJWT() string

func (*SysAccount) GetSysCreds added in v0.7.0

func (x *SysAccount) GetSysCreds() string

func (*SysAccount) GetSysJWT added in v0.7.0

func (x *SysAccount) GetSysJWT() string

func (*SysAccount) GetSysPublicKey added in v0.7.0

func (x *SysAccount) GetSysPublicKey() string

func (*SysAccount) ProtoMessage added in v0.7.0

func (*SysAccount) ProtoMessage()

func (*SysAccount) ProtoReflect added in v0.7.0

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

func (*SysAccount) Reset added in v0.7.0

func (x *SysAccount) Reset()

func (*SysAccount) String added in v0.7.0

func (x *SysAccount) String() string

type UnimplementedConfigServiceServer

type UnimplementedConfigServiceServer struct {
}

UnimplementedConfigServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedConfigServiceServer) DeleteNetwork added in v0.4.0

func (UnimplementedConfigServiceServer) DesiredState

func (UnimplementedConfigServiceServer) ServerInformation added in v0.7.0

type UnsafeConfigServiceServer

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

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

Jump to

Keyboard shortcuts

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