Documentation ¶
Index ¶
- Constants
- func New() resource.Resource
- type KubeletConfigResource
- func (k *KubeletConfigResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (k *KubeletConfigResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (k *KubeletConfigResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (k *KubeletConfigResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (k *KubeletConfigResource) Metadata(_ context.Context, request resource.MetadataRequest, ...)
- func (k *KubeletConfigResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (k *KubeletConfigResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (k *KubeletConfigResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type KubeletConfigState
- type PidsLimitValidator
Constants ¶
View Source
const ( MinPodPidsLimit int64 = 4096 MaxPodPidsLimit int64 = 16384 MaxUnsafePidsLimit int64 = 3694303 PidsTooLowSummary = "The requested podPidsLimit is too low" PidsTooHighSummary = "The requested podPidsLimit is too high" PidsTooLowDescription = "The requested podPidsLimit of '%d' is below the minimum allowable value of '%d'" PidsTooHighDescription = "The requested podPidsLimit of '%d' is above the default maximum value of '%d', " + "and above the maximum supported value of '%d'" PidsTooHighWarningSummary = "The requested podPidsLimit is possibly too high" PidsTooHighWarningDescription = "The requested podPidsLimit of '%d' is above the default maximum of '%d'. " + "This is not supported unless agreed with Red Hat in advance." )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KubeletConfigResource ¶
type KubeletConfigResource struct {
// contains filtered or unexported fields
}
func (*KubeletConfigResource) Configure ¶
func (k *KubeletConfigResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*KubeletConfigResource) Create ¶
func (k *KubeletConfigResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*KubeletConfigResource) Delete ¶
func (k *KubeletConfigResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*KubeletConfigResource) ImportState ¶
func (k *KubeletConfigResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*KubeletConfigResource) Metadata ¶
func (k *KubeletConfigResource) Metadata(_ context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*KubeletConfigResource) Read ¶
func (k *KubeletConfigResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*KubeletConfigResource) Schema ¶
func (k *KubeletConfigResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (*KubeletConfigResource) Update ¶
func (k *KubeletConfigResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type KubeletConfigState ¶
type PidsLimitValidator ¶
type PidsLimitValidator struct { }
func (PidsLimitValidator) Description ¶
func (p PidsLimitValidator) Description(_ context.Context) string
func (PidsLimitValidator) MarkdownDescription ¶
func (p PidsLimitValidator) MarkdownDescription(_ context.Context) string
func (PidsLimitValidator) ValidateInt64 ¶
func (p PidsLimitValidator) ValidateInt64(_ context.Context, req validator.Int64Request, resp *validator.Int64Response)
Click to show internal directories.
Click to hide internal directories.