Documentation ¶
Index ¶
- Constants
- func GetOpts() *types.Opts
- func NewWatcher() chan *types.WatcherEvent
- func StorageDelAssets(t *testing.T, stg Storage)
- func StorageGetAssets(t *testing.T, stg Storage)
- func StorageListAssets(t *testing.T, stg Storage)
- func StorageMapAssets(t *testing.T, stg Storage)
- func StoragePutAssets(t *testing.T, stg Storage)
- func StorageSetAssets(t *testing.T, stg Storage)
- type Storage
Constants ¶
View Source
const ( NamespaceKind types.Kind = "namespace" ServiceKind types.Kind = "service" DeploymentKind types.Kind = "deployment" ClusterKind types.Kind = "cluster" PodKind types.Kind = "pod" IngressKind types.Kind = "ingress" SystemKind types.Kind = "system" NodeKind types.Kind = "node" RouteKind types.Kind = "route" VolumeKind types.Kind = "volume" TriggerKind types.Kind = "trigger" SecretKind types.Kind = "secret" EndpointKind types.Kind = "endpoint" UtilsKind types.Kind = "utils" ManifestKind types.Kind = "manifest" NetworkKind types.Kind = "network" SubnetKind types.Kind = "subnet" TestKind types.Kind = "test" )
Variables ¶
This section is empty.
Functions ¶
func NewWatcher ¶
func NewWatcher() chan *types.WatcherEvent
func StorageDelAssets ¶
func StorageGetAssets ¶
func StorageListAssets ¶
func StorageMapAssets ¶
func StoragePutAssets ¶
func StorageSetAssets ¶
Types ¶
type Storage ¶
type Storage interface { Info(ctx context.Context, collection, name string) (*types.Runtime, error) Get(ctx context.Context, collection, name string, obj interface{}, opts *types.Opts) error List(ctx context.Context, collection, q string, obj interface{}, opts *types.Opts) error Map(ctx context.Context, collection, q string, obj interface{}, opts *types.Opts) error Put(ctx context.Context, collection, name string, obj interface{}, opts *types.Opts) error Set(ctx context.Context, collection, name string, obj interface{}, opts *types.Opts) error Del(ctx context.Context, collection, name string) error Watch(ctx context.Context, collection string, event chan *types.WatcherEvent, opts *types.Opts) error Key() types.Key Collection() types.Collection Filter() types.Filter }
Click to show internal directories.
Click to hide internal directories.