Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyExists = errors.New("release already exists")
Functions ¶
func IsAlreadyExists ¶
func NewDefaultStore ¶
func NewDefaultStore(c kubernetes.Interface) *store
Types ¶
type Driver ¶
type Driver interface { Create(ctx context.Context, devkName, namespace string, r *Release) error Get(ctx context.Context, devkName, namespace string) (*Release, error) Delete(ctx context.Context, devkName, namespace string) error Update(ctx context.Context, devkName, namespace string, r *Release) error List(ctx context.Context, namespace string) ([]*Release, error) }
type Objects ¶
type Objects struct { Pod *applyconfigurationscorev1.PodApplyConfiguration `json:"pod"` PVCs []applyconfigurationscorev1.PersistentVolumeClaimApplyConfiguration `json:"pvcs"` ConfigMaps []applyconfigurationscorev1.ConfigMapApplyConfiguration `json:"cms"` }
type Store ¶
type Store interface { Create(ctx context.Context, devkName, namespace string, r *Release) error Get(ctx context.Context, devkName, namespace string) (*Release, error) Delete(ctx context.Context, devkName, namespace string) error Update(ctx context.Context, devkName, namespace string, r *Release) error List(ctx context.Context, namespace string) ([]*Release, error) }
Click to show internal directories.
Click to hide internal directories.