Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - func NewCustomizeStore(store types.Store) types.Store
 - func NewTransformStore(store types.Store) types.Store
 - func NewWorkloadAggregateStore(schemas *types.Schemas, manager *clustermanager.Manager)
 - func SetPublicEnpointsFields(data map[string]interface{})
 - type AggregateStore
 - func (a *AggregateStore) ByID(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error)
 - func (a *AggregateStore) Context() types.StorageContext
 - func (a *AggregateStore) Create(apiContext *types.APIContext, schema *types.Schema, ...) (map[string]interface{}, error)
 - func (a *AggregateStore) Delete(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error)
 - func (a *AggregateStore) List(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) ([]map[string]interface{}, error)
 - func (a *AggregateStore) Update(apiContext *types.APIContext, schema *types.Schema, ...) (map[string]interface{}, error)
 - func (a *AggregateStore) Watch(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) (chan map[string]interface{}, error)
 
- type CustomizeStore
 - func (s *CustomizeStore) ByID(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error)
 - func (s *CustomizeStore) Create(apiContext *types.APIContext, schema *types.Schema, ...) (map[string]interface{}, error)
 - func (s *CustomizeStore) Update(apiContext *types.APIContext, schema *types.Schema, ...) (map[string]interface{}, error)
 
Constants ¶
      View Source
      
  
const (
	SelectorLabel = "workload.user.cattle.io/workloadselector"
)
    Variables ¶
This section is empty.
Functions ¶
func NewWorkloadAggregateStore ¶
func NewWorkloadAggregateStore(schemas *types.Schemas, manager *clustermanager.Manager)
func SetPublicEnpointsFields ¶
func SetPublicEnpointsFields(data map[string]interface{})
Types ¶
type AggregateStore ¶
type AggregateStore struct {
	Stores          map[string]types.Store
	Schemas         map[string]*types.Schema
	FieldToSchemaID map[string]string
}
    func NewAggregateStore ¶
func NewAggregateStore(schemas ...*types.Schema) *AggregateStore
func (*AggregateStore) ByID ¶
func (a *AggregateStore) ByID(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error)
func (*AggregateStore) Context ¶
func (a *AggregateStore) Context() types.StorageContext
func (*AggregateStore) Create ¶
func (a *AggregateStore) Create(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}) (map[string]interface{}, error)
func (*AggregateStore) Delete ¶
func (a *AggregateStore) Delete(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error)
func (*AggregateStore) List ¶
func (a *AggregateStore) List(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) ([]map[string]interface{}, error)
func (*AggregateStore) Update ¶
func (a *AggregateStore) Update(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}, id string) (map[string]interface{}, error)
func (*AggregateStore) Watch ¶
func (a *AggregateStore) Watch(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) (chan map[string]interface{}, error)
type CustomizeStore ¶
func (*CustomizeStore) ByID ¶
func (s *CustomizeStore) ByID(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error)
func (*CustomizeStore) Create ¶
func (s *CustomizeStore) Create(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}) (map[string]interface{}, error)
 Click to show internal directories. 
   Click to hide internal directories.