mirror of https://github.com/docker/cli.git
26 lines
588 B
Go
26 lines
588 B
Go
|
package v1beta2
|
||
|
|
||
|
import (
|
||
|
"github.com/docker/cli/kubernetes/client/informers/internalinterfaces"
|
||
|
)
|
||
|
|
||
|
// Interface provides access to all the informers in this group version.
|
||
|
type Interface interface {
|
||
|
// Stacks returns a StackInformer.
|
||
|
Stacks() StackInformer
|
||
|
}
|
||
|
|
||
|
type version struct {
|
||
|
internalinterfaces.SharedInformerFactory
|
||
|
}
|
||
|
|
||
|
// New returns a new Interface.
|
||
|
func New(f internalinterfaces.SharedInformerFactory) Interface {
|
||
|
return &version{f}
|
||
|
}
|
||
|
|
||
|
// Stacks returns a StackInformer.
|
||
|
func (v *version) Stacks() StackInformer {
|
||
|
return &stackInformer{factory: v.SharedInformerFactory}
|
||
|
}
|