Documentation ¶
Index ¶
- func CreateClient(clusterName string) (*kubernetes.Clientset, error)
- func CreateNamespace(client *kubernetes.Clientset, namespace string) error
- func CreateSecret(client *kubernetes.Clientset, secretRef, namespace string, ...) error
- func CreateUpdateIngress(client *kubernetes.Clientset, serviceConfig *model.ServiceConfig, ...) error
- func CreateUpdateService(client *kubernetes.Clientset, serviceDefinition *model.ServiceDefinition, ...) error
- func GetConfig(clusterName string) (*rest.Config, error)
- func UpsertDeployment(client *kubernetes.Clientset, serviceDefinition *model.ServiceDefinition, ...) error
- func WatchDeployment(ctx context.Context, client *kubernetes.Clientset, ...) error
- type UpsertCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClient ¶
func CreateClient(clusterName string) (*kubernetes.Clientset, error)
func CreateNamespace ¶
func CreateNamespace(client *kubernetes.Clientset, namespace string) error
func CreateSecret ¶
func CreateUpdateIngress ¶
func CreateUpdateIngress(client *kubernetes.Clientset, serviceConfig *model.ServiceConfig, serviceName, namespace string) error
func CreateUpdateService ¶
func CreateUpdateService(client *kubernetes.Clientset, serviceDefinition *model.ServiceDefinition, namespace string) error
func UpsertDeployment ¶ added in v0.0.5
func UpsertDeployment(client *kubernetes.Clientset, serviceDefinition *model.ServiceDefinition, serviceConfig *model.ServiceConfig, namespace, deployVersion, dockerRegistry string) error
func WatchDeployment ¶ added in v0.0.5
Types ¶
type UpsertCommand ¶ added in v0.0.5
func (*UpsertCommand) Do ¶ added in v0.0.5
func (u *UpsertCommand) Do() (err error)
Click to show internal directories.
Click to hide internal directories.