Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Deploy allows one to specify in a seperate package whether or not the app should be deployed to kubernetes Deploy bool )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
CreateDeployment(DeploymentConfig) error
}
Client ...
func NewKubernetesClient ¶
NewKubernetesClient ...
type DeploymentConfig ¶
type DeploymentConfig struct { Annotations map[string]string Args []string Env map[string]string BURL string // binary url Name string Labels map[string]string }
DeploymentConfig are the configuration parameters for a deployment (constructed from the flags)
type RealClient ¶
type RealClient struct {
ClientSet *kubernetes.Clientset
}
RealClient ...
func (*RealClient) CreateDeployment ¶
func (c *RealClient) CreateDeployment(config DeploymentConfig) error
CreateDeployment ...
Click to show internal directories.
Click to hide internal directories.