describe

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2015 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescriberFor

func DescriberFor(kind string, c *client.Client, kclient kclient.Interface, host string) (kctl.Describer, bool)

func NewHumanReadablePrinter

func NewHumanReadablePrinter(noHeaders bool) *kctl.HumanReadablePrinter

Types

type BuildConfigDescriber

type BuildConfigDescriber struct {
	client.Interface
	// contains filtered or unexported fields
}

BuildConfigDescriber generates information about a buildConfig

func (*BuildConfigDescriber) Describe

func (d *BuildConfigDescriber) Describe(namespace, name string) (string, error)

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 {
	client.Interface
}

BuildDescriber generates information about a build

func (*BuildDescriber) Describe

func (d *BuildDescriber) Describe(namespace, name string) (string, error)

func (*BuildDescriber) DescribeParameters

func (d *BuildDescriber) DescribeParameters(p buildapi.BuildParameters, out *tabwriter.Writer)

func (*BuildDescriber) DescribeUser

func (d *BuildDescriber) DescribeUser(out *tabwriter.Writer, label string, u buildapi.SourceControlUser)

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

func NewDeploymentConfigDescriberForConfig added in v0.2.2

func NewDeploymentConfigDescriberForConfig(config *deployapi.DeploymentConfig) *DeploymentConfigDescriber

func (*DeploymentConfigDescriber) Describe

func (d *DeploymentConfigDescriber) Describe(namespace, name string) (string, error)

type DeploymentDescriber

type DeploymentDescriber struct {
	client.Interface
}

DeploymentDescriber generates information about a deployment DEPRECATED.

func (*DeploymentDescriber) Describe

func (d *DeploymentDescriber) Describe(namespace, name string) (string, error)

type ImageDescriber

type ImageDescriber struct {
	client.Interface
}

ImageDescriber generates information about a Image

func (*ImageDescriber) Describe

func (d *ImageDescriber) Describe(namespace, name string) (string, error)

type ImageRepositoryDescriber

type ImageRepositoryDescriber struct {
	client.Interface
}

ImageRepositoryDescriber generates information about a ImageRepository

func (*ImageRepositoryDescriber) Describe

func (d *ImageRepositoryDescriber) Describe(namespace, name string) (string, error)

type PolicyBindingDescriber added in v0.2.2

type PolicyBindingDescriber struct {
	client.Interface
}

PolicyBindingDescriber generates information about a Project

func (*PolicyBindingDescriber) Describe added in v0.2.2

func (d *PolicyBindingDescriber) Describe(namespace, name string) (string, error)

TODO make something a lot prettier

type PolicyDescriber added in v0.2.2

type PolicyDescriber struct {
	client.Interface
}

PolicyDescriber generates information about a Project

func (*PolicyDescriber) Describe added in v0.2.2

func (d *PolicyDescriber) Describe(namespace, name string) (string, error)

TODO make something a lot prettier

type ProjectDescriber

type ProjectDescriber struct {
	client.Interface
}

ProjectDescriber generates information about a Project

func (*ProjectDescriber) Describe

func (d *ProjectDescriber) Describe(namespace, name string) (string, error)

type RouteDescriber

type RouteDescriber struct {
	client.Interface
}

RouteDescriber generates information about a Route

func (*RouteDescriber) Describe

func (d *RouteDescriber) Describe(namespace, name string) (string, error)

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)

func (*TemplateDescriber) DescribeObjects added in v0.3.2

func (d *TemplateDescriber) DescribeObjects(objects []runtime.Object, labels map[string]string, out *tabwriter.Writer)

func (*TemplateDescriber) DescribeParameters added in v0.3.2

func (d *TemplateDescriber) DescribeParameters(params []templateapi.Parameter, out *tabwriter.Writer)

Jump to

Keyboard shortcuts

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