Documentation ¶
Index ¶
- func APISpecLintingJobMerge(f APISpecLintingJobMergeFunc) v1.UpdateOption
- func APISpecLintingRulesetMerge(f APISpecLintingRulesetMergeFunc) v1.UpdateOption
- func BatchJobMerge(f BatchJobMergeFunc) v1.UpdateOption
- type APISpecLintingJobClient
- func (c *APISpecLintingJobClient) Create(res *m.APISpecLintingJob, opts ...v1.CreateOption) (*m.APISpecLintingJob, error)
- func (c *APISpecLintingJobClient) Delete(res *m.APISpecLintingJob) error
- func (c *APISpecLintingJobClient) Get(name string) (*m.APISpecLintingJob, error)
- func (c *APISpecLintingJobClient) List(options ...v1.ListOptions) ([]*m.APISpecLintingJob, error)
- func (c *APISpecLintingJobClient) Update(res *m.APISpecLintingJob, opts ...v1.UpdateOption) (*m.APISpecLintingJob, error)
- type APISpecLintingJobMergeFunc
- type APISpecLintingRulesetClient
- func (c *APISpecLintingRulesetClient) Create(res *m.APISpecLintingRuleset, opts ...v1.CreateOption) (*m.APISpecLintingRuleset, error)
- func (c *APISpecLintingRulesetClient) Delete(res *m.APISpecLintingRuleset) error
- func (c *APISpecLintingRulesetClient) Get(name string) (*m.APISpecLintingRuleset, error)
- func (c *APISpecLintingRulesetClient) List(options ...v1.ListOptions) ([]*m.APISpecLintingRuleset, error)
- func (c *APISpecLintingRulesetClient) Update(res *m.APISpecLintingRuleset, opts ...v1.UpdateOption) (*m.APISpecLintingRuleset, error)
- type APISpecLintingRulesetMergeFunc
- type BatchJobClient
- func (c *BatchJobClient) Create(res *m.BatchJob, opts ...v1.CreateOption) (*m.BatchJob, error)
- func (c *BatchJobClient) Delete(res *m.BatchJob) error
- func (c *BatchJobClient) Get(name string) (*m.BatchJob, error)
- func (c *BatchJobClient) List(options ...v1.ListOptions) ([]*m.BatchJob, error)
- func (c *BatchJobClient) Update(res *m.BatchJob, opts ...v1.UpdateOption) (*m.BatchJob, error)
- type BatchJobMergeFunc
- type UnscopedAPISpecLintingJobClient
- func (c *UnscopedAPISpecLintingJobClient) Get(name string) (*m.APISpecLintingJob, error)
- func (c *UnscopedAPISpecLintingJobClient) Update(res *m.APISpecLintingJob, opts ...v1.UpdateOption) (*m.APISpecLintingJob, error)
- func (c *UnscopedAPISpecLintingJobClient) WithScope(scope string) *APISpecLintingJobClient
- type UnscopedBatchJobClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APISpecLintingJobMerge ¶
func APISpecLintingJobMerge(f APISpecLintingJobMergeFunc) v1.UpdateOption
APISpecLintingJobMerge builds a merge option for an update operation
func APISpecLintingRulesetMerge ¶
func APISpecLintingRulesetMerge(f APISpecLintingRulesetMergeFunc) v1.UpdateOption
APISpecLintingRulesetMerge builds a merge option for an update operation
func BatchJobMerge ¶
func BatchJobMerge(f BatchJobMergeFunc) v1.UpdateOption
BatchJobMerge builds a merge option for an update operation
Types ¶
type APISpecLintingJobClient ¶
type APISpecLintingJobClient struct {
// contains filtered or unexported fields
}
APISpecLintingJobClient - rest client for APISpecLintingJob resources that have a defined resource scope
func (*APISpecLintingJobClient) Create ¶
func (c *APISpecLintingJobClient) Create(res *m.APISpecLintingJob, opts ...v1.CreateOption) (*m.APISpecLintingJob, error)
Create - creates a resource
func (*APISpecLintingJobClient) Delete ¶
func (c *APISpecLintingJobClient) Delete(res *m.APISpecLintingJob) error
Delete - deletes a resource
func (*APISpecLintingJobClient) Get ¶
func (c *APISpecLintingJobClient) Get(name string) (*m.APISpecLintingJob, error)
Get - gets a resource by name
func (*APISpecLintingJobClient) List ¶
func (c *APISpecLintingJobClient) List(options ...v1.ListOptions) ([]*m.APISpecLintingJob, error)
List - gets a list of resources
func (*APISpecLintingJobClient) Update ¶
func (c *APISpecLintingJobClient) Update(res *m.APISpecLintingJob, opts ...v1.UpdateOption) (*m.APISpecLintingJob, error)
Update - updates a resource
type APISpecLintingJobMergeFunc ¶
type APISpecLintingJobMergeFunc func(*m.APISpecLintingJob, *m.APISpecLintingJob) (*m.APISpecLintingJob, error)
type APISpecLintingRulesetClient ¶
type APISpecLintingRulesetClient struct {
// contains filtered or unexported fields
}
APISpecLintingRulesetClient - rest client for APISpecLintingRuleset resources that have a defined resource scope
func NewAPISpecLintingRulesetClient ¶
func NewAPISpecLintingRulesetClient(c v1.Base) (*APISpecLintingRulesetClient, error)
NewAPISpecLintingRulesetClient - creates a client scoped to a particular resource
func (*APISpecLintingRulesetClient) Create ¶
func (c *APISpecLintingRulesetClient) Create(res *m.APISpecLintingRuleset, opts ...v1.CreateOption) (*m.APISpecLintingRuleset, error)
Create - creates a resource
func (*APISpecLintingRulesetClient) Delete ¶
func (c *APISpecLintingRulesetClient) Delete(res *m.APISpecLintingRuleset) error
Delete - deletes a resource
func (*APISpecLintingRulesetClient) Get ¶
func (c *APISpecLintingRulesetClient) Get(name string) (*m.APISpecLintingRuleset, error)
Get - gets a resource by name
func (*APISpecLintingRulesetClient) List ¶
func (c *APISpecLintingRulesetClient) List(options ...v1.ListOptions) ([]*m.APISpecLintingRuleset, error)
List - gets a list of resources
func (*APISpecLintingRulesetClient) Update ¶
func (c *APISpecLintingRulesetClient) Update(res *m.APISpecLintingRuleset, opts ...v1.UpdateOption) (*m.APISpecLintingRuleset, error)
Update - updates a resource
type APISpecLintingRulesetMergeFunc ¶
type APISpecLintingRulesetMergeFunc func(*m.APISpecLintingRuleset, *m.APISpecLintingRuleset) (*m.APISpecLintingRuleset, error)
type BatchJobClient ¶
type BatchJobClient struct {
// contains filtered or unexported fields
}
BatchJobClient - rest client for BatchJob resources that have a defined resource scope
func (*BatchJobClient) Create ¶
func (c *BatchJobClient) Create(res *m.BatchJob, opts ...v1.CreateOption) (*m.BatchJob, error)
Create - creates a resource
func (*BatchJobClient) Delete ¶
func (c *BatchJobClient) Delete(res *m.BatchJob) error
Delete - deletes a resource
func (*BatchJobClient) Get ¶
func (c *BatchJobClient) Get(name string) (*m.BatchJob, error)
Get - gets a resource by name
func (*BatchJobClient) List ¶
func (c *BatchJobClient) List(options ...v1.ListOptions) ([]*m.BatchJob, error)
List - gets a list of resources
func (*BatchJobClient) Update ¶
func (c *BatchJobClient) Update(res *m.BatchJob, opts ...v1.UpdateOption) (*m.BatchJob, error)
Update - updates a resource
type UnscopedAPISpecLintingJobClient ¶
type UnscopedAPISpecLintingJobClient struct {
// contains filtered or unexported fields
}
UnscopedAPISpecLintingJobClient - rest client for APISpecLintingJob resources that do not have a defined scope
func NewAPISpecLintingJobClient ¶
func NewAPISpecLintingJobClient(c v1.Base) (*UnscopedAPISpecLintingJobClient, error)
NewAPISpecLintingJobClient - creates a client that is not scoped to any resource
func (*UnscopedAPISpecLintingJobClient) Get ¶
func (c *UnscopedAPISpecLintingJobClient) Get(name string) (*m.APISpecLintingJob, error)
Get - gets a resource by name
func (*UnscopedAPISpecLintingJobClient) Update ¶
func (c *UnscopedAPISpecLintingJobClient) Update(res *m.APISpecLintingJob, opts ...v1.UpdateOption) (*m.APISpecLintingJob, error)
Update - updates a resource
func (*UnscopedAPISpecLintingJobClient) WithScope ¶
func (c *UnscopedAPISpecLintingJobClient) WithScope(scope string) *APISpecLintingJobClient
WithScope - sets the resource scope for the client
type UnscopedBatchJobClient ¶
type UnscopedBatchJobClient struct {
// contains filtered or unexported fields
}
UnscopedBatchJobClient - rest client for BatchJob resources that do not have a defined scope
func NewBatchJobClient ¶
func NewBatchJobClient(c v1.Base) (*UnscopedBatchJobClient, error)
NewBatchJobClient - creates a client that is not scoped to any resource
func (*UnscopedBatchJobClient) Get ¶
func (c *UnscopedBatchJobClient) Get(name string) (*m.BatchJob, error)
Get - gets a resource by name
func (*UnscopedBatchJobClient) Update ¶
func (c *UnscopedBatchJobClient) Update(res *m.BatchJob, opts ...v1.UpdateOption) (*m.BatchJob, error)
Update - updates a resource
func (*UnscopedBatchJobClient) WithScope ¶
func (c *UnscopedBatchJobClient) WithScope(scope string) *BatchJobClient
WithScope - sets the resource scope for the client