client

package
v1.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDoResponse

func CheckDoResponse(resp *http.Response) error

func SetLogger

func SetLogger(l *logrus.Logger)

Types

type ECSClient

type ECSClient struct {
	// contains filtered or unexported fields
}

func NewECSClient

func NewECSClient(port int) *ECSClient

func (*ECSClient) Delete

func (c *ECSClient) Delete(profile string) error

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) ListUrl

func (c *ECSClient) ListUrl() string

func (*ECSClient) LoadUrl

func (c *ECSClient) LoadUrl(profile string) string

func (*ECSClient) ProfileUrl

func (c *ECSClient) ProfileUrl() string

func (*ECSClient) SubmitCreds

func (c *ECSClient) SubmitCreds(creds *storage.RoleCredentials, profile string, slotted bool) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL