Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { Username string `json:"username"` Password string `json:"token"` CAKey string `json:"caKey"` CACert string `json:"caCert"` AdminCert string `json:"adminCert"` AdminKey string `json:"adminKey"` }
Auth holds all possible auth parameters.
type ChartData ¶
type ChartData struct { Metadata *chart.Metadata `json:"metadata"` Readme string `json:"readme"` Values string `json:"values"` }
ChartData is a simplified representation of the helm chart.
type ChartInfo ¶
type ChartInfo struct { Name string `json:"name"` Repo string `json:"repo"` Icon string `json:"icon"` Description string `json:"description"` Versions []ChartVersion `json:"versions"` }
ChartInfo contains a list of available chart versions and description/icon info for the latest one.
type ChartVersion ¶
type CloudAccount ¶
type CloudAccount struct { Name string `json:"name" valid:"required, length(1|32)"` Provider clouds.Name `json:"provider" valid:"in(aws|digitalocean|packet|gce|openstack)"` Credentials map[string]string `json:"credentials" valid:"optional"` }
CloudAccount is settings of account in public or private cloud (e.g. AWS, vCenter) Name should be unique.
type Kube ¶
type Kube struct { ID string `json:"id" valid:"-"` State KubeState `json:"state"` Name string `json:"name" valid:"required"` Provider clouds.Name `json:"provider" valid:"in(aws|digitalocean|packet|gce|openstack)"` RBACEnabled bool `json:"rbacEnabled"` AccountName string `json:"accountName"` Region string `json:"region"` Zone string `json:"zone" valid:"-"` APIPort string `json:"apiPort"` Auth Auth `json:"auth"` SshUser string `json:"sshUser"` SshPublicKey []byte `json:"sshKey"` User string `json:"user" valid:"-"` Password string `json:"password" valid:"-"` Arch string `json:"arch"` OperatingSystem string `json:"operatingSystem"` OperatingSystemVersion string `json:"operatingSystemVersion"` DockerVersion string `json:"dockerVersion"` K8SVersion string `json:"K8SVersion"` HelmVersion string `json:"helmVersion"` Networking Networking `json:"networking"` CloudSpec profile.CloudSpecificSettings `json:"cloudSpec" valid:"-"` Masters map[string]*node.Node `json:"masters"` Nodes map[string]*node.Node `json:"nodes"` }
Kube represents a kubernetes cluster.
type Networking ¶
type ReleaseInfo ¶
type ReleaseInfo struct { Name string `json:"name"` Namespace string `json:"namespace"` Version int32 `json:"version"` CreatedAt string `json:"createdAt"` LastDeployed string `json:"lastDeployed"` Chart string `json:"chart"` ChartVersion string `json:"chartVersion"` Status string `json:"status"` }
ReleaseInfo is a simplified representations of the helm release.
type RepositoryInfo ¶
RepositoryInfo holds authorization details and shortened charts info.
Click to show internal directories.
Click to hide internal directories.