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 (b *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) List ¶
func (b *Buildtemplate) List(clientset *client.ConfigSet) (*buildv1alpha1.BuildTemplateList, error)
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.