Documentation ¶
Index ¶
- Variables
- func RegisterConfigServiceServer(s grpc.ServiceRegistrar, srv ConfigServiceServer)
- type ConfigServiceClient
- type ConfigServiceServer
- type Credentials
- func (*Credentials) Descriptor() ([]byte, []int)
- func (m *Credentials) GetCreds() string
- func (m *Credentials) GetPassword() string
- func (m *Credentials) GetUserAccountName() string
- func (m *Credentials) GetUsername() string
- func (*Credentials) ProtoMessage()
- func (m *Credentials) Reset()
- func (m *Credentials) String() string
- func (m *Credentials) XXX_DiscardUnknown()
- func (m *Credentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Credentials) XXX_Merge(src proto.Message)
- func (m *Credentials) XXX_Size() int
- func (m *Credentials) XXX_Unmarshal(b []byte) error
- type DeleteAccountRequest
- func (*DeleteAccountRequest) Descriptor() ([]byte, []int)
- func (m *DeleteAccountRequest) GetAccountName() string
- func (*DeleteAccountRequest) ProtoMessage()
- func (m *DeleteAccountRequest) Reset()
- func (m *DeleteAccountRequest) String() string
- func (m *DeleteAccountRequest) XXX_DiscardUnknown()
- func (m *DeleteAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteAccountRequest) XXX_Merge(src proto.Message)
- func (m *DeleteAccountRequest) XXX_Size() int
- func (m *DeleteAccountRequest) XXX_Unmarshal(b []byte) error
- type DeleteAccountResponse
- func (*DeleteAccountResponse) Descriptor() ([]byte, []int)
- func (*DeleteAccountResponse) ProtoMessage()
- func (m *DeleteAccountResponse) Reset()
- func (m *DeleteAccountResponse) String() string
- func (m *DeleteAccountResponse) XXX_DiscardUnknown()
- func (m *DeleteAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteAccountResponse) XXX_Merge(src proto.Message)
- func (m *DeleteAccountResponse) XXX_Size() int
- func (m *DeleteAccountResponse) XXX_Unmarshal(b []byte) error
- type DesiredStateRequest
- func (*DesiredStateRequest) Descriptor() ([]byte, []int)
- func (m *DesiredStateRequest) GetAccountName() string
- func (m *DesiredStateRequest) GetUsername() []string
- func (*DesiredStateRequest) ProtoMessage()
- func (m *DesiredStateRequest) Reset()
- func (m *DesiredStateRequest) String() string
- func (m *DesiredStateRequest) XXX_DiscardUnknown()
- func (m *DesiredStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DesiredStateRequest) XXX_Merge(src proto.Message)
- func (m *DesiredStateRequest) XXX_Size() int
- func (m *DesiredStateRequest) XXX_Unmarshal(b []byte) error
- type DesiredStateResponse
- func (*DesiredStateResponse) Descriptor() ([]byte, []int)
- func (m *DesiredStateResponse) GetCreds() []*Credentials
- func (m *DesiredStateResponse) GetDeletedUserAccountNames() []string
- func (*DesiredStateResponse) ProtoMessage()
- func (m *DesiredStateResponse) Reset()
- func (m *DesiredStateResponse) String() string
- func (m *DesiredStateResponse) XXX_DiscardUnknown()
- func (m *DesiredStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DesiredStateResponse) XXX_Merge(src proto.Message)
- func (m *DesiredStateResponse) XXX_Size() int
- func (m *DesiredStateResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedConfigServiceServer
- type UnsafeConfigServiceServer
Constants ¶
This section is empty.
Variables ¶
var ConfigService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1alpha1.ConfigService", HandlerType: (*ConfigServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DesiredState", Handler: _ConfigService_DesiredState_Handler, }, { MethodName: "DeleteAccount", Handler: _ConfigService_DeleteAccount_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)
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) DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*DeleteAccountResponse, 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.
func NewConfigServiceClient ¶
func NewConfigServiceClient(cc grpc.ClientConnInterface) ConfigServiceClient
type ConfigServiceServer ¶
type ConfigServiceServer interface { DesiredState(context.Context, *DesiredStateRequest) (*DesiredStateResponse, error) DeleteAccount(context.Context, *DeleteAccountRequest) (*DeleteAccountResponse, 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 { UserAccountName string `protobuf:"bytes,1,opt,name=userAccountName,proto3" json:"userAccountName,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` Creds string `protobuf:"bytes,4,opt,name=creds,proto3" json:"creds,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Credentials) Descriptor ¶
func (*Credentials) Descriptor() ([]byte, []int)
func (*Credentials) GetCreds ¶
func (m *Credentials) GetCreds() string
func (*Credentials) GetPassword ¶
func (m *Credentials) GetPassword() string
func (*Credentials) GetUserAccountName ¶
func (m *Credentials) GetUserAccountName() string
func (*Credentials) GetUsername ¶
func (m *Credentials) GetUsername() string
func (*Credentials) ProtoMessage ¶
func (*Credentials) ProtoMessage()
func (*Credentials) Reset ¶
func (m *Credentials) Reset()
func (*Credentials) String ¶
func (m *Credentials) String() string
func (*Credentials) XXX_DiscardUnknown ¶
func (m *Credentials) XXX_DiscardUnknown()
func (*Credentials) XXX_Marshal ¶
func (m *Credentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Credentials) XXX_Merge ¶
func (m *Credentials) XXX_Merge(src proto.Message)
func (*Credentials) XXX_Size ¶
func (m *Credentials) XXX_Size() int
func (*Credentials) XXX_Unmarshal ¶
func (m *Credentials) XXX_Unmarshal(b []byte) error
type DeleteAccountRequest ¶
type DeleteAccountRequest struct { AccountName string `protobuf:"bytes,1,opt,name=accountName,proto3" json:"accountName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteAccountRequest) Descriptor ¶
func (*DeleteAccountRequest) Descriptor() ([]byte, []int)
func (*DeleteAccountRequest) GetAccountName ¶
func (m *DeleteAccountRequest) GetAccountName() string
func (*DeleteAccountRequest) ProtoMessage ¶
func (*DeleteAccountRequest) ProtoMessage()
func (*DeleteAccountRequest) Reset ¶
func (m *DeleteAccountRequest) Reset()
func (*DeleteAccountRequest) String ¶
func (m *DeleteAccountRequest) String() string
func (*DeleteAccountRequest) XXX_DiscardUnknown ¶
func (m *DeleteAccountRequest) XXX_DiscardUnknown()
func (*DeleteAccountRequest) XXX_Marshal ¶
func (m *DeleteAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteAccountRequest) XXX_Merge ¶
func (m *DeleteAccountRequest) XXX_Merge(src proto.Message)
func (*DeleteAccountRequest) XXX_Size ¶
func (m *DeleteAccountRequest) XXX_Size() int
func (*DeleteAccountRequest) XXX_Unmarshal ¶
func (m *DeleteAccountRequest) XXX_Unmarshal(b []byte) error
type DeleteAccountResponse ¶
type DeleteAccountResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteAccountResponse) Descriptor ¶
func (*DeleteAccountResponse) Descriptor() ([]byte, []int)
func (*DeleteAccountResponse) ProtoMessage ¶
func (*DeleteAccountResponse) ProtoMessage()
func (*DeleteAccountResponse) Reset ¶
func (m *DeleteAccountResponse) Reset()
func (*DeleteAccountResponse) String ¶
func (m *DeleteAccountResponse) String() string
func (*DeleteAccountResponse) XXX_DiscardUnknown ¶
func (m *DeleteAccountResponse) XXX_DiscardUnknown()
func (*DeleteAccountResponse) XXX_Marshal ¶
func (m *DeleteAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteAccountResponse) XXX_Merge ¶
func (m *DeleteAccountResponse) XXX_Merge(src proto.Message)
func (*DeleteAccountResponse) XXX_Size ¶
func (m *DeleteAccountResponse) XXX_Size() int
func (*DeleteAccountResponse) XXX_Unmarshal ¶
func (m *DeleteAccountResponse) XXX_Unmarshal(b []byte) error
type DesiredStateRequest ¶
type DesiredStateRequest struct { AccountName string `protobuf:"bytes,1,opt,name=accountName,proto3" json:"accountName,omitempty"` Username []string `protobuf:"bytes,2,rep,name=username,proto3" json:"username,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DesiredStateRequest) Descriptor ¶
func (*DesiredStateRequest) Descriptor() ([]byte, []int)
func (*DesiredStateRequest) GetAccountName ¶
func (m *DesiredStateRequest) GetAccountName() string
func (*DesiredStateRequest) GetUsername ¶
func (m *DesiredStateRequest) GetUsername() []string
func (*DesiredStateRequest) ProtoMessage ¶
func (*DesiredStateRequest) ProtoMessage()
func (*DesiredStateRequest) Reset ¶
func (m *DesiredStateRequest) Reset()
func (*DesiredStateRequest) String ¶
func (m *DesiredStateRequest) String() string
func (*DesiredStateRequest) XXX_DiscardUnknown ¶
func (m *DesiredStateRequest) XXX_DiscardUnknown()
func (*DesiredStateRequest) XXX_Marshal ¶
func (m *DesiredStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DesiredStateRequest) XXX_Merge ¶
func (m *DesiredStateRequest) XXX_Merge(src proto.Message)
func (*DesiredStateRequest) XXX_Size ¶
func (m *DesiredStateRequest) XXX_Size() int
func (*DesiredStateRequest) XXX_Unmarshal ¶
func (m *DesiredStateRequest) XXX_Unmarshal(b []byte) error
type DesiredStateResponse ¶
type DesiredStateResponse struct { Creds []*Credentials `protobuf:"bytes,1,rep,name=creds,proto3" json:"creds,omitempty"` DeletedUserAccountNames []string `protobuf:"bytes,2,rep,name=deletedUserAccountNames,proto3" json:"deletedUserAccountNames,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DesiredStateResponse) Descriptor ¶
func (*DesiredStateResponse) Descriptor() ([]byte, []int)
func (*DesiredStateResponse) GetCreds ¶
func (m *DesiredStateResponse) GetCreds() []*Credentials
func (*DesiredStateResponse) GetDeletedUserAccountNames ¶
func (m *DesiredStateResponse) GetDeletedUserAccountNames() []string
func (*DesiredStateResponse) ProtoMessage ¶
func (*DesiredStateResponse) ProtoMessage()
func (*DesiredStateResponse) Reset ¶
func (m *DesiredStateResponse) Reset()
func (*DesiredStateResponse) String ¶
func (m *DesiredStateResponse) String() string
func (*DesiredStateResponse) XXX_DiscardUnknown ¶
func (m *DesiredStateResponse) XXX_DiscardUnknown()
func (*DesiredStateResponse) XXX_Marshal ¶
func (m *DesiredStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DesiredStateResponse) XXX_Merge ¶
func (m *DesiredStateResponse) XXX_Merge(src proto.Message)
func (*DesiredStateResponse) XXX_Size ¶
func (m *DesiredStateResponse) XXX_Size() int
func (*DesiredStateResponse) XXX_Unmarshal ¶
func (m *DesiredStateResponse) XXX_Unmarshal(b []byte) error
type UnimplementedConfigServiceServer ¶
type UnimplementedConfigServiceServer struct { }
UnimplementedConfigServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedConfigServiceServer) DeleteAccount ¶
func (UnimplementedConfigServiceServer) DeleteAccount(context.Context, *DeleteAccountRequest) (*DeleteAccountResponse, error)
func (UnimplementedConfigServiceServer) DesiredState ¶
func (UnimplementedConfigServiceServer) DesiredState(context.Context, *DesiredStateRequest) (*DesiredStateResponse, error)
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.