Documentation
¶
Overview ¶
Package identity defines interfaces for Vanadium identity providers.
Index ¶
- Variables
- type Ec2BlesserClientMethods
- type Ec2BlesserClientStub
- type Ec2BlesserServerMethods
- type Ec2BlesserServerStub
- type Ec2BlesserServerStubMethods
- type GoogleBlesserClientMethods
- type GoogleBlesserClientStub
- type GoogleBlesserServerMethods
- type GoogleBlesserServerStub
- type GoogleBlesserServerStubMethods
- type K8sBlesserClientMethods
- type K8sBlesserClientStub
- type K8sBlesserServerMethods
- type K8sBlesserServerStub
- type K8sBlesserServerStubMethods
Constants ¶
This section is empty.
Variables ¶
var Ec2BlesserDesc rpc.InterfaceDesc = descEc2Blesser
Ec2BlesserDesc describes the Ec2Blesser interface.
var GoogleBlesserDesc rpc.InterfaceDesc = descGoogleBlesser
GoogleBlesserDesc describes the GoogleBlesser interface.
var K8sBlesserDesc rpc.InterfaceDesc = descK8sBlesser
K8sBlesserDesc describes the K8sBlesser interface.
Functions ¶
This section is empty.
Types ¶
type Ec2BlesserClientMethods ¶
type Ec2BlesserClientMethods interface { // BlessEc2 uses the provided EC2 instance identity document in PKCS#7 // format to return a blessing to the client. BlessEc2(_ *context.T, pkcs7b64 string, _ ...rpc.CallOpt) (blessing security.Blessings, _ error) }
Ec2BlesserClientMethods is the client interface containing Ec2Blesser methods.
Ec2Blesser returns a blessing given the provided EC2 instance identity document.
type Ec2BlesserClientStub ¶
type Ec2BlesserClientStub interface { Ec2BlesserClientMethods }
Ec2BlesserClientStub embeds Ec2BlesserClientMethods and is a placeholder for additional management operations.
func Ec2BlesserClient ¶
func Ec2BlesserClient(name string) Ec2BlesserClientStub
Ec2BlesserClient returns a client stub for Ec2Blesser.
type Ec2BlesserServerMethods ¶
type Ec2BlesserServerMethods interface { // BlessEc2 uses the provided EC2 instance identity document in PKCS#7 // format to return a blessing to the client. BlessEc2(_ *context.T, _ rpc.ServerCall, pkcs7b64 string) (blessing security.Blessings, _ error) }
Ec2BlesserServerMethods is the interface a server writer implements for Ec2Blesser.
Ec2Blesser returns a blessing given the provided EC2 instance identity document.
type Ec2BlesserServerStub ¶
type Ec2BlesserServerStub interface { Ec2BlesserServerStubMethods // DescribeInterfaces the Ec2Blesser interfaces. Describe__() []rpc.InterfaceDesc }
Ec2BlesserServerStub adds universal methods to Ec2BlesserServerStubMethods.
func Ec2BlesserServer ¶
func Ec2BlesserServer(impl Ec2BlesserServerMethods) Ec2BlesserServerStub
Ec2BlesserServer returns a server stub for Ec2Blesser. It converts an implementation of Ec2BlesserServerMethods into an object that may be used by rpc.Server.
type Ec2BlesserServerStubMethods ¶
type Ec2BlesserServerStubMethods Ec2BlesserServerMethods
Ec2BlesserServerStubMethods is the server interface containing Ec2Blesser methods, as expected by rpc.Server. There is no difference between this interface and Ec2BlesserServerMethods since there are no streaming methods.
type GoogleBlesserClientMethods ¶
type GoogleBlesserClientMethods interface {
BlessGoogle(_ *context.T, idToken string, _ ...rpc.CallOpt) (blessing security.Blessings, _ error)
}
GoogleBlesserClientMethods is the client interface containing GoogleBlesser methods.
GoogleBlesser returns a blessing giving the provided Google ID token.
type GoogleBlesserClientStub ¶
type GoogleBlesserClientStub interface { GoogleBlesserClientMethods }
GoogleBlesserClientStub embeds GoogleBlesserClientMethods and is a placeholder for additional management operations.
func GoogleBlesserClient ¶
func GoogleBlesserClient(name string) GoogleBlesserClientStub
GoogleBlesserClient returns a client stub for GoogleBlesser.
type GoogleBlesserServerMethods ¶
type GoogleBlesserServerMethods interface {
BlessGoogle(_ *context.T, _ rpc.ServerCall, idToken string) (blessing security.Blessings, _ error)
}
GoogleBlesserServerMethods is the interface a server writer implements for GoogleBlesser.
GoogleBlesser returns a blessing giving the provided Google ID token.
type GoogleBlesserServerStub ¶
type GoogleBlesserServerStub interface { GoogleBlesserServerStubMethods // DescribeInterfaces the GoogleBlesser interfaces. Describe__() []rpc.InterfaceDesc }
GoogleBlesserServerStub adds universal methods to GoogleBlesserServerStubMethods.
func GoogleBlesserServer ¶
func GoogleBlesserServer(impl GoogleBlesserServerMethods) GoogleBlesserServerStub
GoogleBlesserServer returns a server stub for GoogleBlesser. It converts an implementation of GoogleBlesserServerMethods into an object that may be used by rpc.Server.
type GoogleBlesserServerStubMethods ¶
type GoogleBlesserServerStubMethods GoogleBlesserServerMethods
GoogleBlesserServerStubMethods is the server interface containing GoogleBlesser methods, as expected by rpc.Server. There is no difference between this interface and GoogleBlesserServerMethods since there are no streaming methods.
type K8sBlesserClientMethods ¶ added in v0.0.11
type K8sBlesserClientMethods interface {
BlessK8s(_ *context.T, caCrt string, namespace string, token string, region string, _ ...rpc.CallOpt) (blessing security.Blessings, _ error)
}
K8sBlesserClientMethods is the client interface containing K8sBlesser methods.
K8sBlesser returns a blessing giving the provided Kubernetes service accountop token.
type K8sBlesserClientStub ¶ added in v0.0.11
type K8sBlesserClientStub interface { K8sBlesserClientMethods }
K8sBlesserClientStub embeds K8sBlesserClientMethods and is a placeholder for additional management operations.
func K8sBlesserClient ¶ added in v0.0.11
func K8sBlesserClient(name string) K8sBlesserClientStub
K8sBlesserClient returns a client stub for K8sBlesser.
type K8sBlesserServerMethods ¶ added in v0.0.11
type K8sBlesserServerMethods interface {
BlessK8s(_ *context.T, _ rpc.ServerCall, caCrt string, namespace string, token string, region string) (blessing security.Blessings, _ error)
}
K8sBlesserServerMethods is the interface a server writer implements for K8sBlesser.
K8sBlesser returns a blessing giving the provided Kubernetes service accountop token.
type K8sBlesserServerStub ¶ added in v0.0.11
type K8sBlesserServerStub interface { K8sBlesserServerStubMethods // DescribeInterfaces the K8sBlesser interfaces. Describe__() []rpc.InterfaceDesc }
K8sBlesserServerStub adds universal methods to K8sBlesserServerStubMethods.
func K8sBlesserServer ¶ added in v0.0.11
func K8sBlesserServer(impl K8sBlesserServerMethods) K8sBlesserServerStub
K8sBlesserServer returns a server stub for K8sBlesser. It converts an implementation of K8sBlesserServerMethods into an object that may be used by rpc.Server.
type K8sBlesserServerStubMethods ¶ added in v0.0.11
type K8sBlesserServerStubMethods K8sBlesserServerMethods
K8sBlesserServerStubMethods is the server interface containing K8sBlesser methods, as expected by rpc.Server. There is no difference between this interface and K8sBlesserServerMethods since there are no streaming methods.