hostservices

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAgentStoreServer

func RegisterAgentStoreServer(s *grpc.Server, srv AgentStoreServer)

func RegisterIdentityProviderServer

func RegisterIdentityProviderServer(s *grpc.Server, srv IdentityProviderServer)

Types

type AgentInfo

type AgentInfo struct {
	AgentId              string   `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AgentInfo) Descriptor

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

func (*AgentInfo) GetAgentId

func (m *AgentInfo) GetAgentId() string

func (*AgentInfo) ProtoMessage

func (*AgentInfo) ProtoMessage()

func (*AgentInfo) Reset

func (m *AgentInfo) Reset()

func (*AgentInfo) String

func (m *AgentInfo) String() string

func (*AgentInfo) XXX_DiscardUnknown

func (m *AgentInfo) XXX_DiscardUnknown()

func (*AgentInfo) XXX_Marshal

func (m *AgentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AgentInfo) XXX_Merge

func (m *AgentInfo) XXX_Merge(src proto.Message)

func (*AgentInfo) XXX_Size

func (m *AgentInfo) XXX_Size() int

func (*AgentInfo) XXX_Unmarshal

func (m *AgentInfo) XXX_Unmarshal(b []byte) error

type AgentStoreClient

type AgentStoreClient interface {
	GetAgentInfo(ctx context.Context, in *GetAgentInfoRequest, opts ...grpc.CallOption) (*GetAgentInfoResponse, error)
}

AgentStoreClient is the client API for AgentStore service.

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

func NewAgentStoreClient

func NewAgentStoreClient(cc *grpc.ClientConn) AgentStoreClient

type AgentStoreServer

type AgentStoreServer interface {
	GetAgentInfo(context.Context, *GetAgentInfoRequest) (*GetAgentInfoResponse, error)
}

AgentStoreServer is the server API for AgentStore service.

type FetchX509IdentityRequest

type FetchX509IdentityRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FetchX509IdentityRequest) Descriptor

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

func (*FetchX509IdentityRequest) ProtoMessage

func (*FetchX509IdentityRequest) ProtoMessage()

func (*FetchX509IdentityRequest) Reset

func (m *FetchX509IdentityRequest) Reset()

func (*FetchX509IdentityRequest) String

func (m *FetchX509IdentityRequest) String() string

func (*FetchX509IdentityRequest) XXX_DiscardUnknown

func (m *FetchX509IdentityRequest) XXX_DiscardUnknown()

func (*FetchX509IdentityRequest) XXX_Marshal

func (m *FetchX509IdentityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FetchX509IdentityRequest) XXX_Merge

func (m *FetchX509IdentityRequest) XXX_Merge(src proto.Message)

func (*FetchX509IdentityRequest) XXX_Size

func (m *FetchX509IdentityRequest) XXX_Size() int

func (*FetchX509IdentityRequest) XXX_Unmarshal

func (m *FetchX509IdentityRequest) XXX_Unmarshal(b []byte) error

type FetchX509IdentityResponse

type FetchX509IdentityResponse struct {
	Identity             *X509Identity  `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Bundle               *common.Bundle `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*FetchX509IdentityResponse) Descriptor

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

func (*FetchX509IdentityResponse) GetBundle

func (m *FetchX509IdentityResponse) GetBundle() *common.Bundle

func (*FetchX509IdentityResponse) GetIdentity

func (m *FetchX509IdentityResponse) GetIdentity() *X509Identity

func (*FetchX509IdentityResponse) ProtoMessage

func (*FetchX509IdentityResponse) ProtoMessage()

func (*FetchX509IdentityResponse) Reset

func (m *FetchX509IdentityResponse) Reset()

func (*FetchX509IdentityResponse) String

func (m *FetchX509IdentityResponse) String() string

func (*FetchX509IdentityResponse) XXX_DiscardUnknown

func (m *FetchX509IdentityResponse) XXX_DiscardUnknown()

func (*FetchX509IdentityResponse) XXX_Marshal

func (m *FetchX509IdentityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FetchX509IdentityResponse) XXX_Merge

func (m *FetchX509IdentityResponse) XXX_Merge(src proto.Message)

func (*FetchX509IdentityResponse) XXX_Size

func (m *FetchX509IdentityResponse) XXX_Size() int

func (*FetchX509IdentityResponse) XXX_Unmarshal

func (m *FetchX509IdentityResponse) XXX_Unmarshal(b []byte) error

type GetAgentInfoRequest

type GetAgentInfoRequest struct {
	AgentId              string   `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAgentInfoRequest) Descriptor

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

func (*GetAgentInfoRequest) GetAgentId

func (m *GetAgentInfoRequest) GetAgentId() string

func (*GetAgentInfoRequest) ProtoMessage

func (*GetAgentInfoRequest) ProtoMessage()

func (*GetAgentInfoRequest) Reset

func (m *GetAgentInfoRequest) Reset()

func (*GetAgentInfoRequest) String

func (m *GetAgentInfoRequest) String() string

func (*GetAgentInfoRequest) XXX_DiscardUnknown

func (m *GetAgentInfoRequest) XXX_DiscardUnknown()

func (*GetAgentInfoRequest) XXX_Marshal

func (m *GetAgentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAgentInfoRequest) XXX_Merge

func (m *GetAgentInfoRequest) XXX_Merge(src proto.Message)

func (*GetAgentInfoRequest) XXX_Size

func (m *GetAgentInfoRequest) XXX_Size() int

func (*GetAgentInfoRequest) XXX_Unmarshal

func (m *GetAgentInfoRequest) XXX_Unmarshal(b []byte) error

type GetAgentInfoResponse

type GetAgentInfoResponse struct {
	Info                 *AgentInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*GetAgentInfoResponse) Descriptor

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

func (*GetAgentInfoResponse) GetInfo

func (m *GetAgentInfoResponse) GetInfo() *AgentInfo

func (*GetAgentInfoResponse) ProtoMessage

func (*GetAgentInfoResponse) ProtoMessage()

func (*GetAgentInfoResponse) Reset

func (m *GetAgentInfoResponse) Reset()

func (*GetAgentInfoResponse) String

func (m *GetAgentInfoResponse) String() string

func (*GetAgentInfoResponse) XXX_DiscardUnknown

func (m *GetAgentInfoResponse) XXX_DiscardUnknown()

func (*GetAgentInfoResponse) XXX_Marshal

func (m *GetAgentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAgentInfoResponse) XXX_Merge

func (m *GetAgentInfoResponse) XXX_Merge(src proto.Message)

func (*GetAgentInfoResponse) XXX_Size

func (m *GetAgentInfoResponse) XXX_Size() int

func (*GetAgentInfoResponse) XXX_Unmarshal

func (m *GetAgentInfoResponse) XXX_Unmarshal(b []byte) error

type IdentityProviderClient

type IdentityProviderClient interface {
	FetchX509Identity(ctx context.Context, in *FetchX509IdentityRequest, opts ...grpc.CallOption) (*FetchX509IdentityResponse, error)
}

IdentityProviderClient is the client API for IdentityProvider service.

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

func NewIdentityProviderClient

func NewIdentityProviderClient(cc *grpc.ClientConn) IdentityProviderClient

type IdentityProviderServer

type IdentityProviderServer interface {
	FetchX509Identity(context.Context, *FetchX509IdentityRequest) (*FetchX509IdentityResponse, error)
}

IdentityProviderServer is the server API for IdentityProvider service.

type UnimplementedAgentStoreServer

type UnimplementedAgentStoreServer struct {
}

UnimplementedAgentStoreServer can be embedded to have forward compatible implementations.

func (*UnimplementedAgentStoreServer) GetAgentInfo

type UnimplementedIdentityProviderServer

type UnimplementedIdentityProviderServer struct {
}

UnimplementedIdentityProviderServer can be embedded to have forward compatible implementations.

func (*UnimplementedIdentityProviderServer) FetchX509Identity

type X509Identity

type X509Identity struct {
	CertChain            [][]byte `protobuf:"bytes,1,rep,name=cert_chain,json=certChain,proto3" json:"cert_chain,omitempty"`
	PrivateKey           []byte   `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*X509Identity) Descriptor

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

func (*X509Identity) GetCertChain

func (m *X509Identity) GetCertChain() [][]byte

func (*X509Identity) GetPrivateKey

func (m *X509Identity) GetPrivateKey() []byte

func (*X509Identity) ProtoMessage

func (*X509Identity) ProtoMessage()

func (*X509Identity) Reset

func (m *X509Identity) Reset()

func (*X509Identity) String

func (m *X509Identity) String() string

func (*X509Identity) XXX_DiscardUnknown

func (m *X509Identity) XXX_DiscardUnknown()

func (*X509Identity) XXX_Marshal

func (m *X509Identity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*X509Identity) XXX_Merge

func (m *X509Identity) XXX_Merge(src proto.Message)

func (*X509Identity) XXX_Size

func (m *X509Identity) XXX_Size() int

func (*X509Identity) XXX_Unmarshal

func (m *X509Identity) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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