Documentation

Overview

    Package identity defines interfaces for Vanadium identity providers.

    Index

    Constants

    This section is empty.

    Variables

    View Source
    var Ec2BlesserDesc rpc.InterfaceDesc = descEc2Blesser

      Ec2BlesserDesc describes the Ec2Blesser interface.

      View Source
      var GoogleBlesserDesc rpc.InterfaceDesc = descGoogleBlesser

        GoogleBlesserDesc describes the GoogleBlesser 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
          	rpc.UniversalServiceMethods
          }

            Ec2BlesserClientStub adds universal methods to Ec2BlesserClientMethods.

            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
                	// Describe 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
                        	rpc.UniversalServiceMethods
                        }

                          GoogleBlesserClientStub adds universal methods to GoogleBlesserClientMethods.

                          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
                              	// Describe 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.

                                    Source Files