usecase

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(usecase *Usecase)

func WithClient

func WithClient(client infra.Client) Option

func WithConfig

func WithConfig(cfg *model.Config) Option

type Usecase

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

func New

func New(options ...Option) *Usecase

func (*Usecase) Clone

func (x *Usecase) Clone(options ...Option) *Usecase

func (*Usecase) DeleteSecret

func (x *Usecase) DeleteSecret(input *model.DeleteSecretInput) error

func (*Usecase) Exec

func (x *Usecase) Exec(input *model.ExecInput) error

func (*Usecase) ExportSecret

func (x *Usecase) ExportSecret(input *model.ExportSecretInput) error

func (*Usecase) GenerateSecret

func (x *Usecase) GenerateSecret(input *model.GenerateSecretInput) error

func (*Usecase) ImportSecret

func (x *Usecase) ImportSecret(input *model.ImportSecretInput) error

func (*Usecase) List

func (x *Usecase) List(input *model.ListInput) error

func (*Usecase) ListNamespaces

func (x *Usecase) ListNamespaces() error

func (*Usecase) WriteSecret

func (x *Usecase) WriteSecret(input *model.WriteSecretInput) error

Jump to

Keyboard shortcuts

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