Documentation
¶
Index ¶
- func NewKubeGreenComSleepInfoV1Alpha1Manifest() datasource.DataSource
- type KubeGreenComSleepInfoV1Alpha1Manifest
- func (r *KubeGreenComSleepInfoV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *KubeGreenComSleepInfoV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *KubeGreenComSleepInfoV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type KubeGreenComSleepInfoV1Alpha1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKubeGreenComSleepInfoV1Alpha1Manifest ¶
func NewKubeGreenComSleepInfoV1Alpha1Manifest() datasource.DataSource
Types ¶
type KubeGreenComSleepInfoV1Alpha1Manifest ¶
type KubeGreenComSleepInfoV1Alpha1Manifest struct{}
func (*KubeGreenComSleepInfoV1Alpha1Manifest) Metadata ¶
func (r *KubeGreenComSleepInfoV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*KubeGreenComSleepInfoV1Alpha1Manifest) Read ¶
func (r *KubeGreenComSleepInfoV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*KubeGreenComSleepInfoV1Alpha1Manifest) Schema ¶
func (r *KubeGreenComSleepInfoV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type KubeGreenComSleepInfoV1Alpha1ManifestData ¶
type KubeGreenComSleepInfoV1Alpha1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { ExcludeRef *[]struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"exclude_ref" json:"excludeRef,omitempty"` IncludeRef *[]struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"include_ref" json:"includeRef,omitempty"` Patches *[]struct { Patch *string `tfsdk:"patch" json:"patch,omitempty"` Target *struct { Group *string `tfsdk:"group" json:"group,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` } `tfsdk:"target" json:"target,omitempty"` } `tfsdk:"patches" json:"patches,omitempty"` SleepAt *string `tfsdk:"sleep_at" json:"sleepAt,omitempty"` SuspendCronJobs *bool `tfsdk:"suspend_cron_jobs" json:"suspendCronJobs,omitempty"` SuspendDeployments *bool `tfsdk:"suspend_deployments" json:"suspendDeployments,omitempty"` SuspendStatefulsets *bool `tfsdk:"suspend_statefulsets" json:"suspendStatefulsets,omitempty"` TimeZone *string `tfsdk:"time_zone" json:"timeZone,omitempty"` WakeUpAt *string `tfsdk:"wake_up_at" json:"wakeUpAt,omitempty"` Weekdays *string `tfsdk:"weekdays" json:"weekdays,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.