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 Interface ¶
type Interface interface { GetByName(ctx context.Context, name types.NamespacedName) (*scheduledpodscaler.ScheduledPodScaler, error) UpdateStatus(ctx context.Context, s *scheduledpodscaler.ScheduledPodScaler) error }
type Repository ¶
func (*Repository) GetByName ¶
func (r *Repository) GetByName(ctx context.Context, name types.NamespacedName) (*scheduledpodscaler.ScheduledPodScaler, error)
GetByName returns the ScheduledPodScaler of the name.
func (*Repository) UpdateStatus ¶
func (r *Repository) UpdateStatus(ctx context.Context, s *scheduledpodscaler.ScheduledPodScaler) error
UpdateStatus updates the status. It does not update the spec.
Directories
¶
Path | Synopsis |
---|---|
Package mock_scheduledpodscaler is a generated GoMock package.
|
Package mock_scheduledpodscaler is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.