Documentation
¶
Index ¶
- func GetKubeconfigPath(platformConfiguration interface{}) string
- func IsInCluster() bool
- type Configuration
- type DeployOptions
- type Platform
- func (p *Platform) CreateFunction(createFunctionOptions *platform.CreateFunctionOptions) (*platform.CreateFunctionResult, error)
- func (p *Platform) CreateFunctionEvent(createFunctionEventOptions *platform.CreateFunctionEventOptions) error
- func (p *Platform) CreateProject(createProjectOptions *platform.CreateProjectOptions) error
- func (p *Platform) DeleteFunction(deleteFunctionOptions *platform.DeleteFunctionOptions) error
- func (p *Platform) DeleteFunctionEvent(deleteFunctionEventOptions *platform.DeleteFunctionEventOptions) error
- func (p *Platform) DeleteProject(deleteProjectOptions *platform.DeleteProjectOptions) error
- func (p *Platform) GetDefaultInvokeIPAddresses() ([]string, error)
- func (p *Platform) GetExternalIPAddresses() ([]string, error)
- func (p *Platform) GetFunctionEvents(getFunctionEventsOptions *platform.GetFunctionEventsOptions) ([]platform.FunctionEvent, error)
- func (p *Platform) GetFunctions(getFunctionsOptions *platform.GetFunctionsOptions) ([]platform.Function, error)
- func (p *Platform) GetName() string
- func (p *Platform) GetNamespaces() ([]string, error)
- func (p *Platform) GetNodes() ([]platform.Node, error)
- func (p *Platform) GetProjects(getProjectsOptions *platform.GetProjectsOptions) ([]platform.Project, error)
- func (p *Platform) ResolveDefaultNamespace(defaultNamespace string) string
- func (p *Platform) UpdateFunction(updateFunctionOptions *platform.UpdateFunctionOptions) error
- func (p *Platform) UpdateFunctionEvent(updateFunctionEventOptions *platform.UpdateFunctionEventOptions) error
- func (p *Platform) UpdateProject(updateProjectOptions *platform.UpdateProjectOptions) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubeconfigPath ¶
func GetKubeconfigPath(platformConfiguration interface{}) string
func IsInCluster ¶
func IsInCluster() bool
Types ¶
type Configuration ¶
type Configuration struct {
KubeconfigPath string
}
type DeployOptions ¶
type DeployOptions struct {
}
type Platform ¶
func NewPlatform ¶
NewPlatform instantiates a new kubernetes platform
func (*Platform) CreateFunction ¶
func (p *Platform) CreateFunction(createFunctionOptions *platform.CreateFunctionOptions) (*platform.CreateFunctionResult, error)
Deploy will deploy a processor image to the platform (optionally building it, if source is provided)
func (*Platform) CreateFunctionEvent ¶
func (p *Platform) CreateFunctionEvent(createFunctionEventOptions *platform.CreateFunctionEventOptions) error
CreateFunctionEvent will create a new function event that can later be used as a template from which to invoke functions
func (*Platform) CreateProject ¶
func (p *Platform) CreateProject(createProjectOptions *platform.CreateProjectOptions) error
CreateProject will probably create a new project
func (*Platform) DeleteFunction ¶
func (p *Platform) DeleteFunction(deleteFunctionOptions *platform.DeleteFunctionOptions) error
DeleteFunction will delete a previously deployed function
func (*Platform) DeleteFunctionEvent ¶
func (p *Platform) DeleteFunctionEvent(deleteFunctionEventOptions *platform.DeleteFunctionEventOptions) error
DeleteFunctionEvent will delete a previously existing function event
func (*Platform) DeleteProject ¶
func (p *Platform) DeleteProject(deleteProjectOptions *platform.DeleteProjectOptions) error
DeleteProject will delete a previously existing project
func (*Platform) GetDefaultInvokeIPAddresses ¶
func (*Platform) GetExternalIPAddresses ¶
GetExternalIPAddresses returns the external IP addresses invocations will use, if "via" is set to "external-ip". These addresses are either set through SetExternalIPAddresses or automatically discovered
func (*Platform) GetFunctionEvents ¶
func (p *Platform) GetFunctionEvents(getFunctionEventsOptions *platform.GetFunctionEventsOptions) ([]platform.FunctionEvent, error)
GetFunctionEvents will list existing function events
func (*Platform) GetFunctions ¶
func (p *Platform) GetFunctions(getFunctionsOptions *platform.GetFunctionsOptions) ([]platform.Function, error)
GetFunctions will return deployed functions
func (*Platform) GetNamespaces ¶
GetNamespaces returns all the namespaces in the platform
func (*Platform) GetProjects ¶
func (p *Platform) GetProjects(getProjectsOptions *platform.GetProjectsOptions) ([]platform.Project, error)
GetProjects will list existing projects
func (*Platform) ResolveDefaultNamespace ¶
ResolveDefaultNamespace returns the proper default resource namespace, given the current default namespace
func (*Platform) UpdateFunction ¶
func (p *Platform) UpdateFunction(updateFunctionOptions *platform.UpdateFunctionOptions) error
UpdateFunction will update a previously deployed function
func (*Platform) UpdateFunctionEvent ¶
func (p *Platform) UpdateFunctionEvent(updateFunctionEventOptions *platform.UpdateFunctionEventOptions) error
UpdateFunctionEvent will update a previously existing function event
func (*Platform) UpdateProject ¶
func (p *Platform) UpdateProject(updateProjectOptions *platform.UpdateProjectOptions) error
UpdateProject will update a previously existing project
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
apis
|
|
|
nuclio.io/v1beta1
Package v1beta1 is the v1beta1 version of the API.
|
Package v1beta1 is the v1beta1 version of the API. |
|
client
|
|
|
clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
|
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
|
clientset/versioned/typed/nuclio.io/v1beta1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |