Documentation ¶
Index ¶
- func CanScaleDown(tier v1beta1.GcpFileTier) bool
- func IsValidCapacity(tier v1beta1.GcpFileTier, capacityGb int) (bool, error)
- func New(stateFactory StateFactory) composed.Action
- func StatePredicate(status v1beta1.StatusState, ctx context.Context, state *State) composed.Predicate
- type State
- type StateFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanScaleDown ¶
func CanScaleDown(tier v1beta1.GcpFileTier) bool
func IsValidCapacity ¶
func IsValidCapacity(tier v1beta1.GcpFileTier, capacityGb int) (bool, error)
func New ¶
func New(stateFactory StateFactory) composed.Action
func StatePredicate ¶
Types ¶
type StateFactory ¶
type StateFactory interface {
NewState(ctx context.Context, nfsInstanceState types.State) (*State, error)
}
func NewStateFactory ¶
func NewStateFactory(filestoreClientProvider client2.ClientProvider[client.FilestoreClient], env abstractions.Environment) StateFactory
Source Files ¶
Click to show internal directories.
Click to hide internal directories.