Documentation ¶
Index ¶
- type CreateCustomerRequest
- type CreateCustomerResponse
- type CreateKOTSAppRequest
- type CreateKOTSAppResponse
- type CustomerListResponse
- type ErrCustomerNotFound
- type GraphQLResponseListReleases
- type KotsRelease
- type KotsReleasesData
- type ListChannelsResponse
- type VendorV3Client
- func (c *VendorV3Client) ArchiveChannel(appID, channelID string) error
- func (c *VendorV3Client) CreateChannel(appID, name, description string) (*types.Channel, error)
- func (c *VendorV3Client) CreateCustomer(name string, appID string, channelID string, expiresIn time.Duration) (*types.Customer, error)
- func (c *VendorV3Client) CreateInstaller(appID string, yaml string) (*types.InstallerSpec, error)
- func (c *VendorV3Client) CreateKOTSApp(name string) (*types.KotsAppWithChannels, error)
- func (c *VendorV3Client) CreateRelease(appID string, multiyaml string) (*types.ReleaseInfo, error)
- func (c *VendorV3Client) DeleteKOTSApp(id string) error
- func (c *VendorV3Client) DownloadLicense(appID string, customerID string) ([]byte, error)
- func (c *VendorV3Client) GetApp(appID string) (*types.App, error)
- func (c *VendorV3Client) GetChannel(appID string, channelID string) (*channels.AppChannel, []channels.ChannelRelease, error)
- func (c *VendorV3Client) GetCustomerByName(appID string, name string) (*types.Customer, error)
- func (c *VendorV3Client) GetRelease(appID string, sequence int64) (*releases.AppRelease, error)
- func (c *VendorV3Client) LintRelease(data []byte) ([]types.LintMessage, error)
- func (c *VendorV3Client) ListApps() ([]types.AppAndChannels, error)
- func (c *VendorV3Client) ListChannels(appID string, appSlug string, channelName string) ([]types.Channel, error)
- func (c *VendorV3Client) ListCustomers(appID string) ([]types.Customer, error)
- func (c *VendorV3Client) ListInstallers(appID string) ([]types.InstallerSpec, error)
- func (c *VendorV3Client) ListReleases(appID string) ([]types.ReleaseInfo, error)
- func (c *VendorV3Client) PromoteInstaller(appID string, sequence int64, channelID string, versionLabel string) error
- func (c *VendorV3Client) PromoteRelease(appID, label, notes string, sequence int64, channelIDs ...string) error
- func (c *VendorV3Client) UpdateRelease(appID string, sequence int64, multiyaml string) error
- func (c *VendorV3Client) UpdateSemanticVersioning(appID string, channel *channels.AppChannel, enableSemver bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCustomerRequest ¶ added in v0.29.0
type CreateCustomerResponse ¶ added in v0.29.0
type CreateKOTSAppRequest ¶ added in v0.31.0
type CreateKOTSAppRequest struct {
Name string `json:"name"`
}
type CreateKOTSAppResponse ¶ added in v0.31.0
type CreateKOTSAppResponse struct {
App *types.KotsAppWithChannels `json:"app"`
}
type CustomerListResponse ¶ added in v0.29.0
type ErrCustomerNotFound ¶ added in v0.29.0
type ErrCustomerNotFound struct {
Name string
}
func (ErrCustomerNotFound) Error ¶ added in v0.29.0
func (e ErrCustomerNotFound) Error() string
type GraphQLResponseListReleases ¶
type GraphQLResponseListReleases struct { Data *KotsReleasesData `json:"data,omitempty"` Errors []graphql.GQLError `json:"errors,omitempty"` }
type KotsRelease ¶
type KotsReleasesData ¶
type KotsReleasesData struct {
KotsReleases []*KotsRelease `json:"allKotsReleases"`
}
type ListChannelsResponse ¶ added in v0.31.0
type ListChannelsResponse struct {
Channels []*types.KotsChannel `json:"channels"`
}
type VendorV3Client ¶ added in v0.31.0
type VendorV3Client struct {
platformclient.HTTPClient
}
func (*VendorV3Client) ArchiveChannel ¶ added in v0.37.0
func (c *VendorV3Client) ArchiveChannel(appID, channelID string) error
func (*VendorV3Client) CreateChannel ¶ added in v0.37.0
func (c *VendorV3Client) CreateChannel(appID, name, description string) (*types.Channel, error)
func (*VendorV3Client) CreateCustomer ¶ added in v0.31.0
func (*VendorV3Client) CreateInstaller ¶ added in v0.37.0
func (c *VendorV3Client) CreateInstaller(appID string, yaml string) (*types.InstallerSpec, error)
func (*VendorV3Client) CreateKOTSApp ¶ added in v0.31.0
func (c *VendorV3Client) CreateKOTSApp(name string) (*types.KotsAppWithChannels, error)
func (*VendorV3Client) CreateRelease ¶ added in v0.36.1
func (c *VendorV3Client) CreateRelease(appID string, multiyaml string) (*types.ReleaseInfo, error)
func (*VendorV3Client) DeleteKOTSApp ¶ added in v0.37.0
func (c *VendorV3Client) DeleteKOTSApp(id string) error
func (*VendorV3Client) DownloadLicense ¶ added in v0.31.0
func (c *VendorV3Client) DownloadLicense(appID string, customerID string) ([]byte, error)
func (*VendorV3Client) GetApp ¶ added in v0.37.0
func (c *VendorV3Client) GetApp(appID string) (*types.App, error)
func (*VendorV3Client) GetChannel ¶ added in v0.34.0
func (c *VendorV3Client) GetChannel(appID string, channelID string) (*channels.AppChannel, []channels.ChannelRelease, error)
func (*VendorV3Client) GetCustomerByName ¶ added in v0.31.0
func (*VendorV3Client) GetRelease ¶ added in v0.37.0
func (c *VendorV3Client) GetRelease(appID string, sequence int64) (*releases.AppRelease, error)
func (*VendorV3Client) LintRelease ¶ added in v0.37.0
func (c *VendorV3Client) LintRelease(data []byte) ([]types.LintMessage, error)
this is part of the gql client with plans to rename gql client to kotsclient and have endpoints for multiple release services included
func (*VendorV3Client) ListApps ¶ added in v0.37.0
func (c *VendorV3Client) ListApps() ([]types.AppAndChannels, error)
func (*VendorV3Client) ListChannels ¶ added in v0.31.0
func (*VendorV3Client) ListCustomers ¶ added in v0.31.0
func (c *VendorV3Client) ListCustomers(appID string) ([]types.Customer, error)
func (*VendorV3Client) ListInstallers ¶ added in v0.37.0
func (c *VendorV3Client) ListInstallers(appID string) ([]types.InstallerSpec, error)
func (*VendorV3Client) ListReleases ¶ added in v0.33.2
func (c *VendorV3Client) ListReleases(appID string) ([]types.ReleaseInfo, error)
func (*VendorV3Client) PromoteInstaller ¶ added in v0.37.0
func (*VendorV3Client) PromoteRelease ¶ added in v0.37.0
func (c *VendorV3Client) PromoteRelease(appID, label, notes string, sequence int64, channelIDs ...string) error
func (*VendorV3Client) UpdateRelease ¶ added in v0.36.1
func (c *VendorV3Client) UpdateRelease(appID string, sequence int64, multiyaml string) error
func (*VendorV3Client) UpdateSemanticVersioning ¶ added in v0.38.0
func (c *VendorV3Client) UpdateSemanticVersioning(appID string, channel *channels.AppChannel, enableSemver bool) error
Click to show internal directories.
Click to hide internal directories.