Documentation ¶
Index ¶
- Variables
- func DescribeRole(role *authorizationapi.Role) (string, error)
- func DescribeRoleBinding(roleBinding *authorizationapi.RoleBinding, role *authorizationapi.Role, ...) (string, error)
- func DescriberFor(kind string, c *client.Client, kclient kclient.Interface, host string) (kctl.Describer, bool)
- func NewHumanReadablePrinter(noHeaders bool) *kctl.HumanReadablePrinter
- func PrintTemplateParameters(params []templateapi.Parameter, output io.Writer) error
- type BuildConfigDescriber
- type BuildDescriber
- type BuildLogDescriber
- type DeploymentConfigDescriber
- type DeploymentDescriber
- type IdentityDescriber
- type ImageDescriber
- type ImageStreamDescriber
- type ImageStreamImageDescriber
- type ImageStreamTagDescriber
- type PolicyBindingDescriber
- type PolicyDescriber
- type ProjectDescriber
- type ProjectStatusDescriber
- type RoleBindingDescriber
- type RoleDescriber
- type RouteDescriber
- type TemplateDescriber
- type UserDescriber
- type UserIdentityMappingDescriber
Constants ¶
This section is empty.
Variables ¶
var ( // known custom role extensions IsPersonalSubjectAccessReviewColumns = []string{"NAME"} )
Functions ¶
func DescribeRole ¶ added in v0.4.2
func DescribeRole(role *authorizationapi.Role) (string, error)
DescribeRole prints out information about a role
func DescribeRoleBinding ¶ added in v0.4.2
func DescribeRoleBinding(roleBinding *authorizationapi.RoleBinding, role *authorizationapi.Role, err error) (string, error)
DescribeRoleBinding prints out information about a role binding and its associated role
func DescriberFor ¶
func DescriberFor(kind string, c *client.Client, kclient kclient.Interface, host string) (kctl.Describer, bool)
DescriberFor returns a describer for a given kind of resource
func NewHumanReadablePrinter ¶
func NewHumanReadablePrinter(noHeaders bool) *kctl.HumanReadablePrinter
NewHumanReadablePrinter returns a new HumanReadablePrinter
func PrintTemplateParameters ¶ added in v0.4.1
func PrintTemplateParameters(params []templateapi.Parameter, output io.Writer) error
PrintTemplateParameters the Template parameters with their default values
Types ¶
type BuildConfigDescriber ¶
BuildConfigDescriber generates information about a buildConfig
func (*BuildConfigDescriber) Describe ¶
func (d *BuildConfigDescriber) Describe(namespace, name string) (string, error)
Describe returns the description of a buildConfig
func (*BuildConfigDescriber) DescribeTriggers ¶
func (d *BuildConfigDescriber) DescribeTriggers(bc *buildapi.BuildConfig, host string, out *tabwriter.Writer)
DescribeTriggers generates information about the triggers associated with a buildconfig
type BuildDescriber ¶
type BuildDescriber struct {
// contains filtered or unexported fields
}
BuildDescriber generates information about a build
func (*BuildDescriber) Describe ¶
func (d *BuildDescriber) Describe(namespace, name string) (string, error)
Describe returns the description of a build
func (*BuildDescriber) DescribeUser ¶
func (d *BuildDescriber) DescribeUser(out *tabwriter.Writer, label string, u buildapi.SourceControlUser)
DescribeUser formats the description of a user
type BuildLogDescriber ¶ added in v0.4.1
BuildLogDescriber generates information about a BuildLog
type DeploymentConfigDescriber ¶
type DeploymentConfigDescriber struct {
// contains filtered or unexported fields
}
DeploymentConfigDescriber generates information about a DeploymentConfig
func NewDeploymentConfigDescriber ¶ added in v0.2.2
func NewDeploymentConfigDescriber(client client.Interface, kclient kclient.Interface) *DeploymentConfigDescriber
NewDeploymentConfigDescriber returns a new DeploymentConfigDescriber
func NewDeploymentConfigDescriberForConfig ¶ added in v0.2.2
func NewDeploymentConfigDescriberForConfig(config *deployapi.DeploymentConfig) *DeploymentConfigDescriber
NewDeploymentConfigDescriberForConfig returns a new DeploymentConfigDescriber for a DeploymentConfig
type DeploymentDescriber ¶
DeploymentDescriber generates information about a deployment DEPRECATED.
type IdentityDescriber ¶ added in v0.4.2
IdentityDescriber generates information about a user
type ImageDescriber ¶
ImageDescriber generates information about a Image
type ImageStreamDescriber ¶ added in v0.4.3
ImageStreamDescriber generates information about a ImageStream
type ImageStreamImageDescriber ¶ added in v0.4.2
ImageStreamImageDescriber generates information about a ImageStreamImage (Image).
type ImageStreamTagDescriber ¶ added in v0.4.3
ImageStreamTagDescriber generates information about a ImageStreamTag (Image).
type PolicyBindingDescriber ¶ added in v0.2.2
PolicyBindingDescriber generates information about a Project
type PolicyDescriber ¶ added in v0.2.2
PolicyDescriber generates information about a Project
type ProjectDescriber ¶
ProjectDescriber generates information about a Project
type ProjectStatusDescriber ¶ added in v0.4.3
ProjectStatusDescriber generates extended information about a Project
type RoleBindingDescriber ¶ added in v0.4.2
RoleBindingDescriber generates information about a Project
type RoleDescriber ¶ added in v0.4.2
RoleDescriber generates information about a Project
type RouteDescriber ¶
RouteDescriber generates information about a Route
type TemplateDescriber ¶ added in v0.3.2
type TemplateDescriber struct { client.Interface meta.MetadataAccessor runtime.ObjectTyper DescribeObject func(obj runtime.Object, out *tabwriter.Writer) (bool, error) }
TemplateDescriber generates information about a template
func (*TemplateDescriber) Describe ¶ added in v0.3.2
func (d *TemplateDescriber) Describe(namespace, name string) (string, error)
Describe returns the description of a template
func (*TemplateDescriber) DescribeObjects ¶ added in v0.3.2
func (d *TemplateDescriber) DescribeObjects(objects []runtime.Object, out *tabwriter.Writer)
DescribeObjects prints out information about the objects of a template
func (*TemplateDescriber) DescribeParameters ¶ added in v0.3.2
func (d *TemplateDescriber) DescribeParameters(params []templateapi.Parameter, out *tabwriter.Writer)
DescribeParameters prints out information about the parameters of a template
type UserDescriber ¶ added in v0.4.2
UserDescriber generates information about a user
type UserIdentityMappingDescriber ¶ added in v0.4.2
UserIdentityMappingDescriber generates information about a user