create

package
v1.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeploymentConfigRecommendedName = "deploymentconfig"
)
View Source
const (
	IdentityRecommendedName = "identity"
)
View Source
const (
	PolicyBindingRecommendedName = "policybinding"
)
View Source
const (
	UserIdentityMappingRecommendedName = "useridentitymapping"
)
View Source
const (
	UserRecommendedName = "user"
)

Variables

This section is empty.

Functions

func NewCmdCreateDeploymentConfig

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

NewCmdCreateServiceAccount is a macro command to create a new service account

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 NewCmdCreatePolicyBinding

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

NewCmdCreateServiceAccount is a macro command to create a new service account

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 CreateDeploymentConfigOptions

type CreateDeploymentConfigOptions struct {
	DC     *deployapi.DeploymentConfig
	Client client.DeploymentConfigsNamespacer

	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 client.IdentityInterface

	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 CreatePolicyBindingOptions

type CreatePolicyBindingOptions struct {
	BindingNamespace string
	PolicyNamespace  string

	BindingClient client.PolicyBindingsNamespacer

	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 client.UserIdentityMappingInterface

	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 client.UserInterface

	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