Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment interface { Init() error Create(deploySpec Spec) (Details, error) Update(deploySpec Spec) (Details, error) CreateOrUpdate(deploySpec Spec) (Details, error) Delete(name string) error ListAll(filters ListFilters) ([]Details, error) ListByName(name string) (Details, error) LogsByName(name string, options types.FunctionContainerLogOptions) (string, error) DeploymentType() string }
Deployment deployment
type Details ¶
type Details struct { ID string Name string Dockerimage string Replicas Replicas Envkeys map[string]string Host string PortConfigs []PortConfig Pods []Pod Status string }
Details about deployment details
type PortConfig ¶
type PortConfig struct { Name string Protocol PortProtocol Port Port //expose port TargetPort Port //container port }
PortConfig portConfig
Click to show internal directories.
Click to hide internal directories.