Documentation
¶
Index ¶
- Constants
- Variables
- type Meta
- func (this *Meta) Compare(that interface{}) int
- func (*Meta) Descriptor() ([]byte, []int)
- func (this *Meta) Equal(that interface{}) bool
- func (m *Meta) GetDependencies() []string
- func (m *Meta) GetEnforce() bool
- func (m *Meta) GetName() string
- func (m *Meta) GetURL() string
- func (m *Meta) GetVersion() string
- func (this *Meta) GoString() string
- func (m *Meta) Marshal() (dAtA []byte, err error)
- func (m *Meta) MarshalTo(dAtA []byte) (int, error)
- func (m *Meta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Meta) ProtoMessage()
- func (m *Meta) Reset()
- func (m *Meta) Size() (n int)
- func (this *Meta) String() string
- func (m *Meta) Unmarshal(dAtA []byte) error
- func (m *Meta) XXX_DiscardUnknown()
- func (m *Meta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Meta) XXX_Merge(src proto.Message)
- func (*Meta) XXX_MessageName() string
- func (m *Meta) XXX_Size() int
- func (m *Meta) XXX_Unmarshal(b []byte) error
- type MockTask
- type ResultChange
- type Task
- type TaskFunc
Constants ¶
View Source
const (
TaskPackageIsVersion1 = true
)
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Meta ¶
type Meta struct { URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` Enforce bool `protobuf:"varint,4,opt,name=enforce,proto3" json:"enforce,omitempty"` Dependencies []string `protobuf:"bytes,5,rep,name=dependencies,proto3" json:"dependencies,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedMeta ¶
func (*Meta) Descriptor ¶
func (*Meta) GetDependencies ¶
func (*Meta) GetEnforce ¶
func (*Meta) GetVersion ¶
func (*Meta) ProtoMessage ¶
func (*Meta) ProtoMessage()
func (*Meta) XXX_DiscardUnknown ¶
func (m *Meta) XXX_DiscardUnknown()
func (*Meta) XXX_MessageName ¶
func (*Meta) XXX_Unmarshal ¶
type ResultChange ¶
type ResultChange struct{}
type Task ¶
type Task interface { Evaluate(ctx context.Context) (*ResultChange, error) Apply(ctx context.Context) (*ResultChange, error) }
Click to show internal directories.
Click to hide internal directories.