{"modulePath":"github.com/2lambda123/openshift-origin","version":"v3.10.0+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package create\n\n## Constants\n\n```go\nconst ClusterQuotaRecommendedName = \"clusterresourcequota\"\n```\n\n```go\nconst IdentityRecommendedName = \"identity\"\n```\n\n```go\nconst ImageStreamRecommendedName = \"imagestream\"\n```\n\n```go\nconst ImageStreamTagRecommendedName = \"imagestreamtag\"\n```\n\n```go\nconst UserIdentityMappingRecommendedName = \"useridentitymapping\"\n```\n\n```go\nconst UserRecommendedName = \"user\"\n```\n\n## Variables\n\n```go\nvar DeploymentConfigRecommendedName = \"deploymentconfig\"\n```\n\n## Functions\n\n```go\nfunc CreateEdgeRoute(f *clientcmd.Factory, out io.Writer, cmd *cobra.Command, args []string) error\n```\nCreateEdgeRoute implements the behavior to run the create edge route command.\n\n```go\nfunc CreatePassthroughRoute(f *clientcmd.Factory, out io.Writer, cmd *cobra.Command, args []string) error\n```\nCreatePassthroughRoute implements the behavior to run the create passthrough route command.\n\n```go\nfunc CreateReencryptRoute(f *clientcmd.Factory, out io.Writer, cmd *cobra.Command, args []string) error\n```\nCreateReencryptRoute implements the behavior to run the create reencrypt route command.\n\n```go\nfunc NewCmdCreateClusterQuota(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command\n```\nNewCmdCreateClusterQuota is a macro command to create a new cluster quota.\n\n```go\nfunc NewCmdCreateDeploymentConfig(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command\n```\nNewCmdCreateDeploymentConfig is a macro command to create a new deployment config.\n\n```go\nfunc NewCmdCreateEdgeRoute(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command\n```\nNewCmdCreateEdgeRoute is a macro command to create an edge route.\n\n```go\nfunc NewCmdCreateIdentity(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command\n```\nNewCmdCreateIdentity is a macro command to create a new identity\n\n```go\nfunc NewCmdCreateImageStream(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command\n```\nNewCmdCreateImageStream is a macro command to create a new image stream\n\n```go\nfunc NewCmdCreateImageStreamTag(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command\n```\nNewCmdCreateImageStreamTag is a command to create a new image stream tag.\n\n```go\nfunc NewCmdCreatePassthroughRoute(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command\n```\nNewCmdCreatePassthroughRoute is a macro command to create a passthrough route.\n\n```go\nfunc NewCmdCreateReencryptRoute(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command\n```\nNewCmdCreateReencryptRoute is a macro command to create a reencrypt route.\n\n```go\nfunc NewCmdCreateRoute(fullName string, f *clientcmd.Factory, out, errOut io.Writer) *cobra.Command\n```\nNewCmdCreateRoute is a macro command to create a secured route.\n\n```go\nfunc NewCmdCreateUser(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command\n```\nNewCmdCreateUser is a macro command to create a new user\n\n```go\nfunc NewCmdCreateUserIdentityMapping(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command\n```\nNewCmdCreateUserIdentityMapping is a macro command to create a new identity\n\n## Types\n\n```go\ntype CreateClusterQuotaOptions struct {\n\tClusterQuota *quotaapi.ClusterResourceQuota\n\tClient       quotaclient.ClusterResourceQuotasGetter\n\n\tDryRun bool\n\n\tOutputFormat string\n\tOut          io.Writer\n\tPrinter      ObjectPrinter\n}\n```\n\n```go\nfunc (o *CreateClusterQuotaOptions) Complete(cmd *cobra.Command, f *clientcmd.Factory, args []string) error\n```\n\n```go\nfunc (o *CreateClusterQuotaOptions) Run() error\n```\n\n```go\nfunc (o *CreateClusterQuotaOptions) Validate() error\n```\n\n```go\ntype CreateDeploymentConfigOptions struct {\n\tDC     *appsapi.DeploymentConfig\n\tClient appsinternalversion.DeploymentConfigsGetter\n\n\tDryRun bool\n\n\tOutputFormat string\n\tOut          io.Writer\n\tPrinter      ObjectPrinter\n}\n```\n\n```go\nfunc (o *CreateDeploymentConfigOptions) Complete(cmd *cobra.Command, f *clientcmd.Factory, args []string) error\n```\n\n```go\nfunc (o *CreateDeploymentConfigOptions) Run() error\n```\n\n```go\nfunc (o *CreateDeploymentConfigOptions) Validate() error\n```\n\n```go\ntype CreateIdentityOptions struct {\n\tProviderName     string\n\tProviderUserName string\n\n\tIdentityClient userclient.IdentityInterface\n\n\tDryRun bool\n\n\tOutputFormat string\n\tOut          io.Writer\n\tPrinter      ObjectPrinter\n}\n```\n\n```go\nfunc (o *CreateIdentityOptions) Complete(cmd *cobra.Command, f *clientcmd.Factory, args []string) error\n```\n\n```go\nfunc (o *CreateIdentityOptions) Run() error\n```\n\n```go\nfunc (o *CreateIdentityOptions) Validate() error\n```\n\n```go\ntype CreateImageStreamOptions struct {\n\tIS     *imageapi.ImageStream\n\tClient imageclient.ImageStreamsGetter\n\n\tDryRun bool\n\n\tOutputFormat string\n\tOut          io.Writer\n\tPrinter      ObjectPrinter\n}\n```\n\n```go\nfunc (o *CreateImageStreamOptions) Complete(cmd *cobra.Command, f *clientcmd.Factory, args []string) error\n```\n\n```go\nfunc (o *CreateImageStreamOptions) Run() error\n```\n\n```go\nfunc (o *CreateImageStreamOptions) Validate() error\n```\n\n```go\ntype CreateImageStreamTagOptions struct {\n\tISTag  *imageapi.ImageStreamTag\n\tClient imageclient.ImageStreamTagsGetter\n\n\tFromImage   string\n\tFrom        string\n\tAnnotations []string\n\n\tDryRun bool\n\n\tOutputFormat string\n\tOut          io.Writer\n\tPrinter      ObjectPrinter\n}\n```\n\n```go\nfunc (o *CreateImageStreamTagOptions) Complete(cmd *cobra.Command, f *clientcmd.Factory, args []string) error\n```\n\n```go\nfunc (o *CreateImageStreamTagOptions) Run() error\n```\n\n```go\nfunc (o *CreateImageStreamTagOptions) Validate() error\n```\n\n```go\ntype CreateUserIdentityMappingOptions struct {\n\tUser     string\n\tIdentity string\n\n\tUserIdentityMappingClient userclient.UserIdentityMappingInterface\n\n\tDryRun bool\n\n\tOutputFormat string\n\tOut          io.Writer\n\tPrinter      ObjectPrinter\n}\n```\n\n```go\nfunc (o *CreateUserIdentityMappingOptions) Complete(cmd *cobra.Command, f *clientcmd.Factory, args []string) error\n```\n\n```go\nfunc (o *CreateUserIdentityMappingOptions) Run() error\n```\n\n```go\nfunc (o *CreateUserIdentityMappingOptions) Validate() error\n```\n\n```go\ntype CreateUserOptions struct {\n\tName     string\n\tFullName string\n\n\tUserClient userclient.UserInterface\n\n\tDryRun bool\n\n\tOutputFormat string\n\tOut          io.Writer\n\tPrinter      ObjectPrinter\n}\n```\n\n```go\nfunc (o *CreateUserOptions) Complete(cmd *cobra.Command, f *clientcmd.Factory, args []string) error\n```\n\n```go\nfunc (o *CreateUserOptions) Run() error\n```\n\n```go\nfunc (o *CreateUserOptions) Validate() error\n```\n\n```go\ntype ObjectPrinter func(runtime.Object, io.Writer) error\n```\n\n","path":"github.com/2lambda123/openshift-origin/pkg/oc/cli/cmd/create","name":"create","synopsis":"","isRedistributable":true}
