Documentation
¶
Index ¶
- func NewHTTPClient(certChain string) (*http.Client, error)
- func SetLogger(l *logrus.Logger)
- type ECSClient
- func (c *ECSClient) Delete(profile string) error
- func (c *ECSClient) GetProfile() (ecs.ListProfilesResponse, error)
- func (c *ECSClient) ListProfiles() ([]ecs.ListProfilesResponse, error)
- func (c *ECSClient) ListUrl() string
- func (c *ECSClient) LoadUrl(profile string) string
- func (c *ECSClient) ProfileUrl() string
- func (c *ECSClient) SubmitCreds(creds *storage.RoleCredentials, profile string, slotted bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPClient ¶ added in v1.17.0
NewHTTPClient creates a new HTTP client with the provided cert chain preloaded into the system cert pool
Types ¶
type ECSClient ¶
type ECSClient struct {
// contains filtered or unexported fields
}
func NewECSClient ¶
func (*ECSClient) GetProfile ¶
func (c *ECSClient) GetProfile() (ecs.ListProfilesResponse, error)
func (*ECSClient) ListProfiles ¶
func (c *ECSClient) ListProfiles() ([]ecs.ListProfilesResponse, error)
ListProfiles returns a list of profiles that are loaded into slots
func (*ECSClient) ProfileUrl ¶
func (*ECSClient) SubmitCreds ¶
Click to show internal directories.
Click to hide internal directories.