Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶ added in v0.5.0
type Cache struct {
Directories []CacheDirectory
Type string
Size string
}
Cache decares all the cached paths with will be a path of the builds.
type CacheDirectory ¶ added in v0.5.0
CacheDirectory is used for caching a path on a pod.
type Input ¶ added in v0.5.0
type Input struct {
Client *kubernetes.Clientset
Config *rest.Config
Token string
Namespace string
DockerCfg string
SSH string
Cache InputCache
}
Input is used for passing configuration for the cli to the server component.
type InputCache ¶ added in v0.5.0
InputCache is used as part of the input for the server.
type Server ¶
type Server struct {
Token string
Namespace string
DockerCfg string
SSHService string
Cache Cache
// contains filtered or unexported fields
}
Server is the M8s server for running builds.
func (Server) Create ¶
func (srv Server) Create(in *pb.CreateRequest, stream pb.M8S_CreateServer) error
Create is used for creating a new environment.
func (Server) Describe ¶
func (srv Server) Describe(ctx context.Context, in *pb.DescribeRequest) (*pb.DescribeResponse, error)
Describe returns details about the temporary environment.
func (Server) Step ¶
func (srv Server) Step(in *pb.StepRequest, stream pb.M8S_StepServer) error
Step is used for defining a single "command" step
Click to show internal directories.
Click to hide internal directories.