Documentation
¶
Index ¶
- func CreateNewProject(name string) error
- func Delete(kind string, name string, labels map[string]string) (string, error)
- func DeleteProject(name string) error
- func GetCurrentProjectName() (string, error)
- func GetLabelValues(project string, label string) ([]string, error)
- func GetProjects() (string, error)
- func NewAppS2I(name string, builderImage string, gitUrl string, labels map[string]string) (string, error)
- func NewAppS2IEmpty(name string, builderImage string, labels map[string]string) (string, error)
- func SetVolumes(config *VolumeConfig, operations *VolumeOpertaions) (string, error)
- func StartBuild(name string, dir string) (string, error)
- type OcCommand
- type VolumeConfig
- type VolumeOpertaions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewProject ¶
func Delete ¶
Delete calls oc delete kind is always required (can be set to 'all') name can be omitted if labels are set, in that case set name to ” if you want to delete object just by its name set labels to nil
func DeleteProject ¶
func GetCurrentProjectName ¶
func GetLabelValues ¶ added in v0.0.2
GetLabelValues get label values from all object that are labeled with given label returns slice of uniq label values
func GetProjects ¶
func NewAppS2I ¶
func NewAppS2I(name string, builderImage string, gitUrl string, labels map[string]string) (string, error)
NewAppS2I create new application using S2I with source in git repository
func NewAppS2IEmpty ¶
NewAppS2I create new application using S2I from local directory
func SetVolumes ¶
func SetVolumes(config *VolumeConfig, operations *VolumeOpertaions) (string, error)
Types ¶
type VolumeConfig ¶
type VolumeOpertaions ¶
Click to show internal directories.
Click to hide internal directories.