create

package
v3.10.0-0.35.0+incompa... Latest Latest
Warning

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

Go to latest
Published: May 6, 2018 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const ClusterQuotaRecommendedName = "clusterresourcequota"
View Source
const IdentityRecommendedName = "identity"
View Source
const ImageStreamRecommendedName = "imagestream"
View Source
const ImageStreamTagRecommendedName = "imagestreamtag"
View Source
const UserIdentityMappingRecommendedName = "useridentitymapping"
View Source
const UserRecommendedName = "user"

Variables

View Source
var DeploymentConfigRecommendedName = "deploymentconfig"

Functions

func CreateEdgeRoute

func CreateEdgeRoute(f *clientcmd.Factory, out io.Writer, cmd *cobra.Command, args []string) error

CreateEdgeRoute implements the behavior to run the create edge route command.

func CreatePassthroughRoute

func CreatePassthroughRoute(f *clientcmd.Factory, out io.Writer, cmd *cobra.Command, args []string) error

CreatePassthroughRoute implements the behavior to run the create passthrough route command.

func CreateReencryptRoute

func CreateReencryptRoute(f *clientcmd.Factory, out io.Writer, cmd *cobra.Command, args []string) error

CreateReencryptRoute implements the behavior to run the create reencrypt route command.

func NewCmdCreateClusterQuota

func NewCmdCreateClusterQuota(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdCreateClusterQuota is a macro command to create a new cluster quota.

func NewCmdCreateDeploymentConfig

func NewCmdCreateDeploymentConfig(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdCreateDeploymentConfig is a macro command to create a new deployment config.

func NewCmdCreateEdgeRoute

func NewCmdCreateEdgeRoute(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdCreateEdgeRoute is a macro command to create an edge route.

func NewCmdCreateIdentity

func NewCmdCreateIdentity(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdCreateIdentity is a macro command to create a new identity

func NewCmdCreateImageStream

func NewCmdCreateImageStream(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdCreateImageStream is a macro command to create a new image stream

func NewCmdCreateImageStreamTag

func NewCmdCreateImageStreamTag(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdCreateImageStreamTag is a command to create a new image stream tag.

func NewCmdCreatePassthroughRoute

func NewCmdCreatePassthroughRoute(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdCreatePassthroughRoute is a macro command to create a passthrough route.

func NewCmdCreateReencryptRoute

func NewCmdCreateReencryptRoute(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdCreateReencryptRoute is a macro command to create a reencrypt route.

func NewCmdCreateRoute

func NewCmdCreateRoute(fullName string, f *clientcmd.Factory, out, errOut io.Writer) *cobra.Command

NewCmdCreateRoute is a macro command to create a secured route.

func NewCmdCreateUser

func NewCmdCreateUser(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdCreateUser is a macro command to create a new user

func NewCmdCreateUserIdentityMapping

func NewCmdCreateUserIdentityMapping(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdCreateUserIdentityMapping is a macro command to create a new identity

Types

type CreateClusterQuotaOptions

type CreateClusterQuotaOptions struct {
	ClusterQuota *quotaapi.ClusterResourceQuota
	Client       quotaclient.ClusterResourceQuotasGetter

	DryRun bool

	OutputFormat string
	Out          io.Writer
	Printer      ObjectPrinter
}

func (*CreateClusterQuotaOptions) Complete

func (o *CreateClusterQuotaOptions) Complete(cmd *cobra.Command, f *clientcmd.Factory, args []string) error

func (*CreateClusterQuotaOptions) Run

func (*CreateClusterQuotaOptions) Validate

func (o *CreateClusterQuotaOptions) Validate() error

type CreateDeploymentConfigOptions

type CreateDeploymentConfigOptions struct {
	DC     *appsapi.DeploymentConfig
	Client appsinternalversion.DeploymentConfigsGetter

	DryRun bool

	OutputFormat string
	Out          io.Writer
	Printer      ObjectPrinter
}

func (*CreateDeploymentConfigOptions) Complete

func (*CreateDeploymentConfigOptions) Run

func (*CreateDeploymentConfigOptions) Validate

func (o *CreateDeploymentConfigOptions) Validate() error

type CreateIdentityOptions

type CreateIdentityOptions struct {
	ProviderName     string
	ProviderUserName string

	IdentityClient userclient.IdentityInterface

	DryRun bool

	OutputFormat string
	Out          io.Writer
	Printer      ObjectPrinter
}

func (*CreateIdentityOptions) Complete

func (o *CreateIdentityOptions) Complete(cmd *cobra.Command, f *clientcmd.Factory, args []string) error

func (*CreateIdentityOptions) Run

func (o *CreateIdentityOptions) Run() error

func (*CreateIdentityOptions) Validate

func (o *CreateIdentityOptions) Validate() error

type CreateImageStreamOptions

type CreateImageStreamOptions struct {
	IS     *imageapi.ImageStream
	Client imageclient.ImageStreamsGetter

	DryRun bool

	OutputFormat string
	Out          io.Writer
	Printer      ObjectPrinter
}

func (*CreateImageStreamOptions) Complete

func (o *CreateImageStreamOptions) Complete(cmd *cobra.Command, f *clientcmd.Factory, args []string) error

func (*CreateImageStreamOptions) Run

func (*CreateImageStreamOptions) Validate

func (o *CreateImageStreamOptions) Validate() error

type CreateImageStreamTagOptions

type CreateImageStreamTagOptions struct {
	ISTag  *imageapi.ImageStreamTag
	Client imageclient.ImageStreamTagsGetter

	FromImage   string
	From        string
	Annotations []string

	DryRun bool

	OutputFormat string
	Out          io.Writer
	Printer      ObjectPrinter
}

func (*CreateImageStreamTagOptions) Complete

func (o *CreateImageStreamTagOptions) Complete(cmd *cobra.Command, f *clientcmd.Factory, args []string) error

func (*CreateImageStreamTagOptions) Run

func (*CreateImageStreamTagOptions) Validate

func (o *CreateImageStreamTagOptions) Validate() error

type CreateUserIdentityMappingOptions

type CreateUserIdentityMappingOptions struct {
	User     string
	Identity string

	UserIdentityMappingClient userclient.UserIdentityMappingInterface

	DryRun bool

	OutputFormat string
	Out          io.Writer
	Printer      ObjectPrinter
}

func (*CreateUserIdentityMappingOptions) Complete

func (*CreateUserIdentityMappingOptions) Run

func (*CreateUserIdentityMappingOptions) Validate

type CreateUserOptions

type CreateUserOptions struct {
	Name     string
	FullName string

	UserClient userclient.UserInterface

	DryRun bool

	OutputFormat string
	Out          io.Writer
	Printer      ObjectPrinter
}

func (*CreateUserOptions) Complete

func (o *CreateUserOptions) Complete(cmd *cobra.Command, f *clientcmd.Factory, args []string) error

func (*CreateUserOptions) Run

func (o *CreateUserOptions) Run() error

func (*CreateUserOptions) Validate

func (o *CreateUserOptions) Validate() error

type ObjectPrinter

type ObjectPrinter func(runtime.Object, io.Writer) error

Jump to

Keyboard shortcuts

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