Documentation
¶
Index ¶
- type CachedClient
- func (c *CachedClient) GetParameter(key string) (string, error)
- func (c *CachedClient) GetParameterByTime(key string, at time.Time) (*Parameter, error)
- func (c *CachedClient) GetParameterWithDescription(key string) (*Parameter, error)
- func (c *CachedClient) GetParametersByPath(pathPrefix string) ([]*Parameter, error)
- type Client
- func (c *Client) CachedClient(cache *cache.Cache) *CachedClient
- func (c *Client) GetParameter(key string) (string, error)
- func (c *Client) GetParameterByTime(key string, at time.Time) (*Parameter, error)
- func (c *Client) GetParameterWithDescription(key string) (*Parameter, error)
- func (c *Client) GetParametersByPath(pathPrefix string) ([]*Parameter, error)
- func (c *Client) PutParameter(param *Parameter, overwrite bool) error
- type Parameter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedClient ¶
type CachedClient struct {
// contains filtered or unexported fields
}
func (*CachedClient) GetParameter ¶
func (c *CachedClient) GetParameter(key string) (string, error)
func (*CachedClient) GetParameterByTime ¶
func (*CachedClient) GetParameterWithDescription ¶
func (c *CachedClient) GetParameterWithDescription(key string) (*Parameter, error)
func (*CachedClient) GetParametersByPath ¶
func (c *CachedClient) GetParametersByPath(pathPrefix string) ([]*Parameter, error)
type Client ¶
type Client struct {
SSM ssmClient
}
Client wraps SSM client for psadm.
func (*Client) CachedClient ¶
func (c *Client) CachedClient(cache *cache.Cache) *CachedClient
func (*Client) GetParameter ¶
GetParameter returns the decrypted parameter.
func (*Client) GetParameterByTime ¶
GetParameterByTime returns the latest parameter.
func (*Client) GetParameterWithDescription ¶
func (*Client) GetParametersByPath ¶
GetParametersByPath gets all parameters having given path prefix.
Click to show internal directories.
Click to hide internal directories.