Documentation ¶
Index ¶
- Constants
- func GetDomainNameInvokeURL(serviceName, namespace string) (string, int)
- func NuclioioToFunctionConfig(nuclioioFunction *nuclioio.NuclioFunction) *functionconfig.Config
- type Consumer
- type Deleter
- type Deployer
- func (d *Deployer) CreateOrUpdateFunction(ctx context.Context, functionInstance *nuclioio.NuclioFunction, ...) (*nuclioio.NuclioFunction, error)
- func (d *Deployer) Deploy(ctx context.Context, functionInstance *nuclioio.NuclioFunction, ...) (*platform.CreateFunctionResult, *nuclioio.NuclioFunction, string, error)
- type Function
- type Getter
- type Updater
Constants ¶
View Source
const FunctionContainerName = "nuclio"
View Source
const MaxLogLines = 100
Variables ¶
This section is empty.
Functions ¶
func GetDomainNameInvokeURL ¶
func NuclioioToFunctionConfig ¶
func NuclioioToFunctionConfig(nuclioioFunction *nuclioio.NuclioFunction) *functionconfig.Config
Types ¶
type Consumer ¶
type Consumer struct { NuclioClientSet nuclioioclient.Interface KubeClientSet kubernetes.Interface KubeHost string // contains filtered or unexported fields }
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
func NewDeployer ¶
func (*Deployer) CreateOrUpdateFunction ¶
func (d *Deployer) CreateOrUpdateFunction(ctx context.Context, functionInstance *nuclioio.NuclioFunction, createFunctionOptions *platform.CreateFunctionOptions, functionStatus *functionconfig.Status) (*nuclioio.NuclioFunction, error)
func (*Deployer) Deploy ¶
func (d *Deployer) Deploy(ctx context.Context, functionInstance *nuclioio.NuclioFunction, createFunctionOptions *platform.CreateFunctionOptions) (*platform.CreateFunctionResult, *nuclioio.NuclioFunction, string, error)
type Function ¶
type Function struct { platform.AbstractFunction // contains filtered or unexported fields }
func NewFunction ¶
func (*Function) GetConfig ¶
func (f *Function) GetConfig() *functionconfig.Config
func (*Function) GetReplicas ¶
GetReplicas returns the current # of replicas and the configured # of replicas
type Updater ¶
type Updater struct {
// contains filtered or unexported fields
}
func NewUpdater ¶
func (*Updater) UpdateState ¶
func (u *Updater) UpdateState(ctx context.Context, functionName, namespace string, authConfig *platform.AuthConfig, state functionconfig.FunctionState) error
UpdateState will update a function CRD state we don't require permissions for this operation because it's used internally by the platform
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
clientset
|
|
versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
versioned/typed/nuclio.io/v1beta1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
versioned/typed/nuclio.io/v1beta1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
informers
|
|
listers
|
|
Click to show internal directories.
Click to hide internal directories.