Documentation ¶
Index ¶
- Variables
- type FlowDistinguisherMethod
- func (*FlowDistinguisherMethod) Descriptor() ([]byte, []int)
- func (m *FlowDistinguisherMethod) GetType() string
- func (m *FlowDistinguisherMethod) Marshal() (dAtA []byte, err error)
- func (m *FlowDistinguisherMethod) MarshalTo(dAtA []byte) (int, error)
- func (m *FlowDistinguisherMethod) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FlowDistinguisherMethod) ProtoMessage()
- func (m *FlowDistinguisherMethod) Reset()
- func (m *FlowDistinguisherMethod) Size() (n int)
- func (m *FlowDistinguisherMethod) String() string
- func (m *FlowDistinguisherMethod) Unmarshal(dAtA []byte) error
- func (m *FlowDistinguisherMethod) XXX_DiscardUnknown()
- func (m *FlowDistinguisherMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FlowDistinguisherMethod) XXX_Merge(src proto.Message)
- func (m *FlowDistinguisherMethod) XXX_Size() int
- func (m *FlowDistinguisherMethod) XXX_Unmarshal(b []byte) error
- type FlowSchema
- func (*FlowSchema) Descriptor() ([]byte, []int)
- func (m *FlowSchema) GetMetadata() *v1.ObjectMeta
- func (m *FlowSchema) GetSpec() *FlowSchemaSpec
- func (m *FlowSchema) GetStatus() *FlowSchemaStatus
- func (m *FlowSchema) Marshal() (dAtA []byte, err error)
- func (m *FlowSchema) MarshalTo(dAtA []byte) (int, error)
- func (m *FlowSchema) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FlowSchema) ProtoMessage()
- func (m *FlowSchema) Reset()
- func (m *FlowSchema) Size() (n int)
- func (m *FlowSchema) String() string
- func (m *FlowSchema) Unmarshal(dAtA []byte) error
- func (m *FlowSchema) XXX_DiscardUnknown()
- func (m *FlowSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FlowSchema) XXX_Merge(src proto.Message)
- func (m *FlowSchema) XXX_Size() int
- func (m *FlowSchema) XXX_Unmarshal(b []byte) error
- type FlowSchemaCondition
- func (*FlowSchemaCondition) Descriptor() ([]byte, []int)
- func (m *FlowSchemaCondition) GetLastTransitionTime() *v1.Time
- func (m *FlowSchemaCondition) GetMessage() string
- func (m *FlowSchemaCondition) GetReason() string
- func (m *FlowSchemaCondition) GetStatus() string
- func (m *FlowSchemaCondition) GetType() string
- func (m *FlowSchemaCondition) Marshal() (dAtA []byte, err error)
- func (m *FlowSchemaCondition) MarshalTo(dAtA []byte) (int, error)
- func (m *FlowSchemaCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FlowSchemaCondition) ProtoMessage()
- func (m *FlowSchemaCondition) Reset()
- func (m *FlowSchemaCondition) Size() (n int)
- func (m *FlowSchemaCondition) String() string
- func (m *FlowSchemaCondition) Unmarshal(dAtA []byte) error
- func (m *FlowSchemaCondition) XXX_DiscardUnknown()
- func (m *FlowSchemaCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FlowSchemaCondition) XXX_Merge(src proto.Message)
- func (m *FlowSchemaCondition) XXX_Size() int
- func (m *FlowSchemaCondition) XXX_Unmarshal(b []byte) error
- type FlowSchemaList
- func (*FlowSchemaList) Descriptor() ([]byte, []int)
- func (m *FlowSchemaList) GetItems() []*FlowSchema
- func (m *FlowSchemaList) GetMetadata() *v1.ListMeta
- func (m *FlowSchemaList) Marshal() (dAtA []byte, err error)
- func (m *FlowSchemaList) MarshalTo(dAtA []byte) (int, error)
- func (m *FlowSchemaList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FlowSchemaList) ProtoMessage()
- func (m *FlowSchemaList) Reset()
- func (m *FlowSchemaList) Size() (n int)
- func (m *FlowSchemaList) String() string
- func (m *FlowSchemaList) Unmarshal(dAtA []byte) error
- func (m *FlowSchemaList) XXX_DiscardUnknown()
- func (m *FlowSchemaList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FlowSchemaList) XXX_Merge(src proto.Message)
- func (m *FlowSchemaList) XXX_Size() int
- func (m *FlowSchemaList) XXX_Unmarshal(b []byte) error
- type FlowSchemaSpec
- func (*FlowSchemaSpec) Descriptor() ([]byte, []int)
- func (m *FlowSchemaSpec) GetDistinguisherMethod() *FlowDistinguisherMethod
- func (m *FlowSchemaSpec) GetMatchingPrecedence() int32
- func (m *FlowSchemaSpec) GetPriorityLevelConfiguration() *PriorityLevelConfigurationReference
- func (m *FlowSchemaSpec) GetRules() []*PolicyRulesWithSubjects
- func (m *FlowSchemaSpec) Marshal() (dAtA []byte, err error)
- func (m *FlowSchemaSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *FlowSchemaSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FlowSchemaSpec) ProtoMessage()
- func (m *FlowSchemaSpec) Reset()
- func (m *FlowSchemaSpec) Size() (n int)
- func (m *FlowSchemaSpec) String() string
- func (m *FlowSchemaSpec) Unmarshal(dAtA []byte) error
- func (m *FlowSchemaSpec) XXX_DiscardUnknown()
- func (m *FlowSchemaSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FlowSchemaSpec) XXX_Merge(src proto.Message)
- func (m *FlowSchemaSpec) XXX_Size() int
- func (m *FlowSchemaSpec) XXX_Unmarshal(b []byte) error
- type FlowSchemaStatus
- func (*FlowSchemaStatus) Descriptor() ([]byte, []int)
- func (m *FlowSchemaStatus) GetConditions() []*FlowSchemaCondition
- func (m *FlowSchemaStatus) Marshal() (dAtA []byte, err error)
- func (m *FlowSchemaStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *FlowSchemaStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FlowSchemaStatus) ProtoMessage()
- func (m *FlowSchemaStatus) Reset()
- func (m *FlowSchemaStatus) Size() (n int)
- func (m *FlowSchemaStatus) String() string
- func (m *FlowSchemaStatus) Unmarshal(dAtA []byte) error
- func (m *FlowSchemaStatus) XXX_DiscardUnknown()
- func (m *FlowSchemaStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FlowSchemaStatus) XXX_Merge(src proto.Message)
- func (m *FlowSchemaStatus) XXX_Size() int
- func (m *FlowSchemaStatus) XXX_Unmarshal(b []byte) error
- type GroupSubject
- func (*GroupSubject) Descriptor() ([]byte, []int)
- func (m *GroupSubject) GetName() string
- func (m *GroupSubject) Marshal() (dAtA []byte, err error)
- func (m *GroupSubject) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupSubject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GroupSubject) ProtoMessage()
- func (m *GroupSubject) Reset()
- func (m *GroupSubject) Size() (n int)
- func (m *GroupSubject) String() string
- func (m *GroupSubject) Unmarshal(dAtA []byte) error
- func (m *GroupSubject) XXX_DiscardUnknown()
- func (m *GroupSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupSubject) XXX_Merge(src proto.Message)
- func (m *GroupSubject) XXX_Size() int
- func (m *GroupSubject) XXX_Unmarshal(b []byte) error
- type LimitResponse
- func (*LimitResponse) Descriptor() ([]byte, []int)
- func (m *LimitResponse) GetQueuing() *QueuingConfiguration
- func (m *LimitResponse) GetType() string
- func (m *LimitResponse) Marshal() (dAtA []byte, err error)
- func (m *LimitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *LimitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LimitResponse) ProtoMessage()
- func (m *LimitResponse) Reset()
- func (m *LimitResponse) Size() (n int)
- func (m *LimitResponse) String() string
- func (m *LimitResponse) Unmarshal(dAtA []byte) error
- func (m *LimitResponse) XXX_DiscardUnknown()
- func (m *LimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LimitResponse) XXX_Merge(src proto.Message)
- func (m *LimitResponse) XXX_Size() int
- func (m *LimitResponse) XXX_Unmarshal(b []byte) error
- type LimitedPriorityLevelConfiguration
- func (*LimitedPriorityLevelConfiguration) Descriptor() ([]byte, []int)
- func (m *LimitedPriorityLevelConfiguration) GetAssuredConcurrencyShares() int32
- func (m *LimitedPriorityLevelConfiguration) GetLimitResponse() *LimitResponse
- func (m *LimitedPriorityLevelConfiguration) Marshal() (dAtA []byte, err error)
- func (m *LimitedPriorityLevelConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (m *LimitedPriorityLevelConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LimitedPriorityLevelConfiguration) ProtoMessage()
- func (m *LimitedPriorityLevelConfiguration) Reset()
- func (m *LimitedPriorityLevelConfiguration) Size() (n int)
- func (m *LimitedPriorityLevelConfiguration) String() string
- func (m *LimitedPriorityLevelConfiguration) Unmarshal(dAtA []byte) error
- func (m *LimitedPriorityLevelConfiguration) XXX_DiscardUnknown()
- func (m *LimitedPriorityLevelConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LimitedPriorityLevelConfiguration) XXX_Merge(src proto.Message)
- func (m *LimitedPriorityLevelConfiguration) XXX_Size() int
- func (m *LimitedPriorityLevelConfiguration) XXX_Unmarshal(b []byte) error
- type NonResourcePolicyRule
- func (*NonResourcePolicyRule) Descriptor() ([]byte, []int)
- func (m *NonResourcePolicyRule) GetNonResourceURLs() []string
- func (m *NonResourcePolicyRule) GetVerbs() []string
- func (m *NonResourcePolicyRule) Marshal() (dAtA []byte, err error)
- func (m *NonResourcePolicyRule) MarshalTo(dAtA []byte) (int, error)
- func (m *NonResourcePolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NonResourcePolicyRule) ProtoMessage()
- func (m *NonResourcePolicyRule) Reset()
- func (m *NonResourcePolicyRule) Size() (n int)
- func (m *NonResourcePolicyRule) String() string
- func (m *NonResourcePolicyRule) Unmarshal(dAtA []byte) error
- func (m *NonResourcePolicyRule) XXX_DiscardUnknown()
- func (m *NonResourcePolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NonResourcePolicyRule) XXX_Merge(src proto.Message)
- func (m *NonResourcePolicyRule) XXX_Size() int
- func (m *NonResourcePolicyRule) XXX_Unmarshal(b []byte) error
- type PolicyRulesWithSubjects
- func (*PolicyRulesWithSubjects) Descriptor() ([]byte, []int)
- func (m *PolicyRulesWithSubjects) GetNonResourceRules() []*NonResourcePolicyRule
- func (m *PolicyRulesWithSubjects) GetResourceRules() []*ResourcePolicyRule
- func (m *PolicyRulesWithSubjects) GetSubjects() []*Subject
- func (m *PolicyRulesWithSubjects) Marshal() (dAtA []byte, err error)
- func (m *PolicyRulesWithSubjects) MarshalTo(dAtA []byte) (int, error)
- func (m *PolicyRulesWithSubjects) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PolicyRulesWithSubjects) ProtoMessage()
- func (m *PolicyRulesWithSubjects) Reset()
- func (m *PolicyRulesWithSubjects) Size() (n int)
- func (m *PolicyRulesWithSubjects) String() string
- func (m *PolicyRulesWithSubjects) Unmarshal(dAtA []byte) error
- func (m *PolicyRulesWithSubjects) XXX_DiscardUnknown()
- func (m *PolicyRulesWithSubjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PolicyRulesWithSubjects) XXX_Merge(src proto.Message)
- func (m *PolicyRulesWithSubjects) XXX_Size() int
- func (m *PolicyRulesWithSubjects) XXX_Unmarshal(b []byte) error
- type PriorityLevelConfiguration
- func (*PriorityLevelConfiguration) Descriptor() ([]byte, []int)
- func (m *PriorityLevelConfiguration) GetMetadata() *v1.ObjectMeta
- func (m *PriorityLevelConfiguration) GetSpec() *PriorityLevelConfigurationSpec
- func (m *PriorityLevelConfiguration) GetStatus() *PriorityLevelConfigurationStatus
- func (m *PriorityLevelConfiguration) Marshal() (dAtA []byte, err error)
- func (m *PriorityLevelConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (m *PriorityLevelConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriorityLevelConfiguration) ProtoMessage()
- func (m *PriorityLevelConfiguration) Reset()
- func (m *PriorityLevelConfiguration) Size() (n int)
- func (m *PriorityLevelConfiguration) String() string
- func (m *PriorityLevelConfiguration) Unmarshal(dAtA []byte) error
- func (m *PriorityLevelConfiguration) XXX_DiscardUnknown()
- func (m *PriorityLevelConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriorityLevelConfiguration) XXX_Merge(src proto.Message)
- func (m *PriorityLevelConfiguration) XXX_Size() int
- func (m *PriorityLevelConfiguration) XXX_Unmarshal(b []byte) error
- type PriorityLevelConfigurationCondition
- func (*PriorityLevelConfigurationCondition) Descriptor() ([]byte, []int)
- func (m *PriorityLevelConfigurationCondition) GetLastTransitionTime() *v1.Time
- func (m *PriorityLevelConfigurationCondition) GetMessage() string
- func (m *PriorityLevelConfigurationCondition) GetReason() string
- func (m *PriorityLevelConfigurationCondition) GetStatus() string
- func (m *PriorityLevelConfigurationCondition) GetType() string
- func (m *PriorityLevelConfigurationCondition) Marshal() (dAtA []byte, err error)
- func (m *PriorityLevelConfigurationCondition) MarshalTo(dAtA []byte) (int, error)
- func (m *PriorityLevelConfigurationCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriorityLevelConfigurationCondition) ProtoMessage()
- func (m *PriorityLevelConfigurationCondition) Reset()
- func (m *PriorityLevelConfigurationCondition) Size() (n int)
- func (m *PriorityLevelConfigurationCondition) String() string
- func (m *PriorityLevelConfigurationCondition) Unmarshal(dAtA []byte) error
- func (m *PriorityLevelConfigurationCondition) XXX_DiscardUnknown()
- func (m *PriorityLevelConfigurationCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriorityLevelConfigurationCondition) XXX_Merge(src proto.Message)
- func (m *PriorityLevelConfigurationCondition) XXX_Size() int
- func (m *PriorityLevelConfigurationCondition) XXX_Unmarshal(b []byte) error
- type PriorityLevelConfigurationList
- func (*PriorityLevelConfigurationList) Descriptor() ([]byte, []int)
- func (m *PriorityLevelConfigurationList) GetItems() []*PriorityLevelConfiguration
- func (m *PriorityLevelConfigurationList) GetMetadata() *v1.ListMeta
- func (m *PriorityLevelConfigurationList) Marshal() (dAtA []byte, err error)
- func (m *PriorityLevelConfigurationList) MarshalTo(dAtA []byte) (int, error)
- func (m *PriorityLevelConfigurationList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriorityLevelConfigurationList) ProtoMessage()
- func (m *PriorityLevelConfigurationList) Reset()
- func (m *PriorityLevelConfigurationList) Size() (n int)
- func (m *PriorityLevelConfigurationList) String() string
- func (m *PriorityLevelConfigurationList) Unmarshal(dAtA []byte) error
- func (m *PriorityLevelConfigurationList) XXX_DiscardUnknown()
- func (m *PriorityLevelConfigurationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriorityLevelConfigurationList) XXX_Merge(src proto.Message)
- func (m *PriorityLevelConfigurationList) XXX_Size() int
- func (m *PriorityLevelConfigurationList) XXX_Unmarshal(b []byte) error
- type PriorityLevelConfigurationReference
- func (*PriorityLevelConfigurationReference) Descriptor() ([]byte, []int)
- func (m *PriorityLevelConfigurationReference) GetName() string
- func (m *PriorityLevelConfigurationReference) Marshal() (dAtA []byte, err error)
- func (m *PriorityLevelConfigurationReference) MarshalTo(dAtA []byte) (int, error)
- func (m *PriorityLevelConfigurationReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriorityLevelConfigurationReference) ProtoMessage()
- func (m *PriorityLevelConfigurationReference) Reset()
- func (m *PriorityLevelConfigurationReference) Size() (n int)
- func (m *PriorityLevelConfigurationReference) String() string
- func (m *PriorityLevelConfigurationReference) Unmarshal(dAtA []byte) error
- func (m *PriorityLevelConfigurationReference) XXX_DiscardUnknown()
- func (m *PriorityLevelConfigurationReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriorityLevelConfigurationReference) XXX_Merge(src proto.Message)
- func (m *PriorityLevelConfigurationReference) XXX_Size() int
- func (m *PriorityLevelConfigurationReference) XXX_Unmarshal(b []byte) error
- type PriorityLevelConfigurationSpec
- func (*PriorityLevelConfigurationSpec) Descriptor() ([]byte, []int)
- func (m *PriorityLevelConfigurationSpec) GetLimited() *LimitedPriorityLevelConfiguration
- func (m *PriorityLevelConfigurationSpec) GetType() string
- func (m *PriorityLevelConfigurationSpec) Marshal() (dAtA []byte, err error)
- func (m *PriorityLevelConfigurationSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *PriorityLevelConfigurationSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriorityLevelConfigurationSpec) ProtoMessage()
- func (m *PriorityLevelConfigurationSpec) Reset()
- func (m *PriorityLevelConfigurationSpec) Size() (n int)
- func (m *PriorityLevelConfigurationSpec) String() string
- func (m *PriorityLevelConfigurationSpec) Unmarshal(dAtA []byte) error
- func (m *PriorityLevelConfigurationSpec) XXX_DiscardUnknown()
- func (m *PriorityLevelConfigurationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriorityLevelConfigurationSpec) XXX_Merge(src proto.Message)
- func (m *PriorityLevelConfigurationSpec) XXX_Size() int
- func (m *PriorityLevelConfigurationSpec) XXX_Unmarshal(b []byte) error
- type PriorityLevelConfigurationStatus
- func (*PriorityLevelConfigurationStatus) Descriptor() ([]byte, []int)
- func (m *PriorityLevelConfigurationStatus) GetConditions() []*PriorityLevelConfigurationCondition
- func (m *PriorityLevelConfigurationStatus) Marshal() (dAtA []byte, err error)
- func (m *PriorityLevelConfigurationStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *PriorityLevelConfigurationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriorityLevelConfigurationStatus) ProtoMessage()
- func (m *PriorityLevelConfigurationStatus) Reset()
- func (m *PriorityLevelConfigurationStatus) Size() (n int)
- func (m *PriorityLevelConfigurationStatus) String() string
- func (m *PriorityLevelConfigurationStatus) Unmarshal(dAtA []byte) error
- func (m *PriorityLevelConfigurationStatus) XXX_DiscardUnknown()
- func (m *PriorityLevelConfigurationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriorityLevelConfigurationStatus) XXX_Merge(src proto.Message)
- func (m *PriorityLevelConfigurationStatus) XXX_Size() int
- func (m *PriorityLevelConfigurationStatus) XXX_Unmarshal(b []byte) error
- type QueuingConfiguration
- func (*QueuingConfiguration) Descriptor() ([]byte, []int)
- func (m *QueuingConfiguration) GetHandSize() int32
- func (m *QueuingConfiguration) GetQueueLengthLimit() int32
- func (m *QueuingConfiguration) GetQueues() int32
- func (m *QueuingConfiguration) Marshal() (dAtA []byte, err error)
- func (m *QueuingConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (m *QueuingConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueuingConfiguration) ProtoMessage()
- func (m *QueuingConfiguration) Reset()
- func (m *QueuingConfiguration) Size() (n int)
- func (m *QueuingConfiguration) String() string
- func (m *QueuingConfiguration) Unmarshal(dAtA []byte) error
- func (m *QueuingConfiguration) XXX_DiscardUnknown()
- func (m *QueuingConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueuingConfiguration) XXX_Merge(src proto.Message)
- func (m *QueuingConfiguration) XXX_Size() int
- func (m *QueuingConfiguration) XXX_Unmarshal(b []byte) error
- type ResourcePolicyRule
- func (*ResourcePolicyRule) Descriptor() ([]byte, []int)
- func (m *ResourcePolicyRule) GetApiGroups() []string
- func (m *ResourcePolicyRule) GetClusterScope() bool
- func (m *ResourcePolicyRule) GetNamespaces() []string
- func (m *ResourcePolicyRule) GetResources() []string
- func (m *ResourcePolicyRule) GetVerbs() []string
- func (m *ResourcePolicyRule) Marshal() (dAtA []byte, err error)
- func (m *ResourcePolicyRule) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourcePolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourcePolicyRule) ProtoMessage()
- func (m *ResourcePolicyRule) Reset()
- func (m *ResourcePolicyRule) Size() (n int)
- func (m *ResourcePolicyRule) String() string
- func (m *ResourcePolicyRule) Unmarshal(dAtA []byte) error
- func (m *ResourcePolicyRule) XXX_DiscardUnknown()
- func (m *ResourcePolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourcePolicyRule) XXX_Merge(src proto.Message)
- func (m *ResourcePolicyRule) XXX_Size() int
- func (m *ResourcePolicyRule) XXX_Unmarshal(b []byte) error
- type ServiceAccountSubject
- func (*ServiceAccountSubject) Descriptor() ([]byte, []int)
- func (m *ServiceAccountSubject) GetName() string
- func (m *ServiceAccountSubject) GetNamespace() string
- func (m *ServiceAccountSubject) Marshal() (dAtA []byte, err error)
- func (m *ServiceAccountSubject) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceAccountSubject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceAccountSubject) ProtoMessage()
- func (m *ServiceAccountSubject) Reset()
- func (m *ServiceAccountSubject) Size() (n int)
- func (m *ServiceAccountSubject) String() string
- func (m *ServiceAccountSubject) Unmarshal(dAtA []byte) error
- func (m *ServiceAccountSubject) XXX_DiscardUnknown()
- func (m *ServiceAccountSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceAccountSubject) XXX_Merge(src proto.Message)
- func (m *ServiceAccountSubject) XXX_Size() int
- func (m *ServiceAccountSubject) XXX_Unmarshal(b []byte) error
- type Subject
- func (*Subject) Descriptor() ([]byte, []int)
- func (m *Subject) GetGroup() *GroupSubject
- func (m *Subject) GetKind() string
- func (m *Subject) GetServiceAccount() *ServiceAccountSubject
- func (m *Subject) GetUser() *UserSubject
- func (m *Subject) Marshal() (dAtA []byte, err error)
- func (m *Subject) MarshalTo(dAtA []byte) (int, error)
- func (m *Subject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Subject) ProtoMessage()
- func (m *Subject) Reset()
- func (m *Subject) Size() (n int)
- func (m *Subject) String() string
- func (m *Subject) Unmarshal(dAtA []byte) error
- func (m *Subject) XXX_DiscardUnknown()
- func (m *Subject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Subject) XXX_Merge(src proto.Message)
- func (m *Subject) XXX_Size() int
- func (m *Subject) XXX_Unmarshal(b []byte) error
- type UserSubject
- func (*UserSubject) Descriptor() ([]byte, []int)
- func (m *UserSubject) GetName() string
- func (m *UserSubject) Marshal() (dAtA []byte, err error)
- func (m *UserSubject) MarshalTo(dAtA []byte) (int, error)
- func (m *UserSubject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserSubject) ProtoMessage()
- func (m *UserSubject) Reset()
- func (m *UserSubject) Size() (n int)
- func (m *UserSubject) String() string
- func (m *UserSubject) Unmarshal(dAtA []byte) error
- func (m *UserSubject) XXX_DiscardUnknown()
- func (m *UserSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserSubject) XXX_Merge(src proto.Message)
- func (m *UserSubject) XXX_Size() int
- func (m *UserSubject) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type FlowDistinguisherMethod ¶
type FlowDistinguisherMethod struct { // `type` is the type of flow distinguisher method // The supported types are "ByUser" and "ByNamespace". // Required. Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
FlowDistinguisherMethod specifies the method of a flow distinguisher.
func (*FlowDistinguisherMethod) Descriptor ¶
func (*FlowDistinguisherMethod) Descriptor() ([]byte, []int)
func (*FlowDistinguisherMethod) GetType ¶
func (m *FlowDistinguisherMethod) GetType() string
func (*FlowDistinguisherMethod) Marshal ¶
func (m *FlowDistinguisherMethod) Marshal() (dAtA []byte, err error)
func (*FlowDistinguisherMethod) MarshalTo ¶
func (m *FlowDistinguisherMethod) MarshalTo(dAtA []byte) (int, error)
func (*FlowDistinguisherMethod) MarshalToSizedBuffer ¶
func (m *FlowDistinguisherMethod) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FlowDistinguisherMethod) ProtoMessage ¶
func (*FlowDistinguisherMethod) ProtoMessage()
func (*FlowDistinguisherMethod) Reset ¶
func (m *FlowDistinguisherMethod) Reset()
func (*FlowDistinguisherMethod) Size ¶
func (m *FlowDistinguisherMethod) Size() (n int)
func (*FlowDistinguisherMethod) String ¶
func (m *FlowDistinguisherMethod) String() string
func (*FlowDistinguisherMethod) Unmarshal ¶
func (m *FlowDistinguisherMethod) Unmarshal(dAtA []byte) error
func (*FlowDistinguisherMethod) XXX_DiscardUnknown ¶
func (m *FlowDistinguisherMethod) XXX_DiscardUnknown()
func (*FlowDistinguisherMethod) XXX_Marshal ¶
func (m *FlowDistinguisherMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FlowDistinguisherMethod) XXX_Merge ¶
func (m *FlowDistinguisherMethod) XXX_Merge(src proto.Message)
func (*FlowDistinguisherMethod) XXX_Size ¶
func (m *FlowDistinguisherMethod) XXX_Size() int
func (*FlowDistinguisherMethod) XXX_Unmarshal ¶
func (m *FlowDistinguisherMethod) XXX_Unmarshal(b []byte) error
type FlowSchema ¶
type FlowSchema struct { // `metadata` is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // `spec` is the specification of the desired behavior of a FlowSchema. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional Spec *FlowSchemaSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` // `status` is the current status of a FlowSchema. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional Status *FlowSchemaStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".
func (*FlowSchema) Descriptor ¶
func (*FlowSchema) Descriptor() ([]byte, []int)
func (*FlowSchema) GetMetadata ¶
func (m *FlowSchema) GetMetadata() *v1.ObjectMeta
func (*FlowSchema) GetSpec ¶
func (m *FlowSchema) GetSpec() *FlowSchemaSpec
func (*FlowSchema) GetStatus ¶
func (m *FlowSchema) GetStatus() *FlowSchemaStatus
func (*FlowSchema) Marshal ¶
func (m *FlowSchema) Marshal() (dAtA []byte, err error)
func (*FlowSchema) MarshalToSizedBuffer ¶
func (m *FlowSchema) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FlowSchema) ProtoMessage ¶
func (*FlowSchema) ProtoMessage()
func (*FlowSchema) Reset ¶
func (m *FlowSchema) Reset()
func (*FlowSchema) Size ¶
func (m *FlowSchema) Size() (n int)
func (*FlowSchema) String ¶
func (m *FlowSchema) String() string
func (*FlowSchema) Unmarshal ¶
func (m *FlowSchema) Unmarshal(dAtA []byte) error
func (*FlowSchema) XXX_DiscardUnknown ¶
func (m *FlowSchema) XXX_DiscardUnknown()
func (*FlowSchema) XXX_Marshal ¶
func (m *FlowSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FlowSchema) XXX_Merge ¶
func (m *FlowSchema) XXX_Merge(src proto.Message)
func (*FlowSchema) XXX_Size ¶
func (m *FlowSchema) XXX_Size() int
func (*FlowSchema) XXX_Unmarshal ¶
func (m *FlowSchema) XXX_Unmarshal(b []byte) error
type FlowSchemaCondition ¶
type FlowSchemaCondition struct { // `type` is the type of the condition. // Required. Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` // `status` is the status of the condition. // Can be True, False, Unknown. // Required. Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` // `lastTransitionTime` is the last time the condition transitioned from one status to another. LastTransitionTime *v1.Time `protobuf:"bytes,3,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"` // `reason` is a unique, one-word, CamelCase reason for the condition's last transition. Reason *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"` // `message` is a human-readable message indicating details about last transition. Message *string `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
FlowSchemaCondition describes conditions for a FlowSchema.
func (*FlowSchemaCondition) Descriptor ¶
func (*FlowSchemaCondition) Descriptor() ([]byte, []int)
func (*FlowSchemaCondition) GetLastTransitionTime ¶
func (m *FlowSchemaCondition) GetLastTransitionTime() *v1.Time
func (*FlowSchemaCondition) GetMessage ¶
func (m *FlowSchemaCondition) GetMessage() string
func (*FlowSchemaCondition) GetReason ¶
func (m *FlowSchemaCondition) GetReason() string
func (*FlowSchemaCondition) GetStatus ¶
func (m *FlowSchemaCondition) GetStatus() string
func (*FlowSchemaCondition) GetType ¶
func (m *FlowSchemaCondition) GetType() string
func (*FlowSchemaCondition) Marshal ¶
func (m *FlowSchemaCondition) Marshal() (dAtA []byte, err error)
func (*FlowSchemaCondition) MarshalTo ¶
func (m *FlowSchemaCondition) MarshalTo(dAtA []byte) (int, error)
func (*FlowSchemaCondition) MarshalToSizedBuffer ¶
func (m *FlowSchemaCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FlowSchemaCondition) ProtoMessage ¶
func (*FlowSchemaCondition) ProtoMessage()
func (*FlowSchemaCondition) Reset ¶
func (m *FlowSchemaCondition) Reset()
func (*FlowSchemaCondition) Size ¶
func (m *FlowSchemaCondition) Size() (n int)
func (*FlowSchemaCondition) String ¶
func (m *FlowSchemaCondition) String() string
func (*FlowSchemaCondition) Unmarshal ¶
func (m *FlowSchemaCondition) Unmarshal(dAtA []byte) error
func (*FlowSchemaCondition) XXX_DiscardUnknown ¶
func (m *FlowSchemaCondition) XXX_DiscardUnknown()
func (*FlowSchemaCondition) XXX_Marshal ¶
func (m *FlowSchemaCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FlowSchemaCondition) XXX_Merge ¶
func (m *FlowSchemaCondition) XXX_Merge(src proto.Message)
func (*FlowSchemaCondition) XXX_Size ¶
func (m *FlowSchemaCondition) XXX_Size() int
func (*FlowSchemaCondition) XXX_Unmarshal ¶
func (m *FlowSchemaCondition) XXX_Unmarshal(b []byte) error
type FlowSchemaList ¶
type FlowSchemaList struct { // `metadata` is the standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // `items` is a list of FlowSchemas. Items []*FlowSchema `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
FlowSchemaList is a list of FlowSchema objects.
func (*FlowSchemaList) Descriptor ¶
func (*FlowSchemaList) Descriptor() ([]byte, []int)
func (*FlowSchemaList) GetItems ¶
func (m *FlowSchemaList) GetItems() []*FlowSchema
func (*FlowSchemaList) GetMetadata ¶
func (m *FlowSchemaList) GetMetadata() *v1.ListMeta
func (*FlowSchemaList) Marshal ¶
func (m *FlowSchemaList) Marshal() (dAtA []byte, err error)
func (*FlowSchemaList) MarshalToSizedBuffer ¶
func (m *FlowSchemaList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FlowSchemaList) ProtoMessage ¶
func (*FlowSchemaList) ProtoMessage()
func (*FlowSchemaList) Reset ¶
func (m *FlowSchemaList) Reset()
func (*FlowSchemaList) Size ¶
func (m *FlowSchemaList) Size() (n int)
func (*FlowSchemaList) String ¶
func (m *FlowSchemaList) String() string
func (*FlowSchemaList) Unmarshal ¶
func (m *FlowSchemaList) Unmarshal(dAtA []byte) error
func (*FlowSchemaList) XXX_DiscardUnknown ¶
func (m *FlowSchemaList) XXX_DiscardUnknown()
func (*FlowSchemaList) XXX_Marshal ¶
func (m *FlowSchemaList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FlowSchemaList) XXX_Merge ¶
func (m *FlowSchemaList) XXX_Merge(src proto.Message)
func (*FlowSchemaList) XXX_Size ¶
func (m *FlowSchemaList) XXX_Size() int
func (*FlowSchemaList) XXX_Unmarshal ¶
func (m *FlowSchemaList) XXX_Unmarshal(b []byte) error
type FlowSchemaSpec ¶
type FlowSchemaSpec struct { // `priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot // be resolved, the FlowSchema will be ignored and marked as invalid in its status. // Required. PriorityLevelConfiguration *PriorityLevelConfigurationReference `protobuf:"bytes,1,opt,name=priorityLevelConfiguration" json:"priorityLevelConfiguration,omitempty"` // `matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen // FlowSchema is among those with the numerically lowest (which we take to be logically highest) // MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. // Note that if the precedence is not specified, it will be set to 1000 as default. // +optional MatchingPrecedence *int32 `protobuf:"varint,2,opt,name=matchingPrecedence" json:"matchingPrecedence,omitempty"` // `distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. // `nil` specifies that the distinguisher is disabled and thus will always be the empty string. // +optional DistinguisherMethod *FlowDistinguisherMethod `protobuf:"bytes,3,opt,name=distinguisherMethod" json:"distinguisherMethod,omitempty"` // `rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if // at least one member of rules matches the request. // if it is an empty slice, there will be no requests matching the FlowSchema. // +listType=atomic // +optional Rules []*PolicyRulesWithSubjects `protobuf:"bytes,4,rep,name=rules" json:"rules,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
FlowSchemaSpec describes how the FlowSchema's specification looks like.
func (*FlowSchemaSpec) Descriptor ¶
func (*FlowSchemaSpec) Descriptor() ([]byte, []int)
func (*FlowSchemaSpec) GetDistinguisherMethod ¶
func (m *FlowSchemaSpec) GetDistinguisherMethod() *FlowDistinguisherMethod
func (*FlowSchemaSpec) GetMatchingPrecedence ¶
func (m *FlowSchemaSpec) GetMatchingPrecedence() int32
func (*FlowSchemaSpec) GetPriorityLevelConfiguration ¶
func (m *FlowSchemaSpec) GetPriorityLevelConfiguration() *PriorityLevelConfigurationReference
func (*FlowSchemaSpec) GetRules ¶
func (m *FlowSchemaSpec) GetRules() []*PolicyRulesWithSubjects
func (*FlowSchemaSpec) Marshal ¶
func (m *FlowSchemaSpec) Marshal() (dAtA []byte, err error)
func (*FlowSchemaSpec) MarshalToSizedBuffer ¶
func (m *FlowSchemaSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FlowSchemaSpec) ProtoMessage ¶
func (*FlowSchemaSpec) ProtoMessage()
func (*FlowSchemaSpec) Reset ¶
func (m *FlowSchemaSpec) Reset()
func (*FlowSchemaSpec) Size ¶
func (m *FlowSchemaSpec) Size() (n int)
func (*FlowSchemaSpec) String ¶
func (m *FlowSchemaSpec) String() string
func (*FlowSchemaSpec) Unmarshal ¶
func (m *FlowSchemaSpec) Unmarshal(dAtA []byte) error
func (*FlowSchemaSpec) XXX_DiscardUnknown ¶
func (m *FlowSchemaSpec) XXX_DiscardUnknown()
func (*FlowSchemaSpec) XXX_Marshal ¶
func (m *FlowSchemaSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FlowSchemaSpec) XXX_Merge ¶
func (m *FlowSchemaSpec) XXX_Merge(src proto.Message)
func (*FlowSchemaSpec) XXX_Size ¶
func (m *FlowSchemaSpec) XXX_Size() int
func (*FlowSchemaSpec) XXX_Unmarshal ¶
func (m *FlowSchemaSpec) XXX_Unmarshal(b []byte) error
type FlowSchemaStatus ¶
type FlowSchemaStatus struct { // `conditions` is a list of the current states of FlowSchema. // +listType=map // +listMapKey=type // +optional Conditions []*FlowSchemaCondition `protobuf:"bytes,1,rep,name=conditions" json:"conditions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
FlowSchemaStatus represents the current state of a FlowSchema.
func (*FlowSchemaStatus) Descriptor ¶
func (*FlowSchemaStatus) Descriptor() ([]byte, []int)
func (*FlowSchemaStatus) GetConditions ¶
func (m *FlowSchemaStatus) GetConditions() []*FlowSchemaCondition
func (*FlowSchemaStatus) Marshal ¶
func (m *FlowSchemaStatus) Marshal() (dAtA []byte, err error)
func (*FlowSchemaStatus) MarshalToSizedBuffer ¶
func (m *FlowSchemaStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FlowSchemaStatus) ProtoMessage ¶
func (*FlowSchemaStatus) ProtoMessage()
func (*FlowSchemaStatus) Reset ¶
func (m *FlowSchemaStatus) Reset()
func (*FlowSchemaStatus) Size ¶
func (m *FlowSchemaStatus) Size() (n int)
func (*FlowSchemaStatus) String ¶
func (m *FlowSchemaStatus) String() string
func (*FlowSchemaStatus) Unmarshal ¶
func (m *FlowSchemaStatus) Unmarshal(dAtA []byte) error
func (*FlowSchemaStatus) XXX_DiscardUnknown ¶
func (m *FlowSchemaStatus) XXX_DiscardUnknown()
func (*FlowSchemaStatus) XXX_Marshal ¶
func (m *FlowSchemaStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FlowSchemaStatus) XXX_Merge ¶
func (m *FlowSchemaStatus) XXX_Merge(src proto.Message)
func (*FlowSchemaStatus) XXX_Size ¶
func (m *FlowSchemaStatus) XXX_Size() int
func (*FlowSchemaStatus) XXX_Unmarshal ¶
func (m *FlowSchemaStatus) XXX_Unmarshal(b []byte) error
type GroupSubject ¶
type GroupSubject struct { // name is the user group that matches, or "*" to match all user groups. // See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some // well-known group names. // Required. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GroupSubject holds detailed information for group-kind subject.
func (*GroupSubject) Descriptor ¶
func (*GroupSubject) Descriptor() ([]byte, []int)
func (*GroupSubject) GetName ¶
func (m *GroupSubject) GetName() string
func (*GroupSubject) Marshal ¶
func (m *GroupSubject) Marshal() (dAtA []byte, err error)
func (*GroupSubject) MarshalToSizedBuffer ¶
func (m *GroupSubject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GroupSubject) ProtoMessage ¶
func (*GroupSubject) ProtoMessage()
func (*GroupSubject) Reset ¶
func (m *GroupSubject) Reset()
func (*GroupSubject) Size ¶
func (m *GroupSubject) Size() (n int)
func (*GroupSubject) String ¶
func (m *GroupSubject) String() string
func (*GroupSubject) Unmarshal ¶
func (m *GroupSubject) Unmarshal(dAtA []byte) error
func (*GroupSubject) XXX_DiscardUnknown ¶
func (m *GroupSubject) XXX_DiscardUnknown()
func (*GroupSubject) XXX_Marshal ¶
func (m *GroupSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupSubject) XXX_Merge ¶
func (m *GroupSubject) XXX_Merge(src proto.Message)
func (*GroupSubject) XXX_Size ¶
func (m *GroupSubject) XXX_Size() int
func (*GroupSubject) XXX_Unmarshal ¶
func (m *GroupSubject) XXX_Unmarshal(b []byte) error
type LimitResponse ¶
type LimitResponse struct { // `type` is "Queue" or "Reject". // "Queue" means that requests that can not be executed upon arrival // are held in a queue until they can be executed or a queuing limit // is reached. // "Reject" means that requests that can not be executed upon arrival // are rejected. // Required. // +unionDiscriminator Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` // `queuing` holds the configuration parameters for queuing. // This field may be non-empty only if `type` is `"Queue"`. // +optional Queuing *QueuingConfiguration `protobuf:"bytes,2,opt,name=queuing" json:"queuing,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
LimitResponse defines how to handle requests that can not be executed right now. +union
func (*LimitResponse) Descriptor ¶
func (*LimitResponse) Descriptor() ([]byte, []int)
func (*LimitResponse) GetQueuing ¶
func (m *LimitResponse) GetQueuing() *QueuingConfiguration
func (*LimitResponse) GetType ¶
func (m *LimitResponse) GetType() string
func (*LimitResponse) Marshal ¶
func (m *LimitResponse) Marshal() (dAtA []byte, err error)
func (*LimitResponse) MarshalToSizedBuffer ¶
func (m *LimitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LimitResponse) ProtoMessage ¶
func (*LimitResponse) ProtoMessage()
func (*LimitResponse) Reset ¶
func (m *LimitResponse) Reset()
func (*LimitResponse) Size ¶
func (m *LimitResponse) Size() (n int)
func (*LimitResponse) String ¶
func (m *LimitResponse) String() string
func (*LimitResponse) Unmarshal ¶
func (m *LimitResponse) Unmarshal(dAtA []byte) error
func (*LimitResponse) XXX_DiscardUnknown ¶
func (m *LimitResponse) XXX_DiscardUnknown()
func (*LimitResponse) XXX_Marshal ¶
func (m *LimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LimitResponse) XXX_Merge ¶
func (m *LimitResponse) XXX_Merge(src proto.Message)
func (*LimitResponse) XXX_Size ¶
func (m *LimitResponse) XXX_Size() int
func (*LimitResponse) XXX_Unmarshal ¶
func (m *LimitResponse) XXX_Unmarshal(b []byte) error
type LimitedPriorityLevelConfiguration ¶
type LimitedPriorityLevelConfiguration struct { // limit, which is a limit on the number of requests of this // priority level that may be exeucting at a given time. ACS must // be a positive number. The server's concurrency limit (SCL) is // divided among the concurrency-controlled priority levels in // proportion to their assured concurrency shares. This produces // the assured concurrency value (ACV) --- the number of requests // that may be executing at a time --- for each such priority // level: // // ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) ) // // bigger numbers of ACS mean more reserved concurrent requests (at the // expense of every other PL). // This field has a default value of 30. // +optional AssuredConcurrencyShares *int32 `protobuf:"varint,1,opt,name=assuredConcurrencyShares" json:"assuredConcurrencyShares,omitempty"` // `limitResponse` indicates what to do with requests that can not be executed right now LimitResponse *LimitResponse `protobuf:"bytes,2,opt,name=limitResponse" json:"limitResponse,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:
- How are requests for this priority level limited?
- What should be done with requests that exceed the limit?
func (*LimitedPriorityLevelConfiguration) Descriptor ¶
func (*LimitedPriorityLevelConfiguration) Descriptor() ([]byte, []int)
func (*LimitedPriorityLevelConfiguration) GetAssuredConcurrencyShares ¶
func (m *LimitedPriorityLevelConfiguration) GetAssuredConcurrencyShares() int32
func (*LimitedPriorityLevelConfiguration) GetLimitResponse ¶
func (m *LimitedPriorityLevelConfiguration) GetLimitResponse() *LimitResponse
func (*LimitedPriorityLevelConfiguration) Marshal ¶
func (m *LimitedPriorityLevelConfiguration) Marshal() (dAtA []byte, err error)
func (*LimitedPriorityLevelConfiguration) MarshalTo ¶
func (m *LimitedPriorityLevelConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*LimitedPriorityLevelConfiguration) MarshalToSizedBuffer ¶
func (m *LimitedPriorityLevelConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LimitedPriorityLevelConfiguration) ProtoMessage ¶
func (*LimitedPriorityLevelConfiguration) ProtoMessage()
func (*LimitedPriorityLevelConfiguration) Reset ¶
func (m *LimitedPriorityLevelConfiguration) Reset()
func (*LimitedPriorityLevelConfiguration) Size ¶
func (m *LimitedPriorityLevelConfiguration) Size() (n int)
func (*LimitedPriorityLevelConfiguration) String ¶
func (m *LimitedPriorityLevelConfiguration) String() string
func (*LimitedPriorityLevelConfiguration) Unmarshal ¶
func (m *LimitedPriorityLevelConfiguration) Unmarshal(dAtA []byte) error
func (*LimitedPriorityLevelConfiguration) XXX_DiscardUnknown ¶
func (m *LimitedPriorityLevelConfiguration) XXX_DiscardUnknown()
func (*LimitedPriorityLevelConfiguration) XXX_Marshal ¶
func (m *LimitedPriorityLevelConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LimitedPriorityLevelConfiguration) XXX_Merge ¶
func (m *LimitedPriorityLevelConfiguration) XXX_Merge(src proto.Message)
func (*LimitedPriorityLevelConfiguration) XXX_Size ¶
func (m *LimitedPriorityLevelConfiguration) XXX_Size() int
func (*LimitedPriorityLevelConfiguration) XXX_Unmarshal ¶
func (m *LimitedPriorityLevelConfiguration) XXX_Unmarshal(b []byte) error
type NonResourcePolicyRule ¶
type NonResourcePolicyRule struct { // `verbs` is a list of matching verbs and may not be empty. // "*" matches all verbs. If it is present, it must be the only entry. // +listType=set // Required. Verbs []string `protobuf:"bytes,1,rep,name=verbs" json:"verbs,omitempty"` // `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. // For example: // - "/healthz" is legal // - "/hea*" is illegal // - "/hea" is legal but matches nothing // - "/hea/*" also matches nothing // - "/healthz/*" matches all per-component health checks. // "*" matches all non-resource urls. if it is present, it must be the only entry. // +listType=set // Required. NonResourceURLs []string `protobuf:"bytes,6,rep,name=nonResourceURLs" json:"nonResourceURLs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.
func (*NonResourcePolicyRule) Descriptor ¶
func (*NonResourcePolicyRule) Descriptor() ([]byte, []int)
func (*NonResourcePolicyRule) GetNonResourceURLs ¶
func (m *NonResourcePolicyRule) GetNonResourceURLs() []string
func (*NonResourcePolicyRule) GetVerbs ¶
func (m *NonResourcePolicyRule) GetVerbs() []string
func (*NonResourcePolicyRule) Marshal ¶
func (m *NonResourcePolicyRule) Marshal() (dAtA []byte, err error)
func (*NonResourcePolicyRule) MarshalTo ¶
func (m *NonResourcePolicyRule) MarshalTo(dAtA []byte) (int, error)
func (*NonResourcePolicyRule) MarshalToSizedBuffer ¶
func (m *NonResourcePolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NonResourcePolicyRule) ProtoMessage ¶
func (*NonResourcePolicyRule) ProtoMessage()
func (*NonResourcePolicyRule) Reset ¶
func (m *NonResourcePolicyRule) Reset()
func (*NonResourcePolicyRule) Size ¶
func (m *NonResourcePolicyRule) Size() (n int)
func (*NonResourcePolicyRule) String ¶
func (m *NonResourcePolicyRule) String() string
func (*NonResourcePolicyRule) Unmarshal ¶
func (m *NonResourcePolicyRule) Unmarshal(dAtA []byte) error
func (*NonResourcePolicyRule) XXX_DiscardUnknown ¶
func (m *NonResourcePolicyRule) XXX_DiscardUnknown()
func (*NonResourcePolicyRule) XXX_Marshal ¶
func (m *NonResourcePolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NonResourcePolicyRule) XXX_Merge ¶
func (m *NonResourcePolicyRule) XXX_Merge(src proto.Message)
func (*NonResourcePolicyRule) XXX_Size ¶
func (m *NonResourcePolicyRule) XXX_Size() int
func (*NonResourcePolicyRule) XXX_Unmarshal ¶
func (m *NonResourcePolicyRule) XXX_Unmarshal(b []byte) error
type PolicyRulesWithSubjects ¶
type PolicyRulesWithSubjects struct { // subjects is the list of normal user, serviceaccount, or group that this rule cares about. // There must be at least one member in this slice. // A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. // +listType=atomic // Required. Subjects []*Subject `protobuf:"bytes,1,rep,name=subjects" json:"subjects,omitempty"` // `resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the // target resource. // At least one of `resourceRules` and `nonResourceRules` has to be non-empty. // +listType=atomic // +optional ResourceRules []*ResourcePolicyRule `protobuf:"bytes,2,rep,name=resourceRules" json:"resourceRules,omitempty"` // `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb // and the target non-resource URL. // +listType=atomic // +optional NonResourceRules []*NonResourcePolicyRule `protobuf:"bytes,3,rep,name=nonResourceRules" json:"nonResourceRules,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.
func (*PolicyRulesWithSubjects) Descriptor ¶
func (*PolicyRulesWithSubjects) Descriptor() ([]byte, []int)
func (*PolicyRulesWithSubjects) GetNonResourceRules ¶
func (m *PolicyRulesWithSubjects) GetNonResourceRules() []*NonResourcePolicyRule
func (*PolicyRulesWithSubjects) GetResourceRules ¶
func (m *PolicyRulesWithSubjects) GetResourceRules() []*ResourcePolicyRule
func (*PolicyRulesWithSubjects) GetSubjects ¶
func (m *PolicyRulesWithSubjects) GetSubjects() []*Subject
func (*PolicyRulesWithSubjects) Marshal ¶
func (m *PolicyRulesWithSubjects) Marshal() (dAtA []byte, err error)
func (*PolicyRulesWithSubjects) MarshalTo ¶
func (m *PolicyRulesWithSubjects) MarshalTo(dAtA []byte) (int, error)
func (*PolicyRulesWithSubjects) MarshalToSizedBuffer ¶
func (m *PolicyRulesWithSubjects) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PolicyRulesWithSubjects) ProtoMessage ¶
func (*PolicyRulesWithSubjects) ProtoMessage()
func (*PolicyRulesWithSubjects) Reset ¶
func (m *PolicyRulesWithSubjects) Reset()
func (*PolicyRulesWithSubjects) Size ¶
func (m *PolicyRulesWithSubjects) Size() (n int)
func (*PolicyRulesWithSubjects) String ¶
func (m *PolicyRulesWithSubjects) String() string
func (*PolicyRulesWithSubjects) Unmarshal ¶
func (m *PolicyRulesWithSubjects) Unmarshal(dAtA []byte) error
func (*PolicyRulesWithSubjects) XXX_DiscardUnknown ¶
func (m *PolicyRulesWithSubjects) XXX_DiscardUnknown()
func (*PolicyRulesWithSubjects) XXX_Marshal ¶
func (m *PolicyRulesWithSubjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PolicyRulesWithSubjects) XXX_Merge ¶
func (m *PolicyRulesWithSubjects) XXX_Merge(src proto.Message)
func (*PolicyRulesWithSubjects) XXX_Size ¶
func (m *PolicyRulesWithSubjects) XXX_Size() int
func (*PolicyRulesWithSubjects) XXX_Unmarshal ¶
func (m *PolicyRulesWithSubjects) XXX_Unmarshal(b []byte) error
type PriorityLevelConfiguration ¶
type PriorityLevelConfiguration struct { // `metadata` is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // `spec` is the specification of the desired behavior of a "request-priority". // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional Spec *PriorityLevelConfigurationSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` // `status` is the current status of a "request-priority". // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional Status *PriorityLevelConfigurationStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PriorityLevelConfiguration represents the configuration of a priority level.
func (*PriorityLevelConfiguration) Descriptor ¶
func (*PriorityLevelConfiguration) Descriptor() ([]byte, []int)
func (*PriorityLevelConfiguration) GetMetadata ¶
func (m *PriorityLevelConfiguration) GetMetadata() *v1.ObjectMeta
func (*PriorityLevelConfiguration) GetSpec ¶
func (m *PriorityLevelConfiguration) GetSpec() *PriorityLevelConfigurationSpec
func (*PriorityLevelConfiguration) GetStatus ¶
func (m *PriorityLevelConfiguration) GetStatus() *PriorityLevelConfigurationStatus
func (*PriorityLevelConfiguration) Marshal ¶
func (m *PriorityLevelConfiguration) Marshal() (dAtA []byte, err error)
func (*PriorityLevelConfiguration) MarshalTo ¶
func (m *PriorityLevelConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*PriorityLevelConfiguration) MarshalToSizedBuffer ¶
func (m *PriorityLevelConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriorityLevelConfiguration) ProtoMessage ¶
func (*PriorityLevelConfiguration) ProtoMessage()
func (*PriorityLevelConfiguration) Reset ¶
func (m *PriorityLevelConfiguration) Reset()
func (*PriorityLevelConfiguration) Size ¶
func (m *PriorityLevelConfiguration) Size() (n int)
func (*PriorityLevelConfiguration) String ¶
func (m *PriorityLevelConfiguration) String() string
func (*PriorityLevelConfiguration) Unmarshal ¶
func (m *PriorityLevelConfiguration) Unmarshal(dAtA []byte) error
func (*PriorityLevelConfiguration) XXX_DiscardUnknown ¶
func (m *PriorityLevelConfiguration) XXX_DiscardUnknown()
func (*PriorityLevelConfiguration) XXX_Marshal ¶
func (m *PriorityLevelConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriorityLevelConfiguration) XXX_Merge ¶
func (m *PriorityLevelConfiguration) XXX_Merge(src proto.Message)
func (*PriorityLevelConfiguration) XXX_Size ¶
func (m *PriorityLevelConfiguration) XXX_Size() int
func (*PriorityLevelConfiguration) XXX_Unmarshal ¶
func (m *PriorityLevelConfiguration) XXX_Unmarshal(b []byte) error
type PriorityLevelConfigurationCondition ¶
type PriorityLevelConfigurationCondition struct { // `type` is the type of the condition. // Required. Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` // `status` is the status of the condition. // Can be True, False, Unknown. // Required. Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` // `lastTransitionTime` is the last time the condition transitioned from one status to another. LastTransitionTime *v1.Time `protobuf:"bytes,3,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"` // `reason` is a unique, one-word, CamelCase reason for the condition's last transition. Reason *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"` // `message` is a human-readable message indicating details about last transition. Message *string `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PriorityLevelConfigurationCondition defines the condition of priority level.
func (*PriorityLevelConfigurationCondition) Descriptor ¶
func (*PriorityLevelConfigurationCondition) Descriptor() ([]byte, []int)
func (*PriorityLevelConfigurationCondition) GetLastTransitionTime ¶
func (m *PriorityLevelConfigurationCondition) GetLastTransitionTime() *v1.Time
func (*PriorityLevelConfigurationCondition) GetMessage ¶
func (m *PriorityLevelConfigurationCondition) GetMessage() string
func (*PriorityLevelConfigurationCondition) GetReason ¶
func (m *PriorityLevelConfigurationCondition) GetReason() string
func (*PriorityLevelConfigurationCondition) GetStatus ¶
func (m *PriorityLevelConfigurationCondition) GetStatus() string
func (*PriorityLevelConfigurationCondition) GetType ¶
func (m *PriorityLevelConfigurationCondition) GetType() string
func (*PriorityLevelConfigurationCondition) Marshal ¶
func (m *PriorityLevelConfigurationCondition) Marshal() (dAtA []byte, err error)
func (*PriorityLevelConfigurationCondition) MarshalTo ¶
func (m *PriorityLevelConfigurationCondition) MarshalTo(dAtA []byte) (int, error)
func (*PriorityLevelConfigurationCondition) MarshalToSizedBuffer ¶
func (m *PriorityLevelConfigurationCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriorityLevelConfigurationCondition) ProtoMessage ¶
func (*PriorityLevelConfigurationCondition) ProtoMessage()
func (*PriorityLevelConfigurationCondition) Reset ¶
func (m *PriorityLevelConfigurationCondition) Reset()
func (*PriorityLevelConfigurationCondition) Size ¶
func (m *PriorityLevelConfigurationCondition) Size() (n int)
func (*PriorityLevelConfigurationCondition) String ¶
func (m *PriorityLevelConfigurationCondition) String() string
func (*PriorityLevelConfigurationCondition) Unmarshal ¶
func (m *PriorityLevelConfigurationCondition) Unmarshal(dAtA []byte) error
func (*PriorityLevelConfigurationCondition) XXX_DiscardUnknown ¶
func (m *PriorityLevelConfigurationCondition) XXX_DiscardUnknown()
func (*PriorityLevelConfigurationCondition) XXX_Marshal ¶
func (m *PriorityLevelConfigurationCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriorityLevelConfigurationCondition) XXX_Merge ¶
func (m *PriorityLevelConfigurationCondition) XXX_Merge(src proto.Message)
func (*PriorityLevelConfigurationCondition) XXX_Size ¶
func (m *PriorityLevelConfigurationCondition) XXX_Size() int
func (*PriorityLevelConfigurationCondition) XXX_Unmarshal ¶
func (m *PriorityLevelConfigurationCondition) XXX_Unmarshal(b []byte) error
type PriorityLevelConfigurationList ¶
type PriorityLevelConfigurationList struct { // `metadata` is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // `items` is a list of request-priorities. Items []*PriorityLevelConfiguration `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.
func (*PriorityLevelConfigurationList) Descriptor ¶
func (*PriorityLevelConfigurationList) Descriptor() ([]byte, []int)
func (*PriorityLevelConfigurationList) GetItems ¶
func (m *PriorityLevelConfigurationList) GetItems() []*PriorityLevelConfiguration
func (*PriorityLevelConfigurationList) GetMetadata ¶
func (m *PriorityLevelConfigurationList) GetMetadata() *v1.ListMeta
func (*PriorityLevelConfigurationList) Marshal ¶
func (m *PriorityLevelConfigurationList) Marshal() (dAtA []byte, err error)
func (*PriorityLevelConfigurationList) MarshalTo ¶
func (m *PriorityLevelConfigurationList) MarshalTo(dAtA []byte) (int, error)
func (*PriorityLevelConfigurationList) MarshalToSizedBuffer ¶
func (m *PriorityLevelConfigurationList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriorityLevelConfigurationList) ProtoMessage ¶
func (*PriorityLevelConfigurationList) ProtoMessage()
func (*PriorityLevelConfigurationList) Reset ¶
func (m *PriorityLevelConfigurationList) Reset()
func (*PriorityLevelConfigurationList) Size ¶
func (m *PriorityLevelConfigurationList) Size() (n int)
func (*PriorityLevelConfigurationList) String ¶
func (m *PriorityLevelConfigurationList) String() string
func (*PriorityLevelConfigurationList) Unmarshal ¶
func (m *PriorityLevelConfigurationList) Unmarshal(dAtA []byte) error
func (*PriorityLevelConfigurationList) XXX_DiscardUnknown ¶
func (m *PriorityLevelConfigurationList) XXX_DiscardUnknown()
func (*PriorityLevelConfigurationList) XXX_Marshal ¶
func (m *PriorityLevelConfigurationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriorityLevelConfigurationList) XXX_Merge ¶
func (m *PriorityLevelConfigurationList) XXX_Merge(src proto.Message)
func (*PriorityLevelConfigurationList) XXX_Size ¶
func (m *PriorityLevelConfigurationList) XXX_Size() int
func (*PriorityLevelConfigurationList) XXX_Unmarshal ¶
func (m *PriorityLevelConfigurationList) XXX_Unmarshal(b []byte) error
type PriorityLevelConfigurationReference ¶
type PriorityLevelConfigurationReference struct { // `name` is the name of the priority level configuration being referenced // Required. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PriorityLevelConfigurationReference contains information that points to the "request-priority" being used.
func (*PriorityLevelConfigurationReference) Descriptor ¶
func (*PriorityLevelConfigurationReference) Descriptor() ([]byte, []int)
func (*PriorityLevelConfigurationReference) GetName ¶
func (m *PriorityLevelConfigurationReference) GetName() string
func (*PriorityLevelConfigurationReference) Marshal ¶
func (m *PriorityLevelConfigurationReference) Marshal() (dAtA []byte, err error)
func (*PriorityLevelConfigurationReference) MarshalTo ¶
func (m *PriorityLevelConfigurationReference) MarshalTo(dAtA []byte) (int, error)
func (*PriorityLevelConfigurationReference) MarshalToSizedBuffer ¶
func (m *PriorityLevelConfigurationReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriorityLevelConfigurationReference) ProtoMessage ¶
func (*PriorityLevelConfigurationReference) ProtoMessage()
func (*PriorityLevelConfigurationReference) Reset ¶
func (m *PriorityLevelConfigurationReference) Reset()
func (*PriorityLevelConfigurationReference) Size ¶
func (m *PriorityLevelConfigurationReference) Size() (n int)
func (*PriorityLevelConfigurationReference) String ¶
func (m *PriorityLevelConfigurationReference) String() string
func (*PriorityLevelConfigurationReference) Unmarshal ¶
func (m *PriorityLevelConfigurationReference) Unmarshal(dAtA []byte) error
func (*PriorityLevelConfigurationReference) XXX_DiscardUnknown ¶
func (m *PriorityLevelConfigurationReference) XXX_DiscardUnknown()
func (*PriorityLevelConfigurationReference) XXX_Marshal ¶
func (m *PriorityLevelConfigurationReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriorityLevelConfigurationReference) XXX_Merge ¶
func (m *PriorityLevelConfigurationReference) XXX_Merge(src proto.Message)
func (*PriorityLevelConfigurationReference) XXX_Size ¶
func (m *PriorityLevelConfigurationReference) XXX_Size() int
func (*PriorityLevelConfigurationReference) XXX_Unmarshal ¶
func (m *PriorityLevelConfigurationReference) XXX_Unmarshal(b []byte) error
type PriorityLevelConfigurationSpec ¶
type PriorityLevelConfigurationSpec struct { // `type` indicates whether this priority level is subject to // limitation on request execution. A value of `"Exempt"` means // that requests of this priority level are not subject to a limit // (and thus are never queued) and do not detract from the // capacity made available to other priority levels. A value of // `"Limited"` means that (a) requests of this priority level // _are_ subject to limits and (b) some of the server's limited // capacity is made available exclusively to this priority level. // Required. // +unionDiscriminator Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` // `limited` specifies how requests are handled for a Limited priority level. // This field must be non-empty if and only if `type` is `"Limited"`. // +optional Limited *LimitedPriorityLevelConfiguration `protobuf:"bytes,2,opt,name=limited" json:"limited,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PriorityLevelConfigurationSpec specifies the configuration of a priority level. +union
func (*PriorityLevelConfigurationSpec) Descriptor ¶
func (*PriorityLevelConfigurationSpec) Descriptor() ([]byte, []int)
func (*PriorityLevelConfigurationSpec) GetLimited ¶
func (m *PriorityLevelConfigurationSpec) GetLimited() *LimitedPriorityLevelConfiguration
func (*PriorityLevelConfigurationSpec) GetType ¶
func (m *PriorityLevelConfigurationSpec) GetType() string
func (*PriorityLevelConfigurationSpec) Marshal ¶
func (m *PriorityLevelConfigurationSpec) Marshal() (dAtA []byte, err error)
func (*PriorityLevelConfigurationSpec) MarshalTo ¶
func (m *PriorityLevelConfigurationSpec) MarshalTo(dAtA []byte) (int, error)
func (*PriorityLevelConfigurationSpec) MarshalToSizedBuffer ¶
func (m *PriorityLevelConfigurationSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriorityLevelConfigurationSpec) ProtoMessage ¶
func (*PriorityLevelConfigurationSpec) ProtoMessage()
func (*PriorityLevelConfigurationSpec) Reset ¶
func (m *PriorityLevelConfigurationSpec) Reset()
func (*PriorityLevelConfigurationSpec) Size ¶
func (m *PriorityLevelConfigurationSpec) Size() (n int)
func (*PriorityLevelConfigurationSpec) String ¶
func (m *PriorityLevelConfigurationSpec) String() string
func (*PriorityLevelConfigurationSpec) Unmarshal ¶
func (m *PriorityLevelConfigurationSpec) Unmarshal(dAtA []byte) error
func (*PriorityLevelConfigurationSpec) XXX_DiscardUnknown ¶
func (m *PriorityLevelConfigurationSpec) XXX_DiscardUnknown()
func (*PriorityLevelConfigurationSpec) XXX_Marshal ¶
func (m *PriorityLevelConfigurationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriorityLevelConfigurationSpec) XXX_Merge ¶
func (m *PriorityLevelConfigurationSpec) XXX_Merge(src proto.Message)
func (*PriorityLevelConfigurationSpec) XXX_Size ¶
func (m *PriorityLevelConfigurationSpec) XXX_Size() int
func (*PriorityLevelConfigurationSpec) XXX_Unmarshal ¶
func (m *PriorityLevelConfigurationSpec) XXX_Unmarshal(b []byte) error
type PriorityLevelConfigurationStatus ¶
type PriorityLevelConfigurationStatus struct { // `conditions` is the current state of "request-priority". // +listType=map // +listMapKey=type // +optional Conditions []*PriorityLevelConfigurationCondition `protobuf:"bytes,1,rep,name=conditions" json:"conditions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PriorityLevelConfigurationStatus represents the current state of a "request-priority".
func (*PriorityLevelConfigurationStatus) Descriptor ¶
func (*PriorityLevelConfigurationStatus) Descriptor() ([]byte, []int)
func (*PriorityLevelConfigurationStatus) GetConditions ¶
func (m *PriorityLevelConfigurationStatus) GetConditions() []*PriorityLevelConfigurationCondition
func (*PriorityLevelConfigurationStatus) Marshal ¶
func (m *PriorityLevelConfigurationStatus) Marshal() (dAtA []byte, err error)
func (*PriorityLevelConfigurationStatus) MarshalTo ¶
func (m *PriorityLevelConfigurationStatus) MarshalTo(dAtA []byte) (int, error)
func (*PriorityLevelConfigurationStatus) MarshalToSizedBuffer ¶
func (m *PriorityLevelConfigurationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriorityLevelConfigurationStatus) ProtoMessage ¶
func (*PriorityLevelConfigurationStatus) ProtoMessage()
func (*PriorityLevelConfigurationStatus) Reset ¶
func (m *PriorityLevelConfigurationStatus) Reset()
func (*PriorityLevelConfigurationStatus) Size ¶
func (m *PriorityLevelConfigurationStatus) Size() (n int)
func (*PriorityLevelConfigurationStatus) String ¶
func (m *PriorityLevelConfigurationStatus) String() string
func (*PriorityLevelConfigurationStatus) Unmarshal ¶
func (m *PriorityLevelConfigurationStatus) Unmarshal(dAtA []byte) error
func (*PriorityLevelConfigurationStatus) XXX_DiscardUnknown ¶
func (m *PriorityLevelConfigurationStatus) XXX_DiscardUnknown()
func (*PriorityLevelConfigurationStatus) XXX_Marshal ¶
func (m *PriorityLevelConfigurationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriorityLevelConfigurationStatus) XXX_Merge ¶
func (m *PriorityLevelConfigurationStatus) XXX_Merge(src proto.Message)
func (*PriorityLevelConfigurationStatus) XXX_Size ¶
func (m *PriorityLevelConfigurationStatus) XXX_Size() int
func (*PriorityLevelConfigurationStatus) XXX_Unmarshal ¶
func (m *PriorityLevelConfigurationStatus) XXX_Unmarshal(b []byte) error
type QueuingConfiguration ¶
type QueuingConfiguration struct { // `queues` is the number of queues for this priority level. The // queues exist independently at each apiserver. The value must be // positive. Setting it to 1 effectively precludes // shufflesharding and thus makes the distinguisher method of // associated flow schemas irrelevant. This field has a default // value of 64. // +optional Queues *int32 `protobuf:"varint,1,opt,name=queues" json:"queues,omitempty"` // `handSize` is a small positive number that configures the // shuffle sharding of requests into queues. When enqueuing a request // at this priority level the request's flow identifier (a string // pair) is hashed and the hash value is used to shuffle the list // of queues and deal a hand of the size specified here. The // request is put into one of the shortest queues in that hand. // `handSize` must be no larger than `queues`, and should be // significantly smaller (so that a few heavy flows do not // saturate most of the queues). See the user-facing // documentation for more extensive guidance on setting this // field. This field has a default value of 8. // +optional HandSize *int32 `protobuf:"varint,2,opt,name=handSize" json:"handSize,omitempty"` // `queueLengthLimit` is the maximum number of requests allowed to // be waiting in a given queue of this priority level at a time; // excess requests are rejected. This value must be positive. If // not specified, it will be defaulted to 50. // +optional QueueLengthLimit *int32 `protobuf:"varint,3,opt,name=queueLengthLimit" json:"queueLengthLimit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
QueuingConfiguration holds the configuration parameters for queuing
func (*QueuingConfiguration) Descriptor ¶
func (*QueuingConfiguration) Descriptor() ([]byte, []int)
func (*QueuingConfiguration) GetHandSize ¶
func (m *QueuingConfiguration) GetHandSize() int32
func (*QueuingConfiguration) GetQueueLengthLimit ¶
func (m *QueuingConfiguration) GetQueueLengthLimit() int32
func (*QueuingConfiguration) GetQueues ¶
func (m *QueuingConfiguration) GetQueues() int32
func (*QueuingConfiguration) Marshal ¶
func (m *QueuingConfiguration) Marshal() (dAtA []byte, err error)
func (*QueuingConfiguration) MarshalTo ¶
func (m *QueuingConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*QueuingConfiguration) MarshalToSizedBuffer ¶
func (m *QueuingConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueuingConfiguration) ProtoMessage ¶
func (*QueuingConfiguration) ProtoMessage()
func (*QueuingConfiguration) Reset ¶
func (m *QueuingConfiguration) Reset()
func (*QueuingConfiguration) Size ¶
func (m *QueuingConfiguration) Size() (n int)
func (*QueuingConfiguration) String ¶
func (m *QueuingConfiguration) String() string
func (*QueuingConfiguration) Unmarshal ¶
func (m *QueuingConfiguration) Unmarshal(dAtA []byte) error
func (*QueuingConfiguration) XXX_DiscardUnknown ¶
func (m *QueuingConfiguration) XXX_DiscardUnknown()
func (*QueuingConfiguration) XXX_Marshal ¶
func (m *QueuingConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueuingConfiguration) XXX_Merge ¶
func (m *QueuingConfiguration) XXX_Merge(src proto.Message)
func (*QueuingConfiguration) XXX_Size ¶
func (m *QueuingConfiguration) XXX_Size() int
func (*QueuingConfiguration) XXX_Unmarshal ¶
func (m *QueuingConfiguration) XXX_Unmarshal(b []byte) error
type ResourcePolicyRule ¶
type ResourcePolicyRule struct { // `verbs` is a list of matching verbs and may not be empty. // "*" matches all verbs and, if present, must be the only entry. // +listType=set // Required. Verbs []string `protobuf:"bytes,1,rep,name=verbs" json:"verbs,omitempty"` // `apiGroups` is a list of matching API groups and may not be empty. // "*" matches all API groups and, if present, must be the only entry. // +listType=set // Required. ApiGroups []string `protobuf:"bytes,2,rep,name=apiGroups" json:"apiGroups,omitempty"` // `resources` is a list of matching resources (i.e., lowercase // and plural) with, if desired, subresource. For example, [ // "services", "nodes/status" ]. This list may not be empty. // "*" matches all resources and, if present, must be the only entry. // Required. // +listType=set Resources []string `protobuf:"bytes,3,rep,name=resources" json:"resources,omitempty"` // `clusterScope` indicates whether to match requests that do not // specify a namespace (which happens either because the resource // is not namespaced or the request targets all namespaces). // If this field is omitted or false then the `namespaces` field // must contain a non-empty list. // +optional ClusterScope *bool `protobuf:"varint,4,opt,name=clusterScope" json:"clusterScope,omitempty"` // `namespaces` is a list of target namespaces that restricts // matches. A request that specifies a target namespace matches // only if either (a) this list contains that target namespace or // (b) this list contains "*". Note that "*" matches any // specified namespace but does not match a request that _does // not specify_ a namespace (see the `clusterScope` field for // that). // This list may be empty, but only if `clusterScope` is true. // +optional // +listType=set Namespaces []string `protobuf:"bytes,5,rep,name=namespaces" json:"namespaces,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request.
func (*ResourcePolicyRule) Descriptor ¶
func (*ResourcePolicyRule) Descriptor() ([]byte, []int)
func (*ResourcePolicyRule) GetApiGroups ¶
func (m *ResourcePolicyRule) GetApiGroups() []string
func (*ResourcePolicyRule) GetClusterScope ¶
func (m *ResourcePolicyRule) GetClusterScope() bool
func (*ResourcePolicyRule) GetNamespaces ¶
func (m *ResourcePolicyRule) GetNamespaces() []string
func (*ResourcePolicyRule) GetResources ¶
func (m *ResourcePolicyRule) GetResources() []string
func (*ResourcePolicyRule) GetVerbs ¶
func (m *ResourcePolicyRule) GetVerbs() []string
func (*ResourcePolicyRule) Marshal ¶
func (m *ResourcePolicyRule) Marshal() (dAtA []byte, err error)
func (*ResourcePolicyRule) MarshalTo ¶
func (m *ResourcePolicyRule) MarshalTo(dAtA []byte) (int, error)
func (*ResourcePolicyRule) MarshalToSizedBuffer ¶
func (m *ResourcePolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourcePolicyRule) ProtoMessage ¶
func (*ResourcePolicyRule) ProtoMessage()
func (*ResourcePolicyRule) Reset ¶
func (m *ResourcePolicyRule) Reset()
func (*ResourcePolicyRule) Size ¶
func (m *ResourcePolicyRule) Size() (n int)
func (*ResourcePolicyRule) String ¶
func (m *ResourcePolicyRule) String() string
func (*ResourcePolicyRule) Unmarshal ¶
func (m *ResourcePolicyRule) Unmarshal(dAtA []byte) error
func (*ResourcePolicyRule) XXX_DiscardUnknown ¶
func (m *ResourcePolicyRule) XXX_DiscardUnknown()
func (*ResourcePolicyRule) XXX_Marshal ¶
func (m *ResourcePolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourcePolicyRule) XXX_Merge ¶
func (m *ResourcePolicyRule) XXX_Merge(src proto.Message)
func (*ResourcePolicyRule) XXX_Size ¶
func (m *ResourcePolicyRule) XXX_Size() int
func (*ResourcePolicyRule) XXX_Unmarshal ¶
func (m *ResourcePolicyRule) XXX_Unmarshal(b []byte) error
type ServiceAccountSubject ¶
type ServiceAccountSubject struct { // `namespace` is the namespace of matching ServiceAccount objects. // Required. Namespace *string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"` // `name` is the name of matching ServiceAccount objects, or "*" to match regardless of name. // Required. Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ServiceAccountSubject holds detailed information for service-account-kind subject.
func (*ServiceAccountSubject) Descriptor ¶
func (*ServiceAccountSubject) Descriptor() ([]byte, []int)
func (*ServiceAccountSubject) GetName ¶
func (m *ServiceAccountSubject) GetName() string
func (*ServiceAccountSubject) GetNamespace ¶
func (m *ServiceAccountSubject) GetNamespace() string
func (*ServiceAccountSubject) Marshal ¶
func (m *ServiceAccountSubject) Marshal() (dAtA []byte, err error)
func (*ServiceAccountSubject) MarshalTo ¶
func (m *ServiceAccountSubject) MarshalTo(dAtA []byte) (int, error)
func (*ServiceAccountSubject) MarshalToSizedBuffer ¶
func (m *ServiceAccountSubject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServiceAccountSubject) ProtoMessage ¶
func (*ServiceAccountSubject) ProtoMessage()
func (*ServiceAccountSubject) Reset ¶
func (m *ServiceAccountSubject) Reset()
func (*ServiceAccountSubject) Size ¶
func (m *ServiceAccountSubject) Size() (n int)
func (*ServiceAccountSubject) String ¶
func (m *ServiceAccountSubject) String() string
func (*ServiceAccountSubject) Unmarshal ¶
func (m *ServiceAccountSubject) Unmarshal(dAtA []byte) error
func (*ServiceAccountSubject) XXX_DiscardUnknown ¶
func (m *ServiceAccountSubject) XXX_DiscardUnknown()
func (*ServiceAccountSubject) XXX_Marshal ¶
func (m *ServiceAccountSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceAccountSubject) XXX_Merge ¶
func (m *ServiceAccountSubject) XXX_Merge(src proto.Message)
func (*ServiceAccountSubject) XXX_Size ¶
func (m *ServiceAccountSubject) XXX_Size() int
func (*ServiceAccountSubject) XXX_Unmarshal ¶
func (m *ServiceAccountSubject) XXX_Unmarshal(b []byte) error
type Subject ¶
type Subject struct { // Required // +unionDiscriminator Kind *string `protobuf:"bytes,1,opt,name=kind" json:"kind,omitempty"` // +optional User *UserSubject `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"` // +optional Group *GroupSubject `protobuf:"bytes,3,opt,name=group" json:"group,omitempty"` // +optional ServiceAccount *ServiceAccountSubject `protobuf:"bytes,4,opt,name=serviceAccount" json:"serviceAccount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account. +union
func (*Subject) Descriptor ¶
func (*Subject) GetGroup ¶
func (m *Subject) GetGroup() *GroupSubject
func (*Subject) GetServiceAccount ¶
func (m *Subject) GetServiceAccount() *ServiceAccountSubject
func (*Subject) GetUser ¶
func (m *Subject) GetUser() *UserSubject
func (*Subject) MarshalToSizedBuffer ¶
func (*Subject) ProtoMessage ¶
func (*Subject) ProtoMessage()
func (*Subject) XXX_DiscardUnknown ¶
func (m *Subject) XXX_DiscardUnknown()
func (*Subject) XXX_Marshal ¶
func (*Subject) XXX_Unmarshal ¶
type UserSubject ¶
type UserSubject struct { // `name` is the username that matches, or "*" to match all usernames. // Required. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UserSubject holds detailed information for user-kind subject.
func (*UserSubject) Descriptor ¶
func (*UserSubject) Descriptor() ([]byte, []int)
func (*UserSubject) GetName ¶
func (m *UserSubject) GetName() string
func (*UserSubject) Marshal ¶
func (m *UserSubject) Marshal() (dAtA []byte, err error)
func (*UserSubject) MarshalToSizedBuffer ¶
func (m *UserSubject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserSubject) ProtoMessage ¶
func (*UserSubject) ProtoMessage()
func (*UserSubject) Reset ¶
func (m *UserSubject) Reset()
func (*UserSubject) Size ¶
func (m *UserSubject) Size() (n int)
func (*UserSubject) String ¶
func (m *UserSubject) String() string
func (*UserSubject) Unmarshal ¶
func (m *UserSubject) Unmarshal(dAtA []byte) error
func (*UserSubject) XXX_DiscardUnknown ¶
func (m *UserSubject) XXX_DiscardUnknown()
func (*UserSubject) XXX_Marshal ¶
func (m *UserSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserSubject) XXX_Merge ¶
func (m *UserSubject) XXX_Merge(src proto.Message)
func (*UserSubject) XXX_Size ¶
func (m *UserSubject) XXX_Size() int
func (*UserSubject) XXX_Unmarshal ¶
func (m *UserSubject) XXX_Unmarshal(b []byte) error