Help us shape the future of Go! Take the 2026 Go Developer Survey

volumeclaims

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fake

type Fake struct {
	// contains filtered or unexported fields
}

func NewFake

func NewFake() *Fake

func (*Fake) Claim

func (f *Fake) Claim(name types.NamespacedName) (*FakeClaim, bool)

func (*Fake) Contains

func (f *Fake) Contains(name types.NamespacedName) bool

func (*Fake) New

type FakeClaim

type FakeClaim struct {
	// contains filtered or unexported fields
}

func (*FakeClaim) EnsureExists

func (c *FakeClaim) EnsureExists() error

func (*FakeClaim) NodeSelector

func (c *FakeClaim) NodeSelector() map[string]string

func (*FakeClaim) SetNodeSelector

func (c *FakeClaim) SetNodeSelector(nodeSelectors map[string]string)

func (*FakeClaim) SetStoragePath

func (c *FakeClaim) SetStoragePath(path string)

func (*FakeClaim) SetStorageSize

func (c *FakeClaim) SetStorageSize(quantity resource.Quantity)

func (*FakeClaim) StoragePath

func (c *FakeClaim) StoragePath() string

func (*FakeClaim) StorageSize

func (c *FakeClaim) StorageSize() *resource.Quantity

type PersistentVolumeClaim

type PersistentVolumeClaim interface {
	SetStoragePath(path string)
	SetStorageSize(quantity resource.Quantity)
	SetNodeSelector(nodeSelectors map[string]string)
	EnsureExists() error
}

type PersistentVolumeClaims

type PersistentVolumeClaims interface {
	New(name types.NamespacedName, owner meta.Object) PersistentVolumeClaim
}

func New

func New(client client.Client, scheme *runtime.Scheme) PersistentVolumeClaims

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL