Documentation ¶
Index ¶
- Variables
- type ClusterAgentAdminClientMethods
- type ClusterAgentAdminClientStub
- type ClusterAgentAdminServerMethods
- type ClusterAgentAdminServerStub
- type ClusterAgentAdminServerStubMethods
- type ClusterAgentClientMethods
- type ClusterAgentClientStub
- type ClusterAgentServerMethods
- type ClusterAgentServerStub
- type ClusterAgentServerStubMethods
Constants ¶
This section is empty.
Variables ¶
var ClusterAgentAdminDesc rpc.InterfaceDesc = descClusterAgentAdmin
ClusterAgentAdminDesc describes the ClusterAgentAdmin interface.
var ClusterAgentDesc rpc.InterfaceDesc = descClusterAgent
ClusterAgentDesc describes the ClusterAgent interface.
Functions ¶
This section is empty.
Types ¶
type ClusterAgentAdminClientMethods ¶
type ClusterAgentAdminClientMethods interface { ClusterAgentClientMethods // Creates a new "secret" that can be used to retrieve extensions // of the blessings granted on this RPC, e.g. with the rpc.Granter // ClientCallOpt in Go. NewSecret(*context.T, ...rpc.CallOpt) (secret string, _ error) // Forgets a secret and its associated blessings. ForgetSecret(_ *context.T, secret string, _ ...rpc.CallOpt) error }
ClusterAgentAdminClientMethods is the client interface containing ClusterAgentAdmin methods.
type ClusterAgentAdminClientStub ¶
type ClusterAgentAdminClientStub interface { ClusterAgentAdminClientMethods rpc.UniversalServiceMethods }
ClusterAgentAdminClientStub adds universal methods to ClusterAgentAdminClientMethods.
func ClusterAgentAdminClient ¶
func ClusterAgentAdminClient(name string) ClusterAgentAdminClientStub
ClusterAgentAdminClient returns a client stub for ClusterAgentAdmin.
type ClusterAgentAdminServerMethods ¶
type ClusterAgentAdminServerMethods interface { ClusterAgentServerMethods // Creates a new "secret" that can be used to retrieve extensions // of the blessings granted on this RPC, e.g. with the rpc.Granter // ClientCallOpt in Go. NewSecret(*context.T, rpc.ServerCall) (secret string, _ error) // Forgets a secret and its associated blessings. ForgetSecret(_ *context.T, _ rpc.ServerCall, secret string) error }
ClusterAgentAdminServerMethods is the interface a server writer implements for ClusterAgentAdmin.
type ClusterAgentAdminServerStub ¶
type ClusterAgentAdminServerStub interface { ClusterAgentAdminServerStubMethods // Describe the ClusterAgentAdmin interfaces. Describe__() []rpc.InterfaceDesc }
ClusterAgentAdminServerStub adds universal methods to ClusterAgentAdminServerStubMethods.
func ClusterAgentAdminServer ¶
func ClusterAgentAdminServer(impl ClusterAgentAdminServerMethods) ClusterAgentAdminServerStub
ClusterAgentAdminServer returns a server stub for ClusterAgentAdmin. It converts an implementation of ClusterAgentAdminServerMethods into an object that may be used by rpc.Server.
type ClusterAgentAdminServerStubMethods ¶
type ClusterAgentAdminServerStubMethods ClusterAgentAdminServerMethods
ClusterAgentAdminServerStubMethods is the server interface containing ClusterAgentAdmin methods, as expected by rpc.Server. There is no difference between this interface and ClusterAgentAdminServerMethods since there are no streaming methods.
type ClusterAgentClientMethods ¶
type ClusterAgentClientMethods interface { // Retrieves all the blessings associated with a particular secret. // The only authorization required to access this method is the secret // itself. // TODO(rthellend): Consider adding other side-channel authorization // mechanisms, e.g. verify that the IP address of the client belongs to // an authorized user. SeekBlessings(_ *context.T, secret string, _ ...rpc.CallOpt) (security.Blessings, error) }
ClusterAgentClientMethods is the client interface containing ClusterAgent methods.
type ClusterAgentClientStub ¶
type ClusterAgentClientStub interface { ClusterAgentClientMethods rpc.UniversalServiceMethods }
ClusterAgentClientStub adds universal methods to ClusterAgentClientMethods.
func ClusterAgentClient ¶
func ClusterAgentClient(name string) ClusterAgentClientStub
ClusterAgentClient returns a client stub for ClusterAgent.
type ClusterAgentServerMethods ¶
type ClusterAgentServerMethods interface { // Retrieves all the blessings associated with a particular secret. // The only authorization required to access this method is the secret // itself. // TODO(rthellend): Consider adding other side-channel authorization // mechanisms, e.g. verify that the IP address of the client belongs to // an authorized user. SeekBlessings(_ *context.T, _ rpc.ServerCall, secret string) (security.Blessings, error) }
ClusterAgentServerMethods is the interface a server writer implements for ClusterAgent.
type ClusterAgentServerStub ¶
type ClusterAgentServerStub interface { ClusterAgentServerStubMethods // Describe the ClusterAgent interfaces. Describe__() []rpc.InterfaceDesc }
ClusterAgentServerStub adds universal methods to ClusterAgentServerStubMethods.
func ClusterAgentServer ¶
func ClusterAgentServer(impl ClusterAgentServerMethods) ClusterAgentServerStub
ClusterAgentServer returns a server stub for ClusterAgent. It converts an implementation of ClusterAgentServerMethods into an object that may be used by rpc.Server.
type ClusterAgentServerStubMethods ¶
type ClusterAgentServerStubMethods ClusterAgentServerMethods
ClusterAgentServerStubMethods is the server interface containing ClusterAgent methods, as expected by rpc.Server. There is no difference between this interface and ClusterAgentServerMethods since there are no streaming methods.
Directories ¶
Path | Synopsis |
---|---|
Command cluster_agent supports interactions with a cluster agent.
|
Command cluster_agent supports interactions with a cluster agent. |
The Cluster Agent keeps a list of Secret Keys and Blessings associated with them.
|
The Cluster Agent keeps a list of Secret Keys and Blessings associated with them. |
Manages Vanadium applications on kubernetes Usage: vkube [flags] <command> The vkube commands are: start Starts an application.
|
Manages Vanadium applications on kubernetes Usage: vkube [flags] <command> The vkube commands are: start Starts an application. |