Documentation ¶
Index ¶
- func Exist(clientset *client.ConfigSet, name string) bool
- type Buildtemplate
- func (b *Buildtemplate) Clone(source buildv1alpha1.BuildTemplate, clientset *client.ConfigSet) (*buildv1alpha1.BuildTemplate, error)
- func (b *Buildtemplate) Delete(clientset *client.ConfigSet) error
- func (b *Buildtemplate) Deploy(clientset *client.ConfigSet) (*buildv1alpha1.BuildTemplate, error)
- func (bt *Buildtemplate) Get(clientset *client.ConfigSet) (*buildv1alpha1.BuildTemplate, error)
- func (bt *Buildtemplate) GetObject(buildtemplate *buildv1alpha1.BuildTemplate) printer.Object
- func (bt *Buildtemplate) GetTable(list *buildv1alpha1.BuildTemplateList) printer.Table
- func (bt *Buildtemplate) List(clientset *client.ConfigSet) (*buildv1alpha1.BuildTemplateList, error)
- func (b *Buildtemplate) SetOwner(clientset *client.ConfigSet, owner metav1.OwnerReference) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Buildtemplate ¶
Buildtemplate contains information about knative buildtemplate definition
func (*Buildtemplate) Clone ¶
func (b *Buildtemplate) Clone(source buildv1alpha1.BuildTemplate, clientset *client.ConfigSet) (*buildv1alpha1.BuildTemplate, error)
Clone accepts knative BuildTemplate object and creates a copy of this buildtemplate with random name suffix
func (*Buildtemplate) Delete ¶
func (b *Buildtemplate) Delete(clientset *client.ConfigSet) error
BuildTemplate removes knative buildtemplate
func (*Buildtemplate) Deploy ¶
func (b *Buildtemplate) Deploy(clientset *client.ConfigSet) (*buildv1alpha1.BuildTemplate, error)
Deploy deploys knative buildtemplate either from local file or by its URL
func (*Buildtemplate) Get ¶
func (bt *Buildtemplate) Get(clientset *client.ConfigSet) (*buildv1alpha1.BuildTemplate, error)
Get returns knative BuildTemplate object by its name and namespace
func (*Buildtemplate) GetObject ¶ added in v0.1.1
func (bt *Buildtemplate) GetObject(buildtemplate *buildv1alpha1.BuildTemplate) printer.Object
GetObject converts k8s object into printable structure
func (*Buildtemplate) GetTable ¶ added in v0.1.1
func (bt *Buildtemplate) GetTable(list *buildv1alpha1.BuildTemplateList) printer.Table
GetTable converts k8s list instance into printable object
func (*Buildtemplate) List ¶
func (bt *Buildtemplate) List(clientset *client.ConfigSet) (*buildv1alpha1.BuildTemplateList, error)
List returns k8s list object
func (*Buildtemplate) SetOwner ¶ added in v0.0.12
func (b *Buildtemplate) SetOwner(clientset *client.ConfigSet, owner metav1.OwnerReference) error
SetOwner accepts onwer object reference and updates installed Buildtemplate with this owner
Click to show internal directories.
Click to hide internal directories.