Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type BackupExpansion
- type BackupInterface
- type BackupsGetter
- type ClusterImagePoliciesGetter
- type ClusterImagePolicyExpansion
- type ClusterImagePolicyInterface
- type ClusterMonitoringExpansion
- type ClusterMonitoringInterface
- type ClusterMonitoringsGetter
- type ConfigV1alpha1Client
- func (c *ConfigV1alpha1Client) Backups() BackupInterface
- func (c *ConfigV1alpha1Client) ClusterImagePolicies() ClusterImagePolicyInterface
- func (c *ConfigV1alpha1Client) ClusterMonitorings() ClusterMonitoringInterface
- func (c *ConfigV1alpha1Client) ImagePolicies(namespace string) ImagePolicyInterface
- func (c *ConfigV1alpha1Client) InsightsDataGathers() InsightsDataGatherInterface
- func (c *ConfigV1alpha1Client) RESTClient() rest.Interface
- type ConfigV1alpha1Interface
- type ImagePoliciesGetter
- type ImagePolicyExpansion
- type ImagePolicyInterface
- type InsightsDataGatherExpansion
- type InsightsDataGatherInterface
- type InsightsDataGathersGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupExpansion ¶
type BackupExpansion interface{}
type BackupInterface ¶
type BackupInterface interface {
Create(ctx context.Context, backup *configv1alpha1.Backup, opts v1.CreateOptions) (*configv1alpha1.Backup, error)
Update(ctx context.Context, backup *configv1alpha1.Backup, opts v1.UpdateOptions) (*configv1alpha1.Backup, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, backup *configv1alpha1.Backup, opts v1.UpdateOptions) (*configv1alpha1.Backup, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*configv1alpha1.Backup, error)
List(ctx context.Context, opts v1.ListOptions) (*configv1alpha1.BackupList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configv1alpha1.Backup, err error)
Apply(ctx context.Context, backup *applyconfigurationsconfigv1alpha1.BackupApplyConfiguration, opts v1.ApplyOptions) (result *configv1alpha1.Backup, err error)
// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
ApplyStatus(ctx context.Context, backup *applyconfigurationsconfigv1alpha1.BackupApplyConfiguration, opts v1.ApplyOptions) (result *configv1alpha1.Backup, err error)
BackupExpansion
}
BackupInterface has methods to work with Backup resources.
type BackupsGetter ¶
type BackupsGetter interface {
Backups() BackupInterface
}
BackupsGetter has a method to return a BackupInterface. A group's client should implement this interface.
type ClusterImagePoliciesGetter ¶
type ClusterImagePoliciesGetter interface {
ClusterImagePolicies() ClusterImagePolicyInterface
}
ClusterImagePoliciesGetter has a method to return a ClusterImagePolicyInterface. A group's client should implement this interface.
type ClusterImagePolicyExpansion ¶
type ClusterImagePolicyExpansion interface{}
type ClusterImagePolicyInterface ¶
type ClusterImagePolicyInterface interface {
Create(ctx context.Context, clusterImagePolicy *configv1alpha1.ClusterImagePolicy, opts v1.CreateOptions) (*configv1alpha1.ClusterImagePolicy, error)
Update(ctx context.Context, clusterImagePolicy *configv1alpha1.ClusterImagePolicy, opts v1.UpdateOptions) (*configv1alpha1.ClusterImagePolicy, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, clusterImagePolicy *configv1alpha1.ClusterImagePolicy, opts v1.UpdateOptions) (*configv1alpha1.ClusterImagePolicy, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*configv1alpha1.ClusterImagePolicy, error)
List(ctx context.Context, opts v1.ListOptions) (*configv1alpha1.ClusterImagePolicyList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configv1alpha1.ClusterImagePolicy, err error)
Apply(ctx context.Context, clusterImagePolicy *applyconfigurationsconfigv1alpha1.ClusterImagePolicyApplyConfiguration, opts v1.ApplyOptions) (result *configv1alpha1.ClusterImagePolicy, err error)
// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
ApplyStatus(ctx context.Context, clusterImagePolicy *applyconfigurationsconfigv1alpha1.ClusterImagePolicyApplyConfiguration, opts v1.ApplyOptions) (result *configv1alpha1.ClusterImagePolicy, err error)
ClusterImagePolicyExpansion
}
ClusterImagePolicyInterface has methods to work with ClusterImagePolicy resources.
type ClusterMonitoringExpansion ¶
type ClusterMonitoringExpansion interface{}
type ClusterMonitoringInterface ¶
type ClusterMonitoringInterface interface {
Create(ctx context.Context, clusterMonitoring *configv1alpha1.ClusterMonitoring, opts v1.CreateOptions) (*configv1alpha1.ClusterMonitoring, error)
Update(ctx context.Context, clusterMonitoring *configv1alpha1.ClusterMonitoring, opts v1.UpdateOptions) (*configv1alpha1.ClusterMonitoring, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, clusterMonitoring *configv1alpha1.ClusterMonitoring, opts v1.UpdateOptions) (*configv1alpha1.ClusterMonitoring, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*configv1alpha1.ClusterMonitoring, error)
List(ctx context.Context, opts v1.ListOptions) (*configv1alpha1.ClusterMonitoringList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configv1alpha1.ClusterMonitoring, err error)
Apply(ctx context.Context, clusterMonitoring *applyconfigurationsconfigv1alpha1.ClusterMonitoringApplyConfiguration, opts v1.ApplyOptions) (result *configv1alpha1.ClusterMonitoring, err error)
// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
ApplyStatus(ctx context.Context, clusterMonitoring *applyconfigurationsconfigv1alpha1.ClusterMonitoringApplyConfiguration, opts v1.ApplyOptions) (result *configv1alpha1.ClusterMonitoring, err error)
ClusterMonitoringExpansion
}
ClusterMonitoringInterface has methods to work with ClusterMonitoring resources.
type ClusterMonitoringsGetter ¶
type ClusterMonitoringsGetter interface {
ClusterMonitorings() ClusterMonitoringInterface
}
ClusterMonitoringsGetter has a method to return a ClusterMonitoringInterface. A group's client should implement this interface.
type ConfigV1alpha1Client ¶
type ConfigV1alpha1Client struct {
// contains filtered or unexported fields
}
ConfigV1alpha1Client is used to interact with features provided by the config.openshift.io group.
func New ¶
func New(c rest.Interface) *ConfigV1alpha1Client
New creates a new ConfigV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ConfigV1alpha1Client, error)
NewForConfig creates a new ConfigV1alpha1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new ConfigV1alpha1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ConfigV1alpha1Client
NewForConfigOrDie creates a new ConfigV1alpha1Client for the given config and panics if there is an error in the config.
func (*ConfigV1alpha1Client) Backups ¶
func (c *ConfigV1alpha1Client) Backups() BackupInterface
func (*ConfigV1alpha1Client) ClusterImagePolicies ¶
func (c *ConfigV1alpha1Client) ClusterImagePolicies() ClusterImagePolicyInterface
func (*ConfigV1alpha1Client) ClusterMonitorings ¶
func (c *ConfigV1alpha1Client) ClusterMonitorings() ClusterMonitoringInterface
func (*ConfigV1alpha1Client) ImagePolicies ¶
func (c *ConfigV1alpha1Client) ImagePolicies(namespace string) ImagePolicyInterface
func (*ConfigV1alpha1Client) InsightsDataGathers ¶
func (c *ConfigV1alpha1Client) InsightsDataGathers() InsightsDataGatherInterface
func (*ConfigV1alpha1Client) RESTClient ¶
func (c *ConfigV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ConfigV1alpha1Interface ¶
type ConfigV1alpha1Interface interface {
RESTClient() rest.Interface
BackupsGetter
ClusterImagePoliciesGetter
ClusterMonitoringsGetter
ImagePoliciesGetter
InsightsDataGathersGetter
}
type ImagePoliciesGetter ¶
type ImagePoliciesGetter interface {
ImagePolicies(namespace string) ImagePolicyInterface
}
ImagePoliciesGetter has a method to return a ImagePolicyInterface. A group's client should implement this interface.
type ImagePolicyExpansion ¶
type ImagePolicyExpansion interface{}
type ImagePolicyInterface ¶
type ImagePolicyInterface interface {
Create(ctx context.Context, imagePolicy *configv1alpha1.ImagePolicy, opts v1.CreateOptions) (*configv1alpha1.ImagePolicy, error)
Update(ctx context.Context, imagePolicy *configv1alpha1.ImagePolicy, opts v1.UpdateOptions) (*configv1alpha1.ImagePolicy, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, imagePolicy *configv1alpha1.ImagePolicy, opts v1.UpdateOptions) (*configv1alpha1.ImagePolicy, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*configv1alpha1.ImagePolicy, error)
List(ctx context.Context, opts v1.ListOptions) (*configv1alpha1.ImagePolicyList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configv1alpha1.ImagePolicy, err error)
Apply(ctx context.Context, imagePolicy *applyconfigurationsconfigv1alpha1.ImagePolicyApplyConfiguration, opts v1.ApplyOptions) (result *configv1alpha1.ImagePolicy, err error)
// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
ApplyStatus(ctx context.Context, imagePolicy *applyconfigurationsconfigv1alpha1.ImagePolicyApplyConfiguration, opts v1.ApplyOptions) (result *configv1alpha1.ImagePolicy, err error)
ImagePolicyExpansion
}
ImagePolicyInterface has methods to work with ImagePolicy resources.
type InsightsDataGatherExpansion ¶
type InsightsDataGatherExpansion interface{}
type InsightsDataGatherInterface ¶
type InsightsDataGatherInterface interface {
Create(ctx context.Context, insightsDataGather *configv1alpha1.InsightsDataGather, opts v1.CreateOptions) (*configv1alpha1.InsightsDataGather, error)
Update(ctx context.Context, insightsDataGather *configv1alpha1.InsightsDataGather, opts v1.UpdateOptions) (*configv1alpha1.InsightsDataGather, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, insightsDataGather *configv1alpha1.InsightsDataGather, opts v1.UpdateOptions) (*configv1alpha1.InsightsDataGather, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*configv1alpha1.InsightsDataGather, error)
List(ctx context.Context, opts v1.ListOptions) (*configv1alpha1.InsightsDataGatherList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configv1alpha1.InsightsDataGather, err error)
Apply(ctx context.Context, insightsDataGather *applyconfigurationsconfigv1alpha1.InsightsDataGatherApplyConfiguration, opts v1.ApplyOptions) (result *configv1alpha1.InsightsDataGather, err error)
// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
ApplyStatus(ctx context.Context, insightsDataGather *applyconfigurationsconfigv1alpha1.InsightsDataGatherApplyConfiguration, opts v1.ApplyOptions) (result *configv1alpha1.InsightsDataGather, err error)
InsightsDataGatherExpansion
}
InsightsDataGatherInterface has methods to work with InsightsDataGather resources.
type InsightsDataGathersGetter ¶
type InsightsDataGathersGetter interface {
InsightsDataGathers() InsightsDataGatherInterface
}
InsightsDataGathersGetter has a method to return a InsightsDataGatherInterface. A group's client should implement this interface.