flowcontrol_apiserver_k8s_io_v1beta3

package
v0.0.0-...-fec4858 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: 0BSD Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFlowcontrolApiserverK8SIoFlowSchemaV1Beta3Manifest

func NewFlowcontrolApiserverK8SIoFlowSchemaV1Beta3Manifest() datasource.DataSource

func NewFlowcontrolApiserverK8SIoPriorityLevelConfigurationV1Beta3Manifest

func NewFlowcontrolApiserverK8SIoPriorityLevelConfigurationV1Beta3Manifest() datasource.DataSource

Types

type FlowcontrolApiserverK8SIoFlowSchemaV1Beta3Manifest

type FlowcontrolApiserverK8SIoFlowSchemaV1Beta3Manifest struct{}

func (*FlowcontrolApiserverK8SIoFlowSchemaV1Beta3Manifest) Metadata

func (*FlowcontrolApiserverK8SIoFlowSchemaV1Beta3Manifest) Read

func (*FlowcontrolApiserverK8SIoFlowSchemaV1Beta3Manifest) Schema

type FlowcontrolApiserverK8SIoFlowSchemaV1Beta3ManifestData

type FlowcontrolApiserverK8SIoFlowSchemaV1Beta3ManifestData 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"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		DistinguisherMethod *struct {
			Type *string `tfsdk:"type" json:"type,omitempty"`
		} `tfsdk:"distinguisher_method" json:"distinguisherMethod,omitempty"`
		MatchingPrecedence         *int64 `tfsdk:"matching_precedence" json:"matchingPrecedence,omitempty"`
		PriorityLevelConfiguration *struct {
			Name *string `tfsdk:"name" json:"name,omitempty"`
		} `tfsdk:"priority_level_configuration" json:"priorityLevelConfiguration,omitempty"`
		Rules *[]struct {
			NonResourceRules *[]struct {
				NonResourceURLs *[]string `tfsdk:"non_resource_urls" json:"nonResourceURLs,omitempty"`
				Verbs           *[]string `tfsdk:"verbs" json:"verbs,omitempty"`
			} `tfsdk:"non_resource_rules" json:"nonResourceRules,omitempty"`
			ResourceRules *[]struct {
				ApiGroups    *[]string `tfsdk:"api_groups" json:"apiGroups,omitempty"`
				ClusterScope *bool     `tfsdk:"cluster_scope" json:"clusterScope,omitempty"`
				Namespaces   *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"`
				Resources    *[]string `tfsdk:"resources" json:"resources,omitempty"`
				Verbs        *[]string `tfsdk:"verbs" json:"verbs,omitempty"`
			} `tfsdk:"resource_rules" json:"resourceRules,omitempty"`
			Subjects *[]struct {
				Group *struct {
					Name *string `tfsdk:"name" json:"name,omitempty"`
				} `tfsdk:"group" json:"group,omitempty"`
				Kind           *string `tfsdk:"kind" json:"kind,omitempty"`
				ServiceAccount *struct {
					Name      *string `tfsdk:"name" json:"name,omitempty"`
					Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"`
				} `tfsdk:"service_account" json:"serviceAccount,omitempty"`
				User *struct {
					Name *string `tfsdk:"name" json:"name,omitempty"`
				} `tfsdk:"user" json:"user,omitempty"`
			} `tfsdk:"subjects" json:"subjects,omitempty"`
		} `tfsdk:"rules" json:"rules,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type FlowcontrolApiserverK8SIoPriorityLevelConfigurationV1Beta3Manifest

type FlowcontrolApiserverK8SIoPriorityLevelConfigurationV1Beta3Manifest struct{}

func (*FlowcontrolApiserverK8SIoPriorityLevelConfigurationV1Beta3Manifest) Metadata

func (*FlowcontrolApiserverK8SIoPriorityLevelConfigurationV1Beta3Manifest) Read

func (*FlowcontrolApiserverK8SIoPriorityLevelConfigurationV1Beta3Manifest) Schema

type FlowcontrolApiserverK8SIoPriorityLevelConfigurationV1Beta3ManifestData

type FlowcontrolApiserverK8SIoPriorityLevelConfigurationV1Beta3ManifestData 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"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		Exempt *struct {
			LendablePercent          *int64 `tfsdk:"lendable_percent" json:"lendablePercent,omitempty"`
			NominalConcurrencyShares *int64 `tfsdk:"nominal_concurrency_shares" json:"nominalConcurrencyShares,omitempty"`
		} `tfsdk:"exempt" json:"exempt,omitempty"`
		Limited *struct {
			BorrowingLimitPercent *int64 `tfsdk:"borrowing_limit_percent" json:"borrowingLimitPercent,omitempty"`
			LendablePercent       *int64 `tfsdk:"lendable_percent" json:"lendablePercent,omitempty"`
			LimitResponse         *struct {
				Queuing *struct {
					HandSize         *int64 `tfsdk:"hand_size" json:"handSize,omitempty"`
					QueueLengthLimit *int64 `tfsdk:"queue_length_limit" json:"queueLengthLimit,omitempty"`
					Queues           *int64 `tfsdk:"queues" json:"queues,omitempty"`
				} `tfsdk:"queuing" json:"queuing,omitempty"`
				Type *string `tfsdk:"type" json:"type,omitempty"`
			} `tfsdk:"limit_response" json:"limitResponse,omitempty"`
			NominalConcurrencyShares *int64 `tfsdk:"nominal_concurrency_shares" json:"nominalConcurrencyShares,omitempty"`
		} `tfsdk:"limited" json:"limited,omitempty"`
		Type *string `tfsdk:"type" json:"type,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL