v1alpha1

package
v0.4.0-dev3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 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: "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 ConfigServiceClient

type ConfigServiceClient interface {
	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 {
	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,4,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"`
	// 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) 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 UnimplementedConfigServiceServer

type UnimplementedConfigServiceServer struct {
}

UnimplementedConfigServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedConfigServiceServer) DeleteNetwork added in v0.4.0

func (UnimplementedConfigServiceServer) DesiredState

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