Documentation
¶
Index ¶
- type Build
- type Container
- type ContainerEnv
- type EnvVar
- type Error
- type JobSpecification
- type JobSpecificationContainers
- type ListServicesOKBody
- type ServeSpecification
- type Service
- type ServiceJobs
- type ServicePort
- type ServiceServices
- type ServiceSpecification
- type ServiceSpecificationContainers
- type ServiceSpecificationPorts
- type ShardSpecification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶ added in v0.4.0
type Build struct { // image name ImageName string `json:"imageName,omitempty"` // name Name string `json:"name,omitempty"` // path Path string `json:"path,omitempty"` }
Build build swagger:model build
func (*Build) MarshalBinary ¶ added in v0.4.0
MarshalBinary interface implementation
func (*Build) UnmarshalBinary ¶ added in v0.4.0
UnmarshalBinary interface implementation
type Container ¶
type Container struct { // env Env ContainerEnv `json:"env"` // image // Required: true Image *string `json:"image"` }
Container container swagger:model container
func (*Container) MarshalBinary ¶
MarshalBinary interface implementation
func (*Container) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ContainerEnv ¶ added in v0.4.0
type ContainerEnv []*EnvVar
ContainerEnv container env swagger:model containerEnv
type EnvVar ¶
type EnvVar struct { // name // Required: true Name *string `json:"name"` // value // Required: true Value *string `json:"value"` }
EnvVar env var swagger:model envVar
func (*EnvVar) MarshalBinary ¶
MarshalBinary interface implementation
func (*EnvVar) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // code Code int64 `json:"code,omitempty"` // message // Required: true Message *string `json:"message"` }
Error error swagger:model error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type JobSpecification ¶ added in v0.4.0
type JobSpecification struct { // containers Containers JobSpecificationContainers `json:"containers"` // name // Required: true Name *string `json:"name"` // replicas Replicas int32 `json:"replicas,omitempty"` // schedule Schedule string `json:"schedule,omitempty"` }
JobSpecification job specification swagger:model jobSpecification
func (*JobSpecification) MarshalBinary ¶ added in v0.4.0
func (m *JobSpecification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobSpecification) UnmarshalBinary ¶ added in v0.4.0
func (m *JobSpecification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobSpecificationContainers ¶ added in v0.4.0
type JobSpecificationContainers []*Container
JobSpecificationContainers job specification containers swagger:model jobSpecificationContainers
type ListServicesOKBody ¶ added in v0.4.0
type ListServicesOKBody []*Service
ListServicesOKBody list services o k body swagger:model listServicesOKBody
type ServeSpecification ¶
type ServeSpecification struct { // name // Required: true Name *string `json:"name"` // public Public bool `json:"public,omitempty"` }
ServeSpecification serve specification swagger:model serveSpecification
func (*ServeSpecification) MarshalBinary ¶
func (m *ServeSpecification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServeSpecification) UnmarshalBinary ¶
func (m *ServeSpecification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Service ¶
type Service struct { // guid // Required: true GUID *int64 `json:"guid"` // jobs Jobs ServiceJobs `json:"jobs"` // name // Required: true // Min Length: 1 Name *string `json:"name"` // serve Serve *ServeSpecification `json:"serve,omitempty"` // services Services ServiceServices `json:"services"` }
Service service swagger:model service
func (*Service) MarshalBinary ¶
MarshalBinary interface implementation
func (*Service) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ServiceJobs ¶ added in v0.4.0
type ServiceJobs []*JobSpecification
ServiceJobs service jobs swagger:model serviceJobs
type ServicePort ¶
type ServicePort struct { // number // Required: true Number *int32 `json:"number"` // protocol Protocol string `json:"protocol,omitempty"` }
ServicePort service port swagger:model servicePort
func (*ServicePort) MarshalBinary ¶
func (m *ServicePort) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServicePort) UnmarshalBinary ¶
func (m *ServicePort) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceServices ¶ added in v0.4.0
type ServiceServices []*ServiceSpecification
ServiceServices service services swagger:model serviceServices
type ServiceSpecification ¶
type ServiceSpecification struct { // containers Containers ServiceSpecificationContainers `json:"containers"` // depends Depends string `json:"depends,omitempty"` // name // Required: true Name *string `json:"name"` // ports Ports ServiceSpecificationPorts `json:"ports"` // reference Reference string `json:"reference,omitempty"` // replicas Replicas int32 `json:"replicas,omitempty"` // shard spec ShardSpec *ShardSpecification `json:"shardSpec,omitempty"` }
ServiceSpecification service specification swagger:model serviceSpecification
func (*ServiceSpecification) MarshalBinary ¶
func (m *ServiceSpecification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceSpecification) UnmarshalBinary ¶
func (m *ServiceSpecification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceSpecificationContainers ¶ added in v0.4.0
type ServiceSpecificationContainers []*Container
ServiceSpecificationContainers service specification containers swagger:model serviceSpecificationContainers
type ServiceSpecificationPorts ¶ added in v0.4.0
type ServiceSpecificationPorts []*ServicePort
ServiceSpecificationPorts service specification ports swagger:model serviceSpecificationPorts
type ShardSpecification ¶
type ShardSpecification struct { // field path FieldPath string `json:"fieldPath,omitempty"` // shards Shards int32 `json:"shards,omitempty"` // url pattern URLPattern string `json:"urlPattern,omitempty"` }
ShardSpecification shard specification swagger:model shardSpecification
func (*ShardSpecification) MarshalBinary ¶
func (m *ShardSpecification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShardSpecification) UnmarshalBinary ¶
func (m *ShardSpecification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- build.go
- container.go
- container_env.go
- env_var.go
- error.go
- job_specification.go
- job_specification_containers.go
- list_services_okbody.go
- serve_specification.go
- service.go
- service_jobs.go
- service_port.go
- service_services.go
- service_specification.go
- service_specification_containers.go
- service_specification_ports.go
- shard_specification.go