{"modulePath":"github.com/2lambda123/openshift-origin","version":"v3.6.1+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package describe\n\n## Constants\n\n```go\nconst ForbiddenListWarning = \"Forbidden\"\n```\n\n```go\nconst PolicyRuleHeadings = \"Verbs\\tNon-Resource URLs\\tResource Names\\tAPI Groups\\tResources\"\n```\n\n## Variables\n\n```go\nvar (\n\n\t// IsPersonalSubjectAccessReviewColumns contains known custom role extensions\n\tIsPersonalSubjectAccessReviewColumns = []string{\"NAME\"}\n)\n```\n\n## Functions\n\n```go\nfunc DescribableResources() []string\n```\nDescribableResources lists all of the resource types we can describe\n\n```go\nfunc DescribeClusterQuota(quota *quotaapi.ClusterResourceQuota) (string, error)\n```\n\n```go\nfunc DescribeImage(image *imageapi.Image, imageName string) (string, error)\n```\n\n```go\nfunc DescribeImageStream(imageStream *imageapi.ImageStream) (string, error)\n```\n\n```go\nfunc DescribePolicy(policy *authorizationapi.Policy) (string, error)\n```\n\n```go\nfunc DescribePolicyBinding(policyBinding *authorizationapi.PolicyBinding) (string, error)\n```\n\n```go\nfunc DescribePolicyRule(out *tabwriter.Writer, rule authorizationapi.PolicyRule, indent string)\n```\n\n```go\nfunc DescribeRole(role *authorizationapi.Role) (string, error)\n```\n\n```go\nfunc DescribeRoleBinding(roleBinding *authorizationapi.RoleBinding, role *authorizationapi.Role, err error) (string, error)\n```\nDescribeRoleBinding prints out information about a role binding and its associated role\n\n```go\nfunc DescriberFor(kind schema.GroupKind, c *client.Client, kclient kclientset.Interface, host string) (kprinters.Describer, bool)\n```\nDescriberFor returns a describer for a given kind of resource\n\n```go\nfunc FormatRelativeTime(t time.Time) string\n```\nFormatRelativeTime converts a time field into a human readable age string (hours, minutes, days).\n\n```go\nfunc NewHumanReadablePrinter(encoder runtime.Encoder, decoder runtime.Decoder, printOptions kprinters.PrintOptions) *kprinters.HumanReadablePrinter\n```\nNewHumanReadablePrinter returns a new HumanReadablePrinter\n\n```go\nfunc PrintTemplateParameters(params []templateapi.Parameter, output io.Writer) error\n```\nPrintTemplateParameters the Template parameters with their default values\n\n## Types\n\n```go\ntype AppliedClusterQuotaDescriber struct {\n\tclient.Interface\n}\n```\n\n```go\nfunc (d *AppliedClusterQuotaDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\n\n```go\ntype BuildConfigDescriber struct {\n\tclient.Interface\n\t// contains filtered or unexported fields\n}\n```\nBuildConfigDescriber generates information about a buildConfig\n\n```go\nfunc (d *BuildConfigDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a buildConfig\n\n```go\nfunc (d *BuildConfigDescriber) DescribeTriggers(bc *buildapi.BuildConfig, out *tabwriter.Writer)\n```\nDescribeTriggers generates information about the triggers associated with a buildconfig\n\n```go\ntype BuildDescriber struct {\n\t// contains filtered or unexported fields\n}\n```\nBuildDescriber generates information about a build\n\n```go\nfunc (d *BuildDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a build\n\n```go\ntype ChainDescriber struct {\n\t// contains filtered or unexported fields\n}\n```\nChainDescriber generates extended information about a chain of dependencies of an image stream\n\n```go\nfunc NewChainDescriber(c client.BuildConfigsNamespacer, namespaces sets.String, out string) *ChainDescriber\n```\nNewChainDescriber returns a new ChainDescriber\n\n```go\nfunc (d *ChainDescriber) Describe(ist *imageapi.ImageStreamTag, includeInputImages, reverse bool) (string, error)\n```\nDescribe returns the output of the graph starting from the provided image stream tag (name:tag) in namespace. Namespace is needed here because image stream tags with the same name can be found across different namespaces.\n\n```go\nfunc (d *ChainDescriber) MakeGraph() (osgraph.Graph, error)\n```\nMakeGraph will create the graph of all build configurations and the image streams they point to via image change triggers in the provided namespace(s)\n\n```go\ntype ClusterNetworkDescriber struct {\n\tclient.Interface\n}\n```\n\n```go\nfunc (d *ClusterNetworkDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a ClusterNetwork\n\n```go\ntype ClusterPolicyBindingDescriber struct {\n\tclient.Interface\n}\n```\nClusterPolicyBindingDescriber generates information about a Project\n\n```go\nfunc (d *ClusterPolicyBindingDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a policyBinding\n\n```go\ntype ClusterPolicyDescriber struct {\n\tclient.Interface\n}\n```\nClusterPolicyDescriber generates information about a Project\n\n```go\nfunc (d *ClusterPolicyDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a policy TODO make something a lot prettier\n\n```go\ntype ClusterQuotaDescriber struct {\n\tclient.Interface\n}\n```\n\n```go\nfunc (d *ClusterQuotaDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\n\n```go\ntype ClusterRoleBindingDescriber struct {\n\tclient.Interface\n}\n```\nClusterRoleBindingDescriber generates information about a Project\n\n```go\nfunc (d *ClusterRoleBindingDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a roleBinding\n\n```go\ntype ClusterRoleDescriber struct {\n\tclient.Interface\n}\n```\n\n```go\nfunc (d *ClusterRoleDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a role\n\n```go\ntype DeploymentConfigDescriber struct {\n\t// contains filtered or unexported fields\n}\n```\nDeploymentConfigDescriber generates information about a DeploymentConfig\n\n```go\nfunc NewDeploymentConfigDescriber(client client.Interface, kclient kclientset.Interface, config *deployapi.DeploymentConfig) *DeploymentConfigDescriber\n```\nNewDeploymentConfigDescriber returns a new DeploymentConfigDescriber\n\n```go\nfunc (d *DeploymentConfigDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a DeploymentConfig\n\n```go\ntype DepthFirst struct {\n\tEdgeFilter func(graph.Edge) bool\n\tVisit      func(u, v graph.Node)\n\t// contains filtered or unexported fields\n}\n```\nDepthFirst implements stateful depth-first graph traversal. Modifies behavior of visitor.DepthFirst to allow nodes to be visited multiple times as long as they're not in the current stack\n\n```go\nfunc (d *DepthFirst) Walk(g graph.Graph, from graph.Node, until func(graph.Node) bool) graph.Node\n```\nWalk performs a depth-first traversal of the graph g starting from the given node\n\n```go\ntype DescribeWebhook struct {\n\tURL      string\n\tAllowEnv *bool\n}\n```\nDescribeWebhook holds the URL information about a webhook and for generic webhooks it tells us if we allow env variables.\n\n```go\ntype EgressNetworkPolicyDescriber struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (d *EgressNetworkPolicyDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of an EgressNetworkPolicy\n\n```go\ntype GraphLoader interface {\n\t// Load is responsible for gathering and saving the objects this GraphLoader should AddToGraph\n\tLoad() error\n\t// AddToGraph\n\tAddToGraph(g osgraph.Graph) error\n}\n```\nGraphLoader is a stateful interface that provides methods for building the nodes of a graph\n\n```go\ntype GroupDescriber struct {\n\t// contains filtered or unexported fields\n}\n```\nGroupDescriber generates information about a group\n\n```go\nfunc (d *GroupDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a group\n\n```go\ntype HostSubnetDescriber struct {\n\tclient.Interface\n}\n```\n\n```go\nfunc (d *HostSubnetDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a HostSubnet\n\n```go\ntype IdentityDescriber struct {\n\tclient.Interface\n}\n```\nIdentityDescriber generates information about a user\n\n```go\nfunc (d *IdentityDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of an identity\n\n```go\ntype ImageDescriber struct {\n\tclient.Interface\n}\n```\nImageDescriber generates information about a Image\n\n```go\nfunc (d *ImageDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of an image\n\n```go\ntype ImageStreamDescriber struct {\n\tclient.Interface\n}\n```\nImageStreamDescriber generates information about a ImageStream (Image).\n\n```go\nfunc (d *ImageStreamDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of an imageStream\n\n```go\ntype ImageStreamImageDescriber struct {\n\tclient.Interface\n}\n```\nImageStreamImageDescriber generates information about a ImageStreamImage (Image).\n\n```go\nfunc (d *ImageStreamImageDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of an imageStreamImage\n\n```go\ntype ImageStreamTagDescriber struct {\n\tclient.Interface\n}\n```\nImageStreamTagDescriber generates information about a ImageStreamTag (Image).\n\n```go\nfunc (d *ImageStreamTagDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of an imageStreamTag\n\n```go\ntype LatestDeploymentsDescriber struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewLatestDeploymentsDescriber(client client.Interface, kclient kclientset.Interface, count int) *LatestDeploymentsDescriber\n```\nNewLatestDeploymentsDescriber lists the latest deployments limited to \"count\". In case count == -1, list back to the last successful.\n\n```go\nfunc (d *LatestDeploymentsDescriber) Describe(namespace, name string) (string, error)\n```\nDescribe returns the description of the latest deployments for a config\n\n```go\ntype NetNamespaceDescriber struct {\n\tclient.Interface\n}\n```\n\n```go\nfunc (d *NetNamespaceDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a NetNamespace\n\n```go\ntype NodeStack []graph.Node\n```\nNodeStack implements a LIFO stack of graph.Node. NodeStack is internal only in go 1.5.\n\n```go\nfunc (s *NodeStack) Len() int\n```\nLen returns the number of graph.Nodes on the stack.\n\n```go\nfunc (s *NodeStack) Pop() graph.Node\n```\nPop returns the last graph.Node on the stack and removes it from the stack.\n\n```go\nfunc (s *NodeStack) Push(n graph.Node)\n```\nPush adds the node n to the stack at the last position.\n\n```go\ntype NotFoundErr string\n```\nNotFoundErr is returned when the imageStreamTag (ist) of interest cannot be found in the graph. This doesn't mean though that the IST does not exist. A user may have an image stream without a build configuration pointing at it. In that case, the IST of interest simply doesn't have other dependant ists\n\n```go\nfunc (e NotFoundErr) Error() string\n```\n\n```go\ntype OAuthAccessTokenDescriber struct {\n\tclient.Interface\n}\n```\nOAuthAccessTokenDescriber generates information about an OAuth Acess Token (OAuth)\n\n```go\nfunc (d *OAuthAccessTokenDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\n\n```go\ntype OverlappingControllers []*kapi.ReplicationController\n```\nOverlappingControllers sorts a list of controllers by creation timestamp, using their names as a tie breaker. From [https://github.com/kubernetes/kubernetes/blob/9eab226947d73a77cbf8474188f216cd64cd5fef/pkg/controller/replication/replication\\_controller\\_utils.go#L81-L92](https://github.com/kubernetes/kubernetes/blob/9eab226947d73a77cbf8474188f216cd64cd5fef/pkg/controller/replication/replication_controller_utils.go#L81-L92) and modified to use internal instead of versioned objects.\n\n```go\nfunc (o OverlappingControllers) Len() int\n```\n\n```go\nfunc (o OverlappingControllers) Less(i, j int) bool\n```\n\n```go\nfunc (o OverlappingControllers) Swap(i, j int)\n```\n\n```go\ntype PolicyBindingDescriber struct {\n\tclient.Interface\n}\n```\nPolicyBindingDescriber generates information about a Project\n\n```go\nfunc (d *PolicyBindingDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a policyBinding\n\n```go\ntype PolicyDescriber struct {\n\tclient.Interface\n}\n```\nPolicyDescriber generates information about a Project\n\n```go\nfunc (d *PolicyDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a policy TODO make something a lot prettier\n\n```go\ntype ProjectDescriber struct {\n\t// contains filtered or unexported fields\n}\n```\nProjectDescriber generates information about a Project\n\n```go\nfunc (d *ProjectDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a project\n\n```go\ntype ProjectStatusDescriber struct {\n\tK       kclientset.Interface\n\tC       client.Interface\n\tServer  string\n\tSuggest bool\n\n\t// root command used when calling this command\n\tCommandBaseName    string\n\tRequestedNamespace string\n\tCurrentNamespace   string\n\n\tCanRequestProjects bool\n\n\tLogsCommandName             string\n\tSecurityPolicyCommandFormat string\n\tSetProbeCommandName         string\n}\n```\nProjectStatusDescriber generates extended information about a Project\n\n```go\nfunc (d *ProjectStatusDescriber) Describe(namespace, name string) (string, error)\n```\nDescribe returns the description of a project\n\n```go\nfunc (d *ProjectStatusDescriber) MakeGraph(namespace string) (osgraph.Graph, sets.String, error)\n```\n\n```go\ntype RoleBindingDescriber struct {\n\tclient.Interface\n}\n```\nRoleBindingDescriber generates information about a Project\n\n```go\nfunc (d *RoleBindingDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a roleBinding\n\n```go\ntype RoleBindingRestrictionDescriber struct {\n\tclient.Interface\n}\n```\n\n```go\nfunc (d *RoleBindingRestrictionDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a RoleBindingRestriction.\n\n```go\ntype RoleDescriber struct {\n\tclient.Interface\n}\n```\nRoleDescriber generates information about a Project\n\n```go\nfunc (d *RoleDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a role\n\n```go\ntype RouteDescriber struct {\n\tclient.Interface\n\t// contains filtered or unexported fields\n}\n```\nRouteDescriber generates information about a Route\n\n```go\nfunc (d *RouteDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a route\n\n```go\ntype SecurityContextConstraintsDescriber struct {\n\tkclientset.Interface\n}\n```\nSecurityContextConstraintsDescriber generates information about an SCC\n\n```go\nfunc (d *SecurityContextConstraintsDescriber) Describe(namespace, name string, s kprinters.DescriberSettings) (string, error)\n```\n\n```go\ntype SortableProjects []projectapi.Project\n```\nSortableProjects is a list of projects that can be sorted\n\n```go\nfunc (list SortableProjects) Len() int\n```\n\n```go\nfunc (list SortableProjects) Less(i, j int) bool\n```\n\n```go\nfunc (list SortableProjects) Swap(i, j int)\n```\n\n```go\ntype TemplateDescriber struct {\n\tclient.Interface\n\tmeta.MetadataAccessor\n\truntime.ObjectTyper\n\tkprinters.ObjectDescriber\n}\n```\nTemplateDescriber generates information about a template\n\n```go\nfunc (d *TemplateDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a template\n\n```go\nfunc (d *TemplateDescriber) DescribeMessage(msg string, out *tabwriter.Writer)\n```\nDescribeMessage prints the message that will be parameter substituted and displayed to the user when this template is processed.\n\n```go\nfunc (d *TemplateDescriber) DescribeParameters(params []templateapi.Parameter, out *tabwriter.Writer)\n```\nDescribeParameters prints out information about the parameters of a template\n\n```go\nfunc (d *TemplateDescriber) DescribeTemplate(template *templateapi.Template) (string, error)\n```\n\n```go\ntype UserDescriber struct {\n\tclient.Interface\n}\n```\nUserDescriber generates information about a user\n\n```go\nfunc (d *UserDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a user\n\n```go\ntype UserIdentityMappingDescriber struct {\n\tclient.Interface\n}\n```\nUserIdentityMappingDescriber generates information about a user\n\n```go\nfunc (d *UserIdentityMappingDescriber) Describe(namespace, name string, settings kprinters.DescriberSettings) (string, error)\n```\nDescribe returns the description of a userIdentity\n\n","path":"github.com/2lambda123/openshift-origin/pkg/cmd/cli/describe","name":"describe","synopsis":"","isRedistributable":true}
