Documentation ¶
Index ¶
- Constants
- type PodWatcher
- type RevisionPodWatcher
- 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 ServicePodWatcher
- type ServiceSpec
- 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 RevisionPodWatcher ¶ added in v0.0.10
type RevisionPodWatcher struct {
// contains filtered or unexported fields
}
func NewRevisionPodWatcher ¶ added in v0.0.10
func NewRevisionPodWatcher( revision *v1alpha1.Revision, servingClient servingclientset.Interface, coreClient kubernetes.Interface, ui ui.UI, ) RevisionPodWatcher
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( serviceSpec ServiceSpec, servingClient servingclientset.Interface, buildClient buildclientset.Interface, coreClient kubernetes.Interface, buildObjFactory ctlbuild.Factory, ) *Service
func (*Service) CreatedBuildSinceRevision ¶
func (*Service) CreatedRevisionSinceRevision ¶
type ServicePodWatcher ¶ added in v0.0.10
type ServicePodWatcher struct {
// contains filtered or unexported fields
}
func NewServicePodWatcher ¶ added in v0.0.10
func NewServicePodWatcher( service *v1alpha1.Service, servingClient servingclientset.Interface, coreClient kubernetes.Interface, ui ui.UI, ) ServicePodWatcher
type ServiceSpec ¶ added in v0.1.0
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.