Documentation ¶
Index ¶
- Constants
- type PodWatcher
- type RevisionWatcher
- type Service
- func (s Service) CreateOrUpdate() (*v1alpha1.Service, error)
- func (l Service) CreatedBuildSinceRevision(lastRevision *v1alpha1.Revision) (ctlbuild.Build, error)
- func (l Service) CreatedRevisionSinceRevision(lastRevision *v1alpha1.Revision) (*v1alpha1.Revision, error)
- func (l Service) LastRevision() (*v1alpha1.Revision, error)
- type Tags
- func (t Tags) Find(context TagsFindContext, tag string) (*v1alpha1.Revision, error)
- func (t Tags) List(revision v1alpha1.Revision) []string
- func (t Tags) Repoint(revision *v1alpha1.Revision, tag string) error
- func (t Tags) Tag(revision *v1alpha1.Revision, tag string) error
- func (t Tags) Untag(revision v1alpha1.Revision, tag string) error
- type TagsFindContext
Constants ¶
View Source
const ( TagsLatest = "latest" TagsPrevious = "previous" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodWatcher ¶
type PodWatcher struct {
// contains filtered or unexported fields
}
func NewPodWatcher ¶
func NewPodWatcher( podsClient typedcorev1.PodInterface, listOpts metav1.ListOptions, ) PodWatcher
type RevisionWatcher ¶
type RevisionWatcher struct {
// contains filtered or unexported fields
}
func NewRevisionWatcher ¶
func NewRevisionWatcher( revisionsClient typedv1alpha1.RevisionInterface, listOpts metav1.ListOptions, ) RevisionWatcher
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService( service v1alpha1.Service, servingClient servingclientset.Interface, buildClient buildclientset.Interface, coreClient kubernetes.Interface, ) Service
func (Service) CreatedBuildSinceRevision ¶
func (Service) CreatedRevisionSinceRevision ¶
type Tags ¶
type Tags struct {
// contains filtered or unexported fields
}
func NewTags ¶
func NewTags(servingClient servingclientset.Interface) Tags
type TagsFindContext ¶
Click to show internal directories.
Click to hide internal directories.