Documentation
¶
Index ¶
- type BootstrapSnapshot
- type Cache
- func (c *Cache) Bootstrap() BootstrapSnapshot
- func (c *Cache) CachedForwardTicket() (pkgagentauth.ForwardTicket, error)
- func (c *Cache) Close()
- func (c *Cache) Done() <-chan struct{}
- func (c *Cache) RelayTicket(ctx context.Context, desiredGeneration uint64) (pkgagentauth.RelayTicket, error)
- func (c *Cache) Run(ctx context.Context) error
- type CacheOptions
- type ControlClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapSnapshot ¶
type BootstrapSnapshot struct {
MasterInstanceID string
Capabilities []string
SigningKeys []pkgagentauth.PublicKey
}
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func NewCache ¶
func NewCache(client ControlClient, opts CacheOptions) *Cache
func (*Cache) Bootstrap ¶
func (c *Cache) Bootstrap() BootstrapSnapshot
func (*Cache) CachedForwardTicket ¶
func (c *Cache) CachedForwardTicket() (pkgagentauth.ForwardTicket, error)
func (*Cache) RelayTicket ¶
func (c *Cache) RelayTicket(ctx context.Context, desiredGeneration uint64) (pkgagentauth.RelayTicket, error)
type CacheOptions ¶
type ControlClient ¶
Click to show internal directories.
Click to hide internal directories.