helm

package
v0.0.0-...-037fe5e Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2018 License: Apache-2.0 Imports: 0 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateUpdateDeploymentRequest

type CreateUpdateDeploymentRequest struct {
	Name        string      `json:"name" binding:"required"`
	ReleaseName string      `json:"release_name"`
	Version     string      `json:"version"`
	ReUseValues bool        `json:"reuse_values"`
	Namespace   string      `json:"namespace"`
	Values      interface{} `json:"values"`
}

CreateUpdateDeploymentRequest describes a Helm deployment

type CreateUpdateDeploymentResponse

type CreateUpdateDeploymentResponse struct {
	ReleaseName string `json:"release_name"`
	Notes       string `json:"notes"`
}

CreateUpdateDeploymentResponse describes a create/update deployment response

type DeleteResponse

type DeleteResponse struct {
	Status  int    `json:"status"`
	Message string `json:"message"`
	Name    string `json:"name"`
}

DeleteResponse describes a deployment delete response

type DeploymentStatusResponse

type DeploymentStatusResponse struct {
	Status  int    `json:"status"`
	Message string `json:"message"`
}

DeploymentStatusResponse describes a deployment status response

type EndPointURLs

type EndPointURLs struct {
	Path        string `json:"path"`
	URL         string `json:"url"`
	ReleaseName string `json:"release_name"`
}

EndPointURLs describes an endpoint url

type EndpointItem

type EndpointItem struct {
	Name         string           `json:"name"`
	Host         string           `json:"host"`
	Ports        map[string]int32 `json:"ports"`
	EndPointURLs []*EndPointURLs  `json:"urls"`
}

EndpointItem describes a service public endpoint

type EndpointResponse

type EndpointResponse struct {
	Endpoints []*EndpointItem `json:"endpoints"`
}

EndpointResponse describes a service public endpoints

type Install

type Install struct {
	// Name of the kubeconfig context to use
	KubeContext string `json:"kube_context"`

	// Namespace of Tiller
	Namespace string `json:"namespace" binding:"required"` // "kube-system"

	// Upgrade if Tiller is already installed
	Upgrade bool `json:"upgrade"`

	// Name of service account
	ServiceAccount string `json:"service_account" binding:"required"`

	// Use the canary Tiller image
	Canary bool `json:"canary_image"`

	// Override Tiller image
	ImageSpec string `json:"tiller_image"`

	// Limit the maximum number of revisions saved per release. Use 0 for no limit.
	MaxHistory int `json:"history_max"`
}

Install describes an Helm install request

type InstallResponse

type InstallResponse struct {
	Status  int    `json:"status"`
	Message string `json:"message"`
}

InstallResponse describes a Helm install response

type ListDeploymentResponse

type ListDeploymentResponse struct {
	Name    string `json:"name"`
	Chart   string `json:"chart"`
	Version int32  `json:"version"`
	Updated string `json:"updated"`
	Status  string `json:"status"`
}

ListDeploymentResponse describes a deployment list response

type StatusResponse

type StatusResponse struct {
	Status  int    `json:"status"`
	Message string `json:"message"`
	Name    string `json:"name"`
}

StatusResponse describes a Helm status response

Jump to

Keyboard shortcuts

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