Documentation ¶
Index ¶
- Variables
- type SourcecovOperator
- func (s *SourcecovOperator) Convert(sg *apistructs.ServiceGroup) interface{}
- func (s *SourcecovOperator) Create(i interface{}) error
- func (s *SourcecovOperator) CreateNsIfNotExists(ns string) error
- func (s *SourcecovOperator) Inspect(sg *apistructs.ServiceGroup) (*apistructs.ServiceGroup, error)
- func (s *SourcecovOperator) IsSupported() bool
- func (s *SourcecovOperator) Remove(sg *apistructs.ServiceGroup) error
- func (s *SourcecovOperator) Update(i interface{}) error
- func (s *SourcecovOperator) Validate(sg *apistructs.ServiceGroup) error
Constants ¶
This section is empty.
Variables ¶
View Source
var APIPrefix = "/apis/" + scv1.GroupVersion.String()
Functions ¶
This section is empty.
Types ¶
type SourcecovOperator ¶
type SourcecovOperator struct {
// contains filtered or unexported fields
}
func New ¶
func New(k8s addon.K8SUtil, client *httpclient.HTTPClient, oc addon.OvercommitUtil, ns addon.NamespaceUtil) *SourcecovOperator
func (*SourcecovOperator) Convert ¶
func (s *SourcecovOperator) Convert(sg *apistructs.ServiceGroup) interface{}
func (*SourcecovOperator) Create ¶
func (s *SourcecovOperator) Create(i interface{}) error
func (*SourcecovOperator) CreateNsIfNotExists ¶
func (s *SourcecovOperator) CreateNsIfNotExists(ns string) error
func (*SourcecovOperator) Inspect ¶
func (s *SourcecovOperator) Inspect(sg *apistructs.ServiceGroup) (*apistructs.ServiceGroup, error)
func (*SourcecovOperator) IsSupported ¶
func (s *SourcecovOperator) IsSupported() bool
func (*SourcecovOperator) Remove ¶
func (s *SourcecovOperator) Remove(sg *apistructs.ServiceGroup) error
func (*SourcecovOperator) Update ¶
func (s *SourcecovOperator) Update(i interface{}) error
func (*SourcecovOperator) Validate ¶
func (s *SourcecovOperator) Validate(sg *apistructs.ServiceGroup) error
Click to show internal directories.
Click to hide internal directories.