Documentation ¶
Index ¶
- Constants
- func Default() *pb.Meta
- func Empty() *pb.Meta
- func New(name, contact string) *pb.Meta
- func Parse(data []byte) (*pb.Meta, error)
- func ParseFormatMeta(m *pb.Meta) *pb.Meta
- func ParseFormatTask(t *pb.Task) *pb.Task
- func ParseFromFile(fds ...io.ReadSeekCloser) ([]*pb.Meta, error)
- func Template() string
- func Verify(t *pb.Meta) error
- func VerifyContainer(c *pb.Container) error
- func VerifyTask(t *pb.Task) error
Constants ¶
View Source
const ( TaskIDSpec = `[^a-z0-9][a-z0-9_\-]{12,94}[a-z0-9]$` ImageSpec = TaskIDSpec )
Variables ¶
This section is empty.
Functions ¶
func ParseFromFile ¶ added in v1.0.8
func ParseFromFile(fds ...io.ReadSeekCloser) ([]*pb.Meta, error)
func VerifyContainer ¶ added in v1.3.0
func VerifyTask ¶ added in v1.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.