Versions in this module Expand all Collapse all v2 v2.0.0 Apr 20, 2024 Changes in this version + type CachedClient struct + func (c *CachedClient) GetParameter(ctx context.Context, key string) (string, error) + func (c *CachedClient) GetParameterByTime(ctx context.Context, key string, at time.Time) (*Parameter, error) + func (c *CachedClient) GetParameterWithDescription(ctx context.Context, key string) (*Parameter, error) + func (c *CachedClient) GetParametersByPath(ctx context.Context, pathPrefix string) ([]*Parameter, error) + func (c *CachedClient) PutParameter(ctx context.Context, p *Parameter, overwrite bool) error + type Client struct + SSM ssmClient + func NewClient(cfg aws.Config) *Client + func (c *Client) CachedClient(cache *cache.Cache) *CachedClient + func (c *Client) GetParameter(ctx context.Context, key string) (string, error) + func (c *Client) GetParameterByTime(ctx context.Context, key string, at time.Time) (*Parameter, error) + func (c *Client) GetParameterWithDescription(ctx context.Context, key string) (*Parameter, error) + func (c *Client) GetParametersByPath(ctx context.Context, pathPrefix string) ([]*Parameter, error) + func (c *Client) PutParameter(ctx context.Context, param *Parameter, overwrite bool) error + func (c *Client) SingleflightClientWithCache(cache *cache.Cache) *SingleflightClient + type Mockclient struct + func NewMockclient(ctrl *gomock.Controller) *Mockclient + func (m *Mockclient) EXPECT() *MockclientMockRecorder + func (m *Mockclient) GetParameter(arg0 context.Context, arg1 string) (string, error) + func (m *Mockclient) GetParameterByTime(arg0 context.Context, arg1 string, arg2 time.Time) (*Parameter, error) + func (m *Mockclient) GetParameterWithDescription(arg0 context.Context, arg1 string) (*Parameter, error) + func (m *Mockclient) GetParametersByPath(arg0 context.Context, arg1 string) ([]*Parameter, error) + func (m *Mockclient) PutParameter(arg0 context.Context, arg1 *Parameter, arg2 bool) error + type MockclientMockRecorder struct + func (mr *MockclientMockRecorder) GetParameter(arg0, arg1 any) *gomock.Call + func (mr *MockclientMockRecorder) GetParameterByTime(arg0, arg1, arg2 any) *gomock.Call + func (mr *MockclientMockRecorder) GetParameterWithDescription(arg0, arg1 any) *gomock.Call + func (mr *MockclientMockRecorder) GetParametersByPath(arg0, arg1 any) *gomock.Call + func (mr *MockclientMockRecorder) PutParameter(arg0, arg1, arg2 any) *gomock.Call + type MockssmClient struct + func NewMockssmClient(ctrl *gomock.Controller) *MockssmClient + func (m *MockssmClient) DescribeParameters(arg0 context.Context, arg1 *ssm.DescribeParametersInput, ...) (*ssm.DescribeParametersOutput, error) + func (m *MockssmClient) EXPECT() *MockssmClientMockRecorder + func (m *MockssmClient) GetParameter(arg0 context.Context, arg1 *ssm.GetParameterInput, arg2 ...func(*ssm.Options)) (*ssm.GetParameterOutput, error) + func (m *MockssmClient) GetParameterHistory(arg0 context.Context, arg1 *ssm.GetParameterHistoryInput, ...) (*ssm.GetParameterHistoryOutput, error) + func (m *MockssmClient) PutParameter(arg0 context.Context, arg1 *ssm.PutParameterInput, arg2 ...func(*ssm.Options)) (*ssm.PutParameterOutput, error) + type MockssmClientMockRecorder struct + func (mr *MockssmClientMockRecorder) DescribeParameters(arg0, arg1 any, arg2 ...any) *gomock.Call + func (mr *MockssmClientMockRecorder) GetParameter(arg0, arg1 any, arg2 ...any) *gomock.Call + func (mr *MockssmClientMockRecorder) GetParameterHistory(arg0, arg1 any, arg2 ...any) *gomock.Call + func (mr *MockssmClientMockRecorder) PutParameter(arg0, arg1 any, arg2 ...any) *gomock.Call + type Parameter struct + Description string + KMSKeyID string + Name string + Type string + Value string + type SingleflightClient struct + func (c *SingleflightClient) GetParameter(ctx context.Context, key string) (string, error) + func (c *SingleflightClient) GetParameterByTime(ctx context.Context, key string, at time.Time) (*Parameter, error) + func (c *SingleflightClient) GetParameterWithDescription(ctx context.Context, key string) (*Parameter, error) + func (c *SingleflightClient) GetParametersByPath(ctx context.Context, pathPrefix string) ([]*Parameter, error) + func (c *SingleflightClient) PutParameter(ctx context.Context, p *Parameter, overwrite bool) error Other modules containing this package github.com/nabeken/psadm