Documentation ¶
Index ¶
- Variables
- func RegisterAgentStoreServer(s grpc.ServiceRegistrar, srv AgentStoreServer)
- func RegisterIdentityProviderServer(s grpc.ServiceRegistrar, srv IdentityProviderServer)
- type AgentInfo
- type AgentStoreClient
- type AgentStoreServer
- type FetchX509IdentityRequest
- type FetchX509IdentityResponse
- func (*FetchX509IdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchX509IdentityResponse) GetBundle() *common.Bundle
- func (x *FetchX509IdentityResponse) GetIdentity() *X509Identity
- func (*FetchX509IdentityResponse) ProtoMessage()
- func (x *FetchX509IdentityResponse) ProtoReflect() protoreflect.Message
- func (x *FetchX509IdentityResponse) Reset()
- func (x *FetchX509IdentityResponse) String() string
- type GetAgentInfoRequest
- func (*GetAgentInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgentInfoRequest) GetAgentId() string
- func (*GetAgentInfoRequest) ProtoMessage()
- func (x *GetAgentInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetAgentInfoRequest) Reset()
- func (x *GetAgentInfoRequest) String() string
- type GetAgentInfoResponse
- func (*GetAgentInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgentInfoResponse) GetInfo() *AgentInfo
- func (*GetAgentInfoResponse) ProtoMessage()
- func (x *GetAgentInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetAgentInfoResponse) Reset()
- func (x *GetAgentInfoResponse) String() string
- type IdentityProviderClient
- type IdentityProviderServer
- type UnimplementedAgentStoreServer
- type UnimplementedIdentityProviderServer
- type UnsafeAgentStoreServer
- type UnsafeIdentityProviderServer
- type X509Identity
- func (*X509Identity) Descriptor() ([]byte, []int)deprecated
- func (x *X509Identity) GetCertChain() [][]byte
- func (x *X509Identity) GetPrivateKey() []byte
- func (*X509Identity) ProtoMessage()
- func (x *X509Identity) ProtoReflect() protoreflect.Message
- func (x *X509Identity) Reset()
- func (x *X509Identity) String() string
Constants ¶
This section is empty.
Variables ¶
var File_spire_server_hostservices_agentstore_proto protoreflect.FileDescriptor
var File_spire_server_hostservices_identityprovider_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentStoreServer ¶
func RegisterAgentStoreServer(s grpc.ServiceRegistrar, srv AgentStoreServer)
func RegisterIdentityProviderServer ¶
func RegisterIdentityProviderServer(s grpc.ServiceRegistrar, srv IdentityProviderServer)
Types ¶
type AgentInfo ¶
type AgentInfo struct { AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // contains filtered or unexported fields }
func (*AgentInfo) Descriptor
deprecated
func (*AgentInfo) GetAgentId ¶
func (*AgentInfo) ProtoMessage ¶
func (*AgentInfo) ProtoMessage()
func (*AgentInfo) ProtoReflect ¶ added in v0.12.0
func (x *AgentInfo) ProtoReflect() protoreflect.Message
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAgentStoreClient ¶
func NewAgentStoreClient(cc grpc.ClientConnInterface) AgentStoreClient
type AgentStoreServer ¶
type AgentStoreServer interface { GetAgentInfo(context.Context, *GetAgentInfoRequest) (*GetAgentInfoResponse, error) // contains filtered or unexported methods }
AgentStoreServer is the server API for AgentStore service. All implementations must embed UnimplementedAgentStoreServer for forward compatibility
type FetchX509IdentityRequest ¶
type FetchX509IdentityRequest struct {
// contains filtered or unexported fields
}
func (*FetchX509IdentityRequest) Descriptor
deprecated
func (*FetchX509IdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchX509IdentityRequest.ProtoReflect.Descriptor instead.
func (*FetchX509IdentityRequest) ProtoMessage ¶
func (*FetchX509IdentityRequest) ProtoMessage()
func (*FetchX509IdentityRequest) ProtoReflect ¶ added in v0.12.0
func (x *FetchX509IdentityRequest) ProtoReflect() protoreflect.Message
func (*FetchX509IdentityRequest) Reset ¶
func (x *FetchX509IdentityRequest) Reset()
func (*FetchX509IdentityRequest) String ¶
func (x *FetchX509IdentityRequest) String() string
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"` // contains filtered or unexported fields }
func (*FetchX509IdentityResponse) Descriptor
deprecated
func (*FetchX509IdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchX509IdentityResponse.ProtoReflect.Descriptor instead.
func (*FetchX509IdentityResponse) GetBundle ¶
func (x *FetchX509IdentityResponse) GetBundle() *common.Bundle
func (*FetchX509IdentityResponse) GetIdentity ¶
func (x *FetchX509IdentityResponse) GetIdentity() *X509Identity
func (*FetchX509IdentityResponse) ProtoMessage ¶
func (*FetchX509IdentityResponse) ProtoMessage()
func (*FetchX509IdentityResponse) ProtoReflect ¶ added in v0.12.0
func (x *FetchX509IdentityResponse) ProtoReflect() protoreflect.Message
func (*FetchX509IdentityResponse) Reset ¶
func (x *FetchX509IdentityResponse) Reset()
func (*FetchX509IdentityResponse) String ¶
func (x *FetchX509IdentityResponse) String() string
type GetAgentInfoRequest ¶
type GetAgentInfoRequest struct { AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // contains filtered or unexported fields }
func (*GetAgentInfoRequest) Descriptor
deprecated
func (*GetAgentInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentInfoRequest.ProtoReflect.Descriptor instead.
func (*GetAgentInfoRequest) GetAgentId ¶
func (x *GetAgentInfoRequest) GetAgentId() string
func (*GetAgentInfoRequest) ProtoMessage ¶
func (*GetAgentInfoRequest) ProtoMessage()
func (*GetAgentInfoRequest) ProtoReflect ¶ added in v0.12.0
func (x *GetAgentInfoRequest) ProtoReflect() protoreflect.Message
func (*GetAgentInfoRequest) Reset ¶
func (x *GetAgentInfoRequest) Reset()
func (*GetAgentInfoRequest) String ¶
func (x *GetAgentInfoRequest) String() string
type GetAgentInfoResponse ¶
type GetAgentInfoResponse struct { Info *AgentInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*GetAgentInfoResponse) Descriptor
deprecated
func (*GetAgentInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentInfoResponse.ProtoReflect.Descriptor instead.
func (*GetAgentInfoResponse) GetInfo ¶
func (x *GetAgentInfoResponse) GetInfo() *AgentInfo
func (*GetAgentInfoResponse) ProtoMessage ¶
func (*GetAgentInfoResponse) ProtoMessage()
func (*GetAgentInfoResponse) ProtoReflect ¶ added in v0.12.0
func (x *GetAgentInfoResponse) ProtoReflect() protoreflect.Message
func (*GetAgentInfoResponse) Reset ¶
func (x *GetAgentInfoResponse) Reset()
func (*GetAgentInfoResponse) String ¶
func (x *GetAgentInfoResponse) String() string
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewIdentityProviderClient ¶
func NewIdentityProviderClient(cc grpc.ClientConnInterface) IdentityProviderClient
type IdentityProviderServer ¶
type IdentityProviderServer interface { FetchX509Identity(context.Context, *FetchX509IdentityRequest) (*FetchX509IdentityResponse, error) // contains filtered or unexported methods }
IdentityProviderServer is the server API for IdentityProvider service. All implementations must embed UnimplementedIdentityProviderServer for forward compatibility
type UnimplementedAgentStoreServer ¶
type UnimplementedAgentStoreServer struct { }
UnimplementedAgentStoreServer must be embedded to have forward compatible implementations.
func (UnimplementedAgentStoreServer) GetAgentInfo ¶
func (UnimplementedAgentStoreServer) GetAgentInfo(context.Context, *GetAgentInfoRequest) (*GetAgentInfoResponse, error)
type UnimplementedIdentityProviderServer ¶
type UnimplementedIdentityProviderServer struct { }
UnimplementedIdentityProviderServer must be embedded to have forward compatible implementations.
func (UnimplementedIdentityProviderServer) FetchX509Identity ¶
func (UnimplementedIdentityProviderServer) FetchX509Identity(context.Context, *FetchX509IdentityRequest) (*FetchX509IdentityResponse, error)
type UnsafeAgentStoreServer ¶ added in v0.12.0
type UnsafeAgentStoreServer interface {
// contains filtered or unexported methods
}
UnsafeAgentStoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentStoreServer will result in compilation errors.
type UnsafeIdentityProviderServer ¶ added in v0.12.0
type UnsafeIdentityProviderServer interface {
// contains filtered or unexported methods
}
UnsafeIdentityProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdentityProviderServer will result in compilation errors.
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"` // contains filtered or unexported fields }
func (*X509Identity) Descriptor
deprecated
func (*X509Identity) Descriptor() ([]byte, []int)
Deprecated: Use X509Identity.ProtoReflect.Descriptor instead.
func (*X509Identity) GetCertChain ¶
func (x *X509Identity) GetCertChain() [][]byte
func (*X509Identity) GetPrivateKey ¶
func (x *X509Identity) GetPrivateKey() []byte
func (*X509Identity) ProtoMessage ¶
func (*X509Identity) ProtoMessage()
func (*X509Identity) ProtoReflect ¶ added in v0.12.0
func (x *X509Identity) ProtoReflect() protoreflect.Message
func (*X509Identity) Reset ¶
func (x *X509Identity) Reset()
func (*X509Identity) String ¶
func (x *X509Identity) String() string