set

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSetCmd

func NewSetCmd(clientset *client.ConfigSet) *cobra.Command

NewSetCmd returns "Set" cobra CLI command with its subcommands

Types

type Credentials

type Credentials struct {
	Host     string
	Username string
	Password string
	Email    string
}

Credentials contains docker registry credentials

func (*Credentials) SetRegistryCreds

func (c *Credentials) SetRegistryCreds(args []string, clientset *client.ConfigSet) error

SetRegistryCreds creates Secret with docker registry credentials json which later can be mounted as config.json file

type Route

type Route struct {
	Revisions []string
	Configs   []string
}

Route contains set of knative revisions/configurations to distribute traffic between them

func (*Route) SetPercentage

func (r *Route) SetPercentage(args []string, clientset *client.ConfigSet) error

SetPercentage changes traffic distribution between service revisions

Jump to

Keyboard shortcuts

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