create

package
v3.9.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2017 License: Apache-2.0 Imports: 28 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 PolicyBindingRecommendedName = "policybinding"
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 NewCmdCreatePolicyBinding

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

NewCmdCreatePolicyBinding is a macro command to create a new policy binding.

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

	Mapper       meta.RESTMapper
	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     *deployapi.DeploymentConfig
	Client appsinternalversion.DeploymentConfigsGetter

	DryRun bool

	Mapper       meta.RESTMapper
	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

	Mapper       meta.RESTMapper
	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

	Mapper       meta.RESTMapper
	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

	Mapper       meta.RESTMapper
	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 CreatePolicyBindingOptions

type CreatePolicyBindingOptions struct {
	BindingNamespace string
	PolicyNamespace  string

	BindingClient authorizationclient.PolicyBindingsGetter

	Mapper       meta.RESTMapper
	OutputFormat string
	Out          io.Writer
	Printer      ObjectPrinter
}

func (*CreatePolicyBindingOptions) Complete

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

func (*CreatePolicyBindingOptions) Run

func (*CreatePolicyBindingOptions) Validate

func (o *CreatePolicyBindingOptions) Validate() error

type CreateUserIdentityMappingOptions

type CreateUserIdentityMappingOptions struct {
	User     string
	Identity string

	UserIdentityMappingClient userclient.UserIdentityMappingInterface

	DryRun bool

	Mapper       meta.RESTMapper
	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

	Mapper       meta.RESTMapper
	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