coresdk

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SDK

type SDK struct {
	Client  coreclient.Interface
	Factory corefactory.SharedInformerFactory
	// contains filtered or unexported fields
}

SDK wrapper around the generated Go client for the Service Catalog Templates API

func New

func (*SDK) Cache

func (sdk *SDK) Cache() coreinformers.Interface

func (*SDK) Core

func (sdk *SDK) Core() coreinterfaces.CoreV1Interface

Core is the underlying generated Core versioned interface It should be used instead of accessing the client directly.

func (*SDK) GetSecretFromCache

func (sdk *SDK) GetSecretFromCache(namespace, name string) (*core.Secret, error)

GetSecretFromCache retrieves a Secret by name from the informer cache.

func (*SDK) Init

func (sdk *SDK) Init(stopCh <-chan struct{}) error

func (*SDK) SecretCache

func (sdk *SDK) SecretCache() corelisters.SecretLister

Jump to

Keyboard shortcuts

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