Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAllResources ¶
func CreateAllResources(args *FactoryArgs) ([]runtime.Object, error)
CreateAllResources creates all namespaced resources
func CreateResourceGroup ¶
func CreateResourceGroup(group string, args *FactoryArgs) ([]runtime.Object, error)
CreateResourceGroup creates namespaced resources for a specific group/component
func GetPrivilegedAccounts ¶ added in v1.5.1
func GetPrivilegedAccounts(args *FactoryArgs) []string
GetPrivilegedAccounts return special accounts for OpenShift TODO should prob break this up into groups like the rest of this stuff
func IsFactoryResource ¶ added in v1.9.0
IsFactoryResource returns true id codeGroupo belolngs to factory functions
Types ¶
type FactoryArgs ¶
type FactoryArgs struct { DockerRepo string `required:"true" split_words:"true"` DockerTag string `required:"true" split_words:"true"` ControllerImage string `required:"true" split_words:"true"` DeployClusterResources string `required:"true" split_words:"true"` ImporterImage string `required:"true" split_words:"true"` ClonerImage string `required:"true" split_words:"true"` APIServerImage string `required:"true" envconfig:"apiserver_image"` UploadProxyImage string `required:"true" split_words:"true"` UploadServerImage string `required:"true" split_words:"true"` Verbosity string `required:"true"` PullPolicy string `required:"true" split_words:"true"` Namespace string }
FactoryArgs contains the required parameters to generate all namespaced resources
Click to show internal directories.
Click to hide internal directories.