Documentation ¶
Index ¶
- Variables
- func Init()
- type APIClient
- func (apiClient *APIClient) CreateImage(image *types.Image) (*resty.Response, error)
- func (apiClient *APIClient) Get(endpoint string) (*resty.Response, error)
- func (apiClient *APIClient) GetImageDetails(imageVersion int) (*resty.Response, error)
- func (apiClient *APIClient) GetImageRepo(imageVersion int) (*resty.Response, error)
- func (apiClient *APIClient) GetImageSetsImageView(imagesetId, imageVersion int) (*resty.Response, error)
- func (apiClient *APIClient) GetImageSetsImages(imagesetId int) (*resty.Response, error)
- func (apiClient *APIClient) GetImageSetsList() (*resty.Response, error)
- func (apiClient *APIClient) GetImageSetsView(id int) (*resty.Response, error)
- func (apiClient *APIClient) GetImageStatus(imageVersion int) (*resty.Response, error)
- func (apiClient *APIClient) Post(endpoint string, payload interface{}) (*resty.Response, error)
- func (apiClient *APIClient) Put(endpoint string, payload interface{}) (*resty.Response, error)
- func (apiClient *APIClient) UpdateImage(imageVersion int, image *types.Image) (*resty.Response, error)
- type Settings
- type YourPayloadStruct
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
var (
Client *APIClient
)
func (*APIClient) CreateImage ¶
func (*APIClient) GetImageDetails ¶
func (*APIClient) GetImageRepo ¶
func (*APIClient) GetImageSetsImageView ¶
func (*APIClient) GetImageSetsImages ¶
func (*APIClient) GetImageSetsList ¶
GetImageSetsList returns a list of image sets
func (*APIClient) GetImageSetsView ¶
func (*APIClient) GetImageStatus ¶
type Settings ¶
type Settings struct { BaseURL string `yaml:"baseurl"` Username string `yaml:"username"` Password string `yaml:"password"` ProxyUrl string `yaml:"proxy"` }
func NewSettings ¶
type YourPayloadStruct ¶
type YourPayloadStruct struct { }
Click to show internal directories.
Click to hide internal directories.