pipeline

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(out io.Writer, endpoint, token string, insecure bool) *pipeline.APIClient

Client initializes Pipeline API client

func CommandArgs

func CommandArgs(cmd *cobra.Command) (endpoint, token string, insecure bool, orgID, clusterID int32, err error)

CommandArgs extracts args needed for Pipeline API client.

func Enabled

func Enabled(cmd *cobra.Command) bool

func NodeJoinArgs

func NodeJoinArgs(out io.Writer, cmd *cobra.Command) (apiServerHostPort, kubeadmToken, caCertHash string, err error)

func ValidArgs

func ValidArgs(endpoint, token string, insecure bool, orgID, clusterID int32) error

ValidArgs ensures all Pipeline API args are present.

Types

This section is empty.

Jump to

Keyboard shortcuts

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