Documentation
¶
Index ¶
- Constants
- func NewCmdCreateDeploymentConfig(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command
- func NewCmdCreateIdentity(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command
- func NewCmdCreatePolicyBinding(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command
- func NewCmdCreateUser(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command
- func NewCmdCreateUserIdentityMapping(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command
- type CreateDeploymentConfigOptions
- type CreateIdentityOptions
- type CreatePolicyBindingOptions
- type CreateUserIdentityMappingOptions
- type CreateUserOptions
- type ObjectPrinter
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 ¶
NewCmdCreateUser is a macro command to create a new user
Types ¶
type CreateDeploymentConfigOptions ¶
type CreateDeploymentConfigOptions struct {
DC *deployapi.DeploymentConfig
Client client.DeploymentConfigsNamespacer
Mapper meta.RESTMapper
OutputFormat string
Out io.Writer
Printer ObjectPrinter
}
func (*CreateDeploymentConfigOptions) Run ¶
func (o *CreateDeploymentConfigOptions) Run() error
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) 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) Run ¶
func (o *CreatePolicyBindingOptions) Run() error
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) Run ¶
func (o *CreateUserIdentityMappingOptions) Run() error
func (*CreateUserIdentityMappingOptions) Validate ¶
func (o *CreateUserIdentityMappingOptions) Validate() error
type CreateUserOptions ¶
type CreateUserOptions struct {
Name string
FullName string
UserClient client.UserInterface
Mapper meta.RESTMapper
OutputFormat string
Out io.Writer
Printer ObjectPrinter
}
func (*CreateUserOptions) Run ¶
func (o *CreateUserOptions) Run() error
func (*CreateUserOptions) Validate ¶
func (o *CreateUserOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.