Versions in this module Expand all Collapse all v1 v1.0.0 Jun 4, 2021 Changes in this version + var Version = "v1.0.0" + func Commands(getContext func() context.Context, getClientConn func() *grpc.ClientConn) (commands []*cobra.Command) + func Register(s *grpc.Server) + func RegisterSelfAdminServer(s *grpc.Server, srv SelfAdminServer) + type RuntimeReply struct + Args []string + Environ []string + Executable string + Netrc []string + Pid string + Pwd string + Version string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RuntimeReply) Descriptor() ([]byte, []int) + func (*RuntimeReply) ProtoMessage() + func (m *RuntimeReply) GetArgs() []string + func (m *RuntimeReply) GetEnviron() []string + func (m *RuntimeReply) GetExecutable() string + func (m *RuntimeReply) GetNetrc() []string + func (m *RuntimeReply) GetPid() string + func (m *RuntimeReply) GetPwd() string + func (m *RuntimeReply) GetVersion() string + func (m *RuntimeReply) Reset() + func (m *RuntimeReply) String() string + func (m *RuntimeReply) XXX_DiscardUnknown() + func (m *RuntimeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RuntimeReply) XXX_Merge(src proto.Message) + func (m *RuntimeReply) XXX_Size() int + func (m *RuntimeReply) XXX_Unmarshal(b []byte) error + type RuntimeRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RuntimeRequest) Descriptor() ([]byte, []int) + func (*RuntimeRequest) ProtoMessage() + func (m *RuntimeRequest) Reset() + func (m *RuntimeRequest) String() string + func (m *RuntimeRequest) XXX_DiscardUnknown() + func (m *RuntimeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RuntimeRequest) XXX_Merge(src proto.Message) + func (m *RuntimeRequest) XXX_Size() int + func (m *RuntimeRequest) XXX_Unmarshal(b []byte) error + type SelfAdminClient interface + Runtime func(ctx context.Context, in *RuntimeRequest, opts ...grpc.CallOption) (*RuntimeReply, error) + Set func(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetReply, error) + Upgrade func(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption) (*UpgradeReply, error) + func NewSelfAdminClient(cc *grpc.ClientConn) SelfAdminClient + type SelfAdminServer interface + Runtime func(context.Context, *RuntimeRequest) (*RuntimeReply, error) + Set func(context.Context, *SetRequest) (*SetReply, error) + Upgrade func(context.Context, *UpgradeRequest) (*UpgradeReply, error) + type SetReply struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SetReply) Descriptor() ([]byte, []int) + func (*SetReply) ProtoMessage() + func (m *SetReply) Reset() + func (m *SetReply) String() string + func (m *SetReply) XXX_DiscardUnknown() + func (m *SetReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SetReply) XXX_Merge(src proto.Message) + func (m *SetReply) XXX_Size() int + func (m *SetReply) XXX_Unmarshal(b []byte) error + type SetRequest struct + Key string + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SetRequest) Descriptor() ([]byte, []int) + func (*SetRequest) ProtoMessage() + func (m *SetRequest) GetKey() string + func (m *SetRequest) GetValue() string + func (m *SetRequest) Reset() + func (m *SetRequest) String() string + func (m *SetRequest) XXX_DiscardUnknown() + func (m *SetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SetRequest) XXX_Merge(src proto.Message) + func (m *SetRequest) XXX_Size() int + func (m *SetRequest) XXX_Unmarshal(b []byte) error + type SetType int + const Env + const Netrc + const Unknown + func KeyClassify(key string) SetType + type UnimplementedSelfAdminServer struct + func (*UnimplementedSelfAdminServer) Runtime(ctx context.Context, req *RuntimeRequest) (*RuntimeReply, error) + func (*UnimplementedSelfAdminServer) Set(ctx context.Context, req *SetRequest) (*SetReply, error) + func (*UnimplementedSelfAdminServer) Upgrade(ctx context.Context, req *UpgradeRequest) (*UpgradeReply, error) + type UpgradeReply struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UpgradeReply) Descriptor() ([]byte, []int) + func (*UpgradeReply) ProtoMessage() + func (m *UpgradeReply) Reset() + func (m *UpgradeReply) String() string + func (m *UpgradeReply) XXX_DiscardUnknown() + func (m *UpgradeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpgradeReply) XXX_Merge(src proto.Message) + func (m *UpgradeReply) XXX_Size() int + func (m *UpgradeReply) XXX_Unmarshal(b []byte) error + type UpgradeRequest struct + Version string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UpgradeRequest) Descriptor() ([]byte, []int) + func (*UpgradeRequest) ProtoMessage() + func (m *UpgradeRequest) GetVersion() string + func (m *UpgradeRequest) Reset() + func (m *UpgradeRequest) String() string + func (m *UpgradeRequest) XXX_DiscardUnknown() + func (m *UpgradeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpgradeRequest) XXX_Merge(src proto.Message) + func (m *UpgradeRequest) XXX_Size() int + func (m *UpgradeRequest) XXX_Unmarshal(b []byte) error