Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppConfigTemplateData ¶
type AppsClient ¶
type Client ¶
type Client struct { BaseURL *url.URL // Model clients Apps AppsClient Deployments DeploymentsClient Namespaces NamespacesClient Rollouts RolloutsClient Secrets SecretsClient Environments EnvironmentsClient Validate ValidateClient // contains filtered or unexported fields }
Client is a API v1 client
func (*Client) MakeInsecure ¶
func (c *Client) MakeInsecure()
func (*Client) NewGetRequest ¶
type ClientError ¶
type ClientError struct { StatusCode int Message string `json:"message"` ValidationErrors map[string]string `json:"validationErrors"` }
ClientError provides the error message, status code.
func (*ClientError) Error ¶
func (e *ClientError) Error() string
type DeploymentsClient ¶
type DeploymentsClient interface { Delete(deploymentName, namespace, envName string) (*model.SaveDeploymentResponse, error) Save(deployment *model.SaveDeploymentRequest, dryRun bool) (*model.SaveDeploymentResponse, error) SaveStatus(deploymentName, namespace, envName string, status *model.DeploymentStatusMutable) (statusCode int, err error) }
type EnvironmentsClient ¶ added in v0.0.34
type EnvironmentsClient interface { Ping(envName string) error List() ([]model.EnvironmentMeta, error) GetConfig(envName string) (*model.EnvironmentConfig, error) SetConfig(envName string, config *model.EnvironmentConfig) error }
type NamespacesClient ¶
type RolloutsClient ¶
type SecretsClient ¶
type ValidateClient ¶
type ValidateClient interface {
AppConfig(appConfig *model.AppConfigWithOverrides) error
}
Click to show internal directories.
Click to hide internal directories.