Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Set = wire.NewSet( wire.Bind(new(Interface), new(*Repository)), wire.Struct(new(Repository), "*"), )
Functions ¶
This section is empty.
Types ¶
type Repository ¶
func (*Repository) FindBySelectors ¶
func (r *Repository) FindBySelectors(ctx context.Context, selectors map[string]string) (*kapps.DeploymentList, error)
FindBySelectors returns a list of deployments matched to the selectors.
func (*Repository) Scale ¶
func (r *Repository) Scale(ctx context.Context, deployment *kapps.Deployment, replicas int32) error
Scale updates the replicas of the deployment to the given value using the patch method.
Directories ¶
Path | Synopsis |
---|---|
Package mock_deployment is a generated GoMock package.
|
Package mock_deployment is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.