Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Clock retry.Clock = clock.WallClock
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { base.ClientFacade // contains filtered or unexported fields }
Client provides access to the CrossModelSecrets API facade.
func NewClient ¶
func NewClient(caller base.APICallCloser) *Client
NewClient creates a new client-side CrossModelSecrets facade.
func NewClientWithCache ¶
func NewClientWithCache(caller base.APICallCloser, cache *crossmodelrelations.MacaroonCache) *Client
NewClientWithCache creates a new client-side CrossModelSecrets facade with the specified cache.
func (*Client) GetRemoteSecretContentInfo ¶
func (c *Client) GetRemoteSecretContentInfo(uri *coresecrets.URI, revision int, refresh, peek bool, sourceControllerUUID, appToken string, unitId int, macs macaroon.Slice) ( *secrets.ContentParams, *provider.ModelBackendConfig, int, bool, error, )
GetRemoteSecretContentInfo gets secret content from a cross model controller.
func (*Client) GetSecretAccessScope ¶
func (c *Client) GetSecretAccessScope(uri *coresecrets.URI, appToken string, unitId int) (string, error)
GetSecretAccessScope gets access details for a secret from a cross model controller.
Click to show internal directories.
Click to hide internal directories.