package
0.0.11
Repository: https://github.com/grailbio/base.git
Documentation: pkg.go.dev

# Functions

Returns a list of Compute Instances that match the filter.
ControlFromString creates a Control from a string label.nolint:deadcode,unused.
ListServiceClient returns a client stub for ListService.
ListServiceServer returns a server stub for ListService.
NewTicketContext allows creating a TicketContext without unncessary exporting its fields.
TicketServiceClient returns a client stub for TicketService.
TicketServiceServer returns a server stub for TicketService.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

Client is the default Getter which uses Vanadium to interact with the ticket-server.
ControlAll holds all labels for Control.
ListServiceDesc describes the ListService interface.
TicketServiceDesc describes the TicketService interface.

# Structs

AwsAssumeRoleBuilder describes the information required to obtain a temporary set of AWS credentials (which can be described using AwsCredentials) using the AssumeRole call from Security Token Service (STS).
No description provided by the author
AwsCredentials describes a set of (potentially temporary) AWS credentials.
AwsSessionBuilder describes the information required to obtain a temporary set of AWS credentials (described using AwsCredentials) then using the GetSessionToken call from Security Token Service (STS).
AwsTicket is a ticket that contains a set of (potentially temporary) AWS credentials.
B2AccountAuthorizationBuilder describes the information required to obtain a B2 account authorization.
B2Ticket instance contains a B2 account level authorization token plus URLs and configuration values for the account.
Simplification of describeInstance data to provide to ticket-server users.
No description provided by the author
DockerClientTicket instance represents the TLS certificate material required for clients to authenticate against a specific DockerServer.
DockerServerTicket instance represents a Docker Server and the TLS certificate material required for clients to verify and authenticate it.
DockerTicket instance represents a Docker repository and the TLS certificate material required to verify and authenticate to it.
EcrTicket describes an AWS EC2 Container Registry.
GenericTicket describes a generic unstructured piece of data.
Key/Value pair that can be passed into the GET request.
S3Ticket describes an AWS S3 object or prefix.
SshCert describes a ssh public Certifcate.
No description provided by the author
SshCertificateTicket describes a SSH Signed Certificate.
No description provided by the author
No description provided by the author
TicketConfig describes a ticket and its associated permissions.
TicketContext wraps the informations that needs to carry around between varius ticket functions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TlsCertAuthorityBuilder describes a Certification Authority capable to generate a particular cert.
TlsClientTicket describes a TLS client.
TlsCredentials describes a generic set of Tls credentials that include: the CA that accepted by the client (only peers that present a certificate sign by this CA are accepted), the client certificate and the client private key.
TlsServerTicket describes a TLS server.
An UnexpectedTicketType error is produced when a ticket cannot be cast to the expected type.
VanadiumBuilder describes the information required to build Vanadium blessings.
VanadiumTicket describes a set of Vanadium blessings.

# Interfaces

Builder is the interface for building a Ticket.
ListServiceClientMethods is the client interface containing ListService methods.
ListServiceClientStub embeds ListServiceClientMethods and is a placeholder for additional management operations.
ListServiceServerMethods is the interface a server writer implements for ListService.
ListServiceServerStub adds universal methods to ListServiceServerStubMethods.
No description provided by the author
TicketServiceClientMethods is the client interface containing TicketService methods.
TicketServiceClientStub embeds TicketServiceClientMethods and is a placeholder for additional management operations.
TicketServiceServerMethods is the interface a server writer implements for TicketService.
TicketServiceServerStub adds universal methods to TicketServiceServerStubMethods.

# Type aliases

TicketConfig Controls fields.
A Getter retrieves a ticket value for the key.
ListServiceServerStubMethods is the server interface containing ListService methods, as expected by rpc.Server.
TicketServiceServerStubMethods is the server interface containing TicketService methods, as expected by rpc.Server.