Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AggregationRule
- func (o *AggregationRule) GetClusterRoleSelectors() []LabelSelector
- func (o *AggregationRule) GetClusterRoleSelectorsOk() ([]LabelSelector, bool)
- func (o *AggregationRule) HasClusterRoleSelectors() bool
- func (o AggregationRule) MarshalJSON() ([]byte, error)
- func (o *AggregationRule) SetClusterRoleSelectors(v []LabelSelector)
- type ApiGetFeaturesRequest
- type ApiIngestInstanceRBACRequest
- type ApiIngestScopeRBACRequest
- type BasicAuth
- type ClusterRole
- func (o *ClusterRole) GetAggregationRule() AggregationRule
- func (o *ClusterRole) GetAggregationRuleOk() (*AggregationRule, bool)
- func (o *ClusterRole) GetKind() string
- func (o *ClusterRole) GetKindOk() (*string, bool)
- func (o *ClusterRole) GetMetadata() ObjectMeta
- func (o *ClusterRole) GetMetadataOk() (*ObjectMeta, bool)
- func (o *ClusterRole) GetRules() []PolicyRule
- func (o *ClusterRole) GetRulesOk() ([]PolicyRule, bool)
- func (o *ClusterRole) HasAggregationRule() bool
- func (o *ClusterRole) HasRules() bool
- func (o ClusterRole) MarshalJSON() ([]byte, error)
- func (o *ClusterRole) SetAggregationRule(v AggregationRule)
- func (o *ClusterRole) SetKind(v string)
- func (o *ClusterRole) SetMetadata(v ObjectMeta)
- func (o *ClusterRole) SetRules(v []PolicyRule)
- type ClusterRoleBinding
- func (o *ClusterRoleBinding) GetKind() string
- func (o *ClusterRoleBinding) GetKindOk() (*string, bool)
- func (o *ClusterRoleBinding) GetMetadata() ObjectMeta
- func (o *ClusterRoleBinding) GetMetadataOk() (*ObjectMeta, bool)
- func (o *ClusterRoleBinding) GetRoleRef() RoleRef
- func (o *ClusterRoleBinding) GetRoleRefOk() (*RoleRef, bool)
- func (o *ClusterRoleBinding) GetSubjects() []Subject
- func (o *ClusterRoleBinding) GetSubjectsOk() ([]Subject, bool)
- func (o *ClusterRoleBinding) HasSubjects() bool
- func (o ClusterRoleBinding) MarshalJSON() ([]byte, error)
- func (o *ClusterRoleBinding) SetKind(v string)
- func (o *ClusterRoleBinding) SetMetadata(v ObjectMeta)
- func (o *ClusterRoleBinding) SetRoleRef(v RoleRef)
- func (o *ClusterRoleBinding) SetSubjects(v []Subject)
- type Configuration
- type CreateRbacData
- func (o *CreateRbacData) GetResource() RbacData
- func (o *CreateRbacData) GetResourceOk() (*RbacData, bool)
- func (o *CreateRbacData) GetType() string
- func (o *CreateRbacData) GetTypeOk() (*string, bool)
- func (o CreateRbacData) MarshalJSON() ([]byte, error)
- func (o *CreateRbacData) SetResource(v RbacData)
- func (o *CreateRbacData) SetType(v string)
- type DeleteRbacData
- func (o *DeleteRbacData) GetType() string
- func (o *DeleteRbacData) GetTypeOk() (*string, bool)
- func (o *DeleteRbacData) GetUid() string
- func (o *DeleteRbacData) GetUidOk() (*string, bool)
- func (o DeleteRbacData) MarshalJSON() ([]byte, error)
- func (o *DeleteRbacData) SetType(v string)
- func (o *DeleteRbacData) SetUid(v string)
- type FeaturesAPI
- type FeaturesAPIMock
- type FeaturesAPIService
- type GenericOpenAPIError
- type GetFeaturesCall
- type GetFeaturesMockResponse
- type IngestInstanceRBACCall
- type IngestInstanceRBACMockResponse
- type IngestScopeRBACCall
- type IngestScopeRBACMockResponse
- type LabelSelector
- func (o *LabelSelector) GetMatchExpressions() []LabelSelectorRequirement
- func (o *LabelSelector) GetMatchExpressionsOk() ([]LabelSelectorRequirement, bool)
- func (o *LabelSelector) GetMatchLabels() map[string]string
- func (o *LabelSelector) GetMatchLabelsOk() (*map[string]string, bool)
- func (o *LabelSelector) HasMatchExpressions() bool
- func (o *LabelSelector) HasMatchLabels() bool
- func (o LabelSelector) MarshalJSON() ([]byte, error)
- func (o *LabelSelector) SetMatchExpressions(v []LabelSelectorRequirement)
- func (o *LabelSelector) SetMatchLabels(v map[string]string)
- type LabelSelectorRequirement
- func (o *LabelSelectorRequirement) GetKey() string
- func (o *LabelSelectorRequirement) GetKeyOk() (*string, bool)
- func (o *LabelSelectorRequirement) GetOperator() string
- func (o *LabelSelectorRequirement) GetOperatorOk() (*string, bool)
- func (o *LabelSelectorRequirement) GetValues() []string
- func (o *LabelSelectorRequirement) GetValuesOk() ([]string, bool)
- func (o *LabelSelectorRequirement) HasValues() bool
- func (o LabelSelectorRequirement) MarshalJSON() ([]byte, error)
- func (o *LabelSelectorRequirement) SetKey(v string)
- func (o *LabelSelectorRequirement) SetOperator(v string)
- func (o *LabelSelectorRequirement) SetValues(v []string)
- type ManagedFieldsEntry
- func (o *ManagedFieldsEntry) GetApiVersion() string
- func (o *ManagedFieldsEntry) GetApiVersionOk() (*string, bool)
- func (o *ManagedFieldsEntry) GetFieldsType() string
- func (o *ManagedFieldsEntry) GetFieldsTypeOk() (*string, bool)
- func (o *ManagedFieldsEntry) GetManager() string
- func (o *ManagedFieldsEntry) GetManagerOk() (*string, bool)
- func (o *ManagedFieldsEntry) GetOperation() string
- func (o *ManagedFieldsEntry) GetOperationOk() (*string, bool)
- func (o *ManagedFieldsEntry) GetSubresource() string
- func (o *ManagedFieldsEntry) GetSubresourceOk() (*string, bool)
- func (o *ManagedFieldsEntry) GetTime() time.Time
- func (o *ManagedFieldsEntry) GetTimeOk() (*time.Time, bool)
- func (o *ManagedFieldsEntry) HasApiVersion() bool
- func (o *ManagedFieldsEntry) HasFieldsType() bool
- func (o *ManagedFieldsEntry) HasManager() bool
- func (o *ManagedFieldsEntry) HasOperation() bool
- func (o *ManagedFieldsEntry) HasSubresource() bool
- func (o *ManagedFieldsEntry) HasTime() bool
- func (o ManagedFieldsEntry) MarshalJSON() ([]byte, error)
- func (o *ManagedFieldsEntry) SetApiVersion(v string)
- func (o *ManagedFieldsEntry) SetFieldsType(v string)
- func (o *ManagedFieldsEntry) SetManager(v string)
- func (o *ManagedFieldsEntry) SetOperation(v string)
- func (o *ManagedFieldsEntry) SetSubresource(v string)
- func (o *ManagedFieldsEntry) SetTime(v time.Time)
- type NullableAggregationRule
- func (v NullableAggregationRule) Get() *AggregationRule
- func (v NullableAggregationRule) IsSet() bool
- func (v NullableAggregationRule) MarshalJSON() ([]byte, error)
- func (v *NullableAggregationRule) Set(val *AggregationRule)
- func (v *NullableAggregationRule) UnmarshalJSON(src []byte) error
- func (v *NullableAggregationRule) Unset()
- type NullableBool
- type NullableClusterRole
- func (v NullableClusterRole) Get() *ClusterRole
- func (v NullableClusterRole) IsSet() bool
- func (v NullableClusterRole) MarshalJSON() ([]byte, error)
- func (v *NullableClusterRole) Set(val *ClusterRole)
- func (v *NullableClusterRole) UnmarshalJSON(src []byte) error
- func (v *NullableClusterRole) Unset()
- type NullableClusterRoleBinding
- func (v NullableClusterRoleBinding) Get() *ClusterRoleBinding
- func (v NullableClusterRoleBinding) IsSet() bool
- func (v NullableClusterRoleBinding) MarshalJSON() ([]byte, error)
- func (v *NullableClusterRoleBinding) Set(val *ClusterRoleBinding)
- func (v *NullableClusterRoleBinding) UnmarshalJSON(src []byte) error
- func (v *NullableClusterRoleBinding) Unset()
- type NullableCreateRbacData
- func (v NullableCreateRbacData) Get() *CreateRbacData
- func (v NullableCreateRbacData) IsSet() bool
- func (v NullableCreateRbacData) MarshalJSON() ([]byte, error)
- func (v *NullableCreateRbacData) Set(val *CreateRbacData)
- func (v *NullableCreateRbacData) UnmarshalJSON(src []byte) error
- func (v *NullableCreateRbacData) Unset()
- type NullableDeleteRbacData
- func (v NullableDeleteRbacData) Get() *DeleteRbacData
- func (v NullableDeleteRbacData) IsSet() bool
- func (v NullableDeleteRbacData) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteRbacData) Set(val *DeleteRbacData)
- func (v *NullableDeleteRbacData) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteRbacData) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLabelSelector
- func (v NullableLabelSelector) Get() *LabelSelector
- func (v NullableLabelSelector) IsSet() bool
- func (v NullableLabelSelector) MarshalJSON() ([]byte, error)
- func (v *NullableLabelSelector) Set(val *LabelSelector)
- func (v *NullableLabelSelector) UnmarshalJSON(src []byte) error
- func (v *NullableLabelSelector) Unset()
- type NullableLabelSelectorRequirement
- func (v NullableLabelSelectorRequirement) Get() *LabelSelectorRequirement
- func (v NullableLabelSelectorRequirement) IsSet() bool
- func (v NullableLabelSelectorRequirement) MarshalJSON() ([]byte, error)
- func (v *NullableLabelSelectorRequirement) Set(val *LabelSelectorRequirement)
- func (v *NullableLabelSelectorRequirement) UnmarshalJSON(src []byte) error
- func (v *NullableLabelSelectorRequirement) Unset()
- type NullableManagedFieldsEntry
- func (v NullableManagedFieldsEntry) Get() *ManagedFieldsEntry
- func (v NullableManagedFieldsEntry) IsSet() bool
- func (v NullableManagedFieldsEntry) MarshalJSON() ([]byte, error)
- func (v *NullableManagedFieldsEntry) Set(val *ManagedFieldsEntry)
- func (v *NullableManagedFieldsEntry) UnmarshalJSON(src []byte) error
- func (v *NullableManagedFieldsEntry) Unset()
- type NullableObjectMeta
- type NullableOwnerReference
- func (v NullableOwnerReference) Get() *OwnerReference
- func (v NullableOwnerReference) IsSet() bool
- func (v NullableOwnerReference) MarshalJSON() ([]byte, error)
- func (v *NullableOwnerReference) Set(val *OwnerReference)
- func (v *NullableOwnerReference) UnmarshalJSON(src []byte) error
- func (v *NullableOwnerReference) Unset()
- type NullablePolicyRule
- type NullableRBACIncrementRequest
- func (v NullableRBACIncrementRequest) Get() *RBACIncrementRequest
- func (v NullableRBACIncrementRequest) IsSet() bool
- func (v NullableRBACIncrementRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRBACIncrementRequest) Set(val *RBACIncrementRequest)
- func (v *NullableRBACIncrementRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRBACIncrementRequest) Unset()
- type NullableRBACRequest
- func (v NullableRBACRequest) Get() *RBACRequest
- func (v NullableRBACRequest) IsSet() bool
- func (v NullableRBACRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRBACRequest) Set(val *RBACRequest)
- func (v *NullableRBACRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRBACRequest) Unset()
- type NullableRBACResponseError
- func (v NullableRBACResponseError) Get() *RBACResponseError
- func (v NullableRBACResponseError) IsSet() bool
- func (v NullableRBACResponseError) MarshalJSON() ([]byte, error)
- func (v *NullableRBACResponseError) Set(val *RBACResponseError)
- func (v *NullableRBACResponseError) UnmarshalJSON(src []byte) error
- func (v *NullableRBACResponseError) Unset()
- type NullableRBACSnapshotRequest
- func (v NullableRBACSnapshotRequest) Get() *RBACSnapshotRequest
- func (v NullableRBACSnapshotRequest) IsSet() bool
- func (v NullableRBACSnapshotRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRBACSnapshotRequest) Set(val *RBACSnapshotRequest)
- func (v *NullableRBACSnapshotRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRBACSnapshotRequest) Unset()
- type NullableRbacData
- type NullableRbacDataChanges
- func (v NullableRbacDataChanges) Get() *RbacDataChanges
- func (v NullableRbacDataChanges) IsSet() bool
- func (v NullableRbacDataChanges) MarshalJSON() ([]byte, error)
- func (v *NullableRbacDataChanges) Set(val *RbacDataChanges)
- func (v *NullableRbacDataChanges) UnmarshalJSON(src []byte) error
- func (v *NullableRbacDataChanges) Unset()
- type NullableRole
- type NullableRoleBinding
- func (v NullableRoleBinding) Get() *RoleBinding
- func (v NullableRoleBinding) IsSet() bool
- func (v NullableRoleBinding) MarshalJSON() ([]byte, error)
- func (v *NullableRoleBinding) Set(val *RoleBinding)
- func (v *NullableRoleBinding) UnmarshalJSON(src []byte) error
- func (v *NullableRoleBinding) Unset()
- type NullableRoleRef
- type NullableStartSnapshot
- func (v NullableStartSnapshot) Get() *StartSnapshot
- func (v NullableStartSnapshot) IsSet() bool
- func (v NullableStartSnapshot) MarshalJSON() ([]byte, error)
- func (v *NullableStartSnapshot) Set(val *StartSnapshot)
- func (v *NullableStartSnapshot) UnmarshalJSON(src []byte) error
- func (v *NullableStartSnapshot) Unset()
- type NullableString
- type NullableSubject
- type NullableTime
- type NullableUpdateRbacData
- func (v NullableUpdateRbacData) Get() *UpdateRbacData
- func (v NullableUpdateRbacData) IsSet() bool
- func (v NullableUpdateRbacData) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateRbacData) Set(val *UpdateRbacData)
- func (v *NullableUpdateRbacData) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateRbacData) Unset()
- type ObjectMeta
- func (o *ObjectMeta) GetAnnotations() map[string]string
- func (o *ObjectMeta) GetAnnotationsOk() (*map[string]string, bool)
- func (o *ObjectMeta) GetCreationTimestamp() time.Time
- func (o *ObjectMeta) GetCreationTimestampOk() (*time.Time, bool)
- func (o *ObjectMeta) GetDeletionGracePeriodSeconds() int64
- func (o *ObjectMeta) GetDeletionGracePeriodSecondsOk() (*int64, bool)
- func (o *ObjectMeta) GetDeletionTimestamp() time.Time
- func (o *ObjectMeta) GetDeletionTimestampOk() (*time.Time, bool)
- func (o *ObjectMeta) GetFinalizers() []string
- func (o *ObjectMeta) GetFinalizersOk() ([]string, bool)
- func (o *ObjectMeta) GetGenerateName() string
- func (o *ObjectMeta) GetGenerateNameOk() (*string, bool)
- func (o *ObjectMeta) GetGeneration() int64
- func (o *ObjectMeta) GetGenerationOk() (*int64, bool)
- func (o *ObjectMeta) GetLabels() map[string]string
- func (o *ObjectMeta) GetLabelsOk() (*map[string]string, bool)
- func (o *ObjectMeta) GetManagedFields() []ManagedFieldsEntry
- func (o *ObjectMeta) GetManagedFieldsOk() ([]ManagedFieldsEntry, bool)
- func (o *ObjectMeta) GetName() string
- func (o *ObjectMeta) GetNameOk() (*string, bool)
- func (o *ObjectMeta) GetNamespace() string
- func (o *ObjectMeta) GetNamespaceOk() (*string, bool)
- func (o *ObjectMeta) GetOwnerReferences() []OwnerReference
- func (o *ObjectMeta) GetOwnerReferencesOk() ([]OwnerReference, bool)
- func (o *ObjectMeta) GetResourceVersion() string
- func (o *ObjectMeta) GetResourceVersionOk() (*string, bool)
- func (o *ObjectMeta) GetUid() string
- func (o *ObjectMeta) GetUidOk() (*string, bool)
- func (o *ObjectMeta) HasAnnotations() bool
- func (o *ObjectMeta) HasCreationTimestamp() bool
- func (o *ObjectMeta) HasDeletionGracePeriodSeconds() bool
- func (o *ObjectMeta) HasDeletionTimestamp() bool
- func (o *ObjectMeta) HasFinalizers() bool
- func (o *ObjectMeta) HasGenerateName() bool
- func (o *ObjectMeta) HasGeneration() bool
- func (o *ObjectMeta) HasLabels() bool
- func (o *ObjectMeta) HasManagedFields() bool
- func (o *ObjectMeta) HasNamespace() bool
- func (o *ObjectMeta) HasOwnerReferences() bool
- func (o *ObjectMeta) HasResourceVersion() bool
- func (o ObjectMeta) MarshalJSON() ([]byte, error)
- func (o *ObjectMeta) SetAnnotations(v map[string]string)
- func (o *ObjectMeta) SetCreationTimestamp(v time.Time)
- func (o *ObjectMeta) SetDeletionGracePeriodSeconds(v int64)
- func (o *ObjectMeta) SetDeletionTimestamp(v time.Time)
- func (o *ObjectMeta) SetFinalizers(v []string)
- func (o *ObjectMeta) SetGenerateName(v string)
- func (o *ObjectMeta) SetGeneration(v int64)
- func (o *ObjectMeta) SetLabels(v map[string]string)
- func (o *ObjectMeta) SetManagedFields(v []ManagedFieldsEntry)
- func (o *ObjectMeta) SetName(v string)
- func (o *ObjectMeta) SetNamespace(v string)
- func (o *ObjectMeta) SetOwnerReferences(v []OwnerReference)
- func (o *ObjectMeta) SetResourceVersion(v string)
- func (o *ObjectMeta) SetUid(v string)
- type OwnerReference
- func (o *OwnerReference) GetBlockOwnerDeletion() bool
- func (o *OwnerReference) GetBlockOwnerDeletionOk() (*bool, bool)
- func (o *OwnerReference) GetController() bool
- func (o *OwnerReference) GetControllerOk() (*bool, bool)
- func (o *OwnerReference) GetKind() string
- func (o *OwnerReference) GetKindOk() (*string, bool)
- func (o *OwnerReference) GetName() string
- func (o *OwnerReference) GetNameOk() (*string, bool)
- func (o *OwnerReference) GetUid() string
- func (o *OwnerReference) GetUidOk() (*string, bool)
- func (o *OwnerReference) HasBlockOwnerDeletion() bool
- func (o *OwnerReference) HasController() bool
- func (o OwnerReference) MarshalJSON() ([]byte, error)
- func (o *OwnerReference) SetBlockOwnerDeletion(v bool)
- func (o *OwnerReference) SetController(v bool)
- func (o *OwnerReference) SetKind(v string)
- func (o *OwnerReference) SetName(v string)
- func (o *OwnerReference) SetUid(v string)
- type PolicyRule
- func (o *PolicyRule) GetApiGroups() []string
- func (o *PolicyRule) GetApiGroupsOk() ([]string, bool)
- func (o *PolicyRule) GetNonResourceURLs() []string
- func (o *PolicyRule) GetNonResourceURLsOk() ([]string, bool)
- func (o *PolicyRule) GetResourceNames() []string
- func (o *PolicyRule) GetResourceNamesOk() ([]string, bool)
- func (o *PolicyRule) GetResources() []string
- func (o *PolicyRule) GetResourcesOk() ([]string, bool)
- func (o *PolicyRule) GetVerbs() []string
- func (o *PolicyRule) GetVerbsOk() ([]string, bool)
- func (o *PolicyRule) HasApiGroups() bool
- func (o *PolicyRule) HasNonResourceURLs() bool
- func (o *PolicyRule) HasResourceNames() bool
- func (o *PolicyRule) HasResources() bool
- func (o PolicyRule) MarshalJSON() ([]byte, error)
- func (o *PolicyRule) SetApiGroups(v []string)
- func (o *PolicyRule) SetNonResourceURLs(v []string)
- func (o *PolicyRule) SetResourceNames(v []string)
- func (o *PolicyRule) SetResources(v []string)
- func (o *PolicyRule) SetVerbs(v []string)
- type RBACIncrementRequest
- func (o *RBACIncrementRequest) GetChanges() []RbacDataChanges
- func (o *RBACIncrementRequest) GetChangesOk() ([]RbacDataChanges, bool)
- func (o *RBACIncrementRequest) GetCluster() string
- func (o *RBACIncrementRequest) GetClusterOk() (*string, bool)
- func (o *RBACIncrementRequest) GetCollectionTimestamp() int64
- func (o *RBACIncrementRequest) GetCollectionTimestampOk() (*int64, bool)
- func (o *RBACIncrementRequest) GetType() string
- func (o *RBACIncrementRequest) GetTypeOk() (*string, bool)
- func (o RBACIncrementRequest) MarshalJSON() ([]byte, error)
- func (o *RBACIncrementRequest) SetChanges(v []RbacDataChanges)
- func (o *RBACIncrementRequest) SetCluster(v string)
- func (o *RBACIncrementRequest) SetCollectionTimestamp(v int64)
- func (o *RBACIncrementRequest) SetType(v string)
- type RBACRequest
- type RBACResponseError
- func (o *RBACResponseError) GetMessage() string
- func (o *RBACResponseError) GetMessageOk() (*string, bool)
- func (o *RBACResponseError) GetType() string
- func (o *RBACResponseError) GetTypeOk() (*string, bool)
- func (o RBACResponseError) MarshalJSON() ([]byte, error)
- func (o *RBACResponseError) SetMessage(v string)
- func (o *RBACResponseError) SetType(v string)
- type RBACSnapshotRequest
- func (o *RBACSnapshotRequest) GetCluster() string
- func (o *RBACSnapshotRequest) GetClusterOk() (*string, bool)
- func (o *RBACSnapshotRequest) GetCollectionTimestamp() int64
- func (o *RBACSnapshotRequest) GetCollectionTimestampOk() (*int64, bool)
- func (o *RBACSnapshotRequest) GetRbacData() []RbacData
- func (o *RBACSnapshotRequest) GetRbacDataOk() ([]RbacData, bool)
- func (o *RBACSnapshotRequest) GetSequence() int32
- func (o *RBACSnapshotRequest) GetSequenceOk() (*int32, bool)
- func (o *RBACSnapshotRequest) GetStartSnapshot() StartSnapshot
- func (o *RBACSnapshotRequest) GetStartSnapshotOk() (*StartSnapshot, bool)
- func (o *RBACSnapshotRequest) GetStopSnapshot() map[string]interface{}
- func (o *RBACSnapshotRequest) GetStopSnapshotOk() (map[string]interface{}, bool)
- func (o *RBACSnapshotRequest) GetType() string
- func (o *RBACSnapshotRequest) GetTypeOk() (*string, bool)
- func (o *RBACSnapshotRequest) HasStartSnapshot() bool
- func (o *RBACSnapshotRequest) HasStopSnapshot() bool
- func (o RBACSnapshotRequest) MarshalJSON() ([]byte, error)
- func (o *RBACSnapshotRequest) SetCluster(v string)
- func (o *RBACSnapshotRequest) SetCollectionTimestamp(v int64)
- func (o *RBACSnapshotRequest) SetRbacData(v []RbacData)
- func (o *RBACSnapshotRequest) SetSequence(v int32)
- func (o *RBACSnapshotRequest) SetStartSnapshot(v StartSnapshot)
- func (o *RBACSnapshotRequest) SetStopSnapshot(v map[string]interface{})
- func (o *RBACSnapshotRequest) SetType(v string)
- type RbacData
- type RbacDataChanges
- type ReceiverRbacInstanceAPI
- type ReceiverRbacInstanceAPIMock
- type ReceiverRbacInstanceAPIService
- type ReceiverRbacScopeAPI
- type ReceiverRbacScopeAPIMock
- type ReceiverRbacScopeAPIService
- type Role
- func (o *Role) GetKind() string
- func (o *Role) GetKindOk() (*string, bool)
- func (o *Role) GetMetadata() ObjectMeta
- func (o *Role) GetMetadataOk() (*ObjectMeta, bool)
- func (o *Role) GetRules() []PolicyRule
- func (o *Role) GetRulesOk() ([]PolicyRule, bool)
- func (o *Role) HasRules() bool
- func (o Role) MarshalJSON() ([]byte, error)
- func (o *Role) SetKind(v string)
- func (o *Role) SetMetadata(v ObjectMeta)
- func (o *Role) SetRules(v []PolicyRule)
- type RoleBinding
- func (o *RoleBinding) GetKind() string
- func (o *RoleBinding) GetKindOk() (*string, bool)
- func (o *RoleBinding) GetMetadata() ObjectMeta
- func (o *RoleBinding) GetMetadataOk() (*ObjectMeta, bool)
- func (o *RoleBinding) GetRoleRef() RoleRef
- func (o *RoleBinding) GetRoleRefOk() (*RoleRef, bool)
- func (o *RoleBinding) GetSubjects() []Subject
- func (o *RoleBinding) GetSubjectsOk() ([]Subject, bool)
- func (o *RoleBinding) HasSubjects() bool
- func (o RoleBinding) MarshalJSON() ([]byte, error)
- func (o *RoleBinding) SetKind(v string)
- func (o *RoleBinding) SetMetadata(v ObjectMeta)
- func (o *RoleBinding) SetRoleRef(v RoleRef)
- func (o *RoleBinding) SetSubjects(v []Subject)
- type RoleRef
- func (o *RoleRef) GetApiGroup() string
- func (o *RoleRef) GetApiGroupOk() (*string, bool)
- func (o *RoleRef) GetKind() string
- func (o *RoleRef) GetKindOk() (*string, bool)
- func (o *RoleRef) GetName() string
- func (o *RoleRef) GetNameOk() (*string, bool)
- func (o RoleRef) MarshalJSON() ([]byte, error)
- func (o *RoleRef) SetApiGroup(v string)
- func (o *RoleRef) SetKind(v string)
- func (o *RoleRef) SetName(v string)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type StartSnapshot
- type Subject
- func (o *Subject) GetApiGroup() string
- func (o *Subject) GetApiGroupOk() (*string, bool)
- func (o *Subject) GetKind() string
- func (o *Subject) GetKindOk() (*string, bool)
- func (o *Subject) GetName() string
- func (o *Subject) GetNameOk() (*string, bool)
- func (o *Subject) GetNamespace() string
- func (o *Subject) GetNamespaceOk() (*string, bool)
- func (o *Subject) HasApiGroup() bool
- func (o *Subject) HasNamespace() bool
- func (o Subject) MarshalJSON() ([]byte, error)
- func (o *Subject) SetApiGroup(v string)
- func (o *Subject) SetKind(v string)
- func (o *Subject) SetName(v string)
- func (o *Subject) SetNamespace(v string)
- type UpdateRbacData
- func (o *UpdateRbacData) GetResource() RbacData
- func (o *UpdateRbacData) GetResourceOk() (*RbacData, bool)
- func (o *UpdateRbacData) GetType() string
- func (o *UpdateRbacData) GetTypeOk() (*string, bool)
- func (o UpdateRbacData) MarshalJSON() ([]byte, error)
- func (o *UpdateRbacData) SetResource(v RbacData)
- func (o *UpdateRbacData) SetType(v string)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { FeaturesAPI FeaturesAPI ReceiverRbacInstanceAPI ReceiverRbacInstanceAPI ReceiverRbacScopeAPI ReceiverRbacScopeAPI // contains filtered or unexported fields }
APIClient manages communication with the SUSE Observability Receiver API API v5.2.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AggregationRule ¶
type AggregationRule struct { // ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added. ClusterRoleSelectors []LabelSelector `json:"clusterRoleSelectors,omitempty"` }
AggregationRule AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole.
func NewAggregationRule ¶
func NewAggregationRule() *AggregationRule
NewAggregationRule instantiates a new AggregationRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAggregationRuleWithDefaults ¶
func NewAggregationRuleWithDefaults() *AggregationRule
NewAggregationRuleWithDefaults instantiates a new AggregationRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AggregationRule) GetClusterRoleSelectors ¶
func (o *AggregationRule) GetClusterRoleSelectors() []LabelSelector
GetClusterRoleSelectors returns the ClusterRoleSelectors field value if set, zero value otherwise.
func (*AggregationRule) GetClusterRoleSelectorsOk ¶
func (o *AggregationRule) GetClusterRoleSelectorsOk() ([]LabelSelector, bool)
GetClusterRoleSelectorsOk returns a tuple with the ClusterRoleSelectors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AggregationRule) HasClusterRoleSelectors ¶
func (o *AggregationRule) HasClusterRoleSelectors() bool
HasClusterRoleSelectors returns a boolean if a field has been set.
func (AggregationRule) MarshalJSON ¶
func (o AggregationRule) MarshalJSON() ([]byte, error)
func (*AggregationRule) SetClusterRoleSelectors ¶
func (o *AggregationRule) SetClusterRoleSelectors(v []LabelSelector)
SetClusterRoleSelectors gets a reference to the given []LabelSelector and assigns it to the ClusterRoleSelectors field.
type ApiGetFeaturesRequest ¶
type ApiGetFeaturesRequest struct { ApiService FeaturesAPI // contains filtered or unexported fields }
type ApiIngestInstanceRBACRequest ¶
type ApiIngestInstanceRBACRequest struct { ApiService ReceiverRbacInstanceAPI // contains filtered or unexported fields }
func (ApiIngestInstanceRBACRequest) Execute ¶
func (r ApiIngestInstanceRBACRequest) Execute() (*http.Response, error)
func (ApiIngestInstanceRBACRequest) RBACRequest ¶
func (r ApiIngestInstanceRBACRequest) RBACRequest(rBACRequest RBACRequest) ApiIngestInstanceRBACRequest
type ApiIngestScopeRBACRequest ¶
type ApiIngestScopeRBACRequest struct { ApiService ReceiverRbacScopeAPI // contains filtered or unexported fields }
func (ApiIngestScopeRBACRequest) Execute ¶
func (r ApiIngestScopeRBACRequest) Execute() (*http.Response, error)
func (ApiIngestScopeRBACRequest) RBACRequest ¶
func (r ApiIngestScopeRBACRequest) RBACRequest(rBACRequest RBACRequest) ApiIngestScopeRBACRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type ClusterRole ¶
type ClusterRole struct { // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. Kind string `json:"kind"` Metadata ObjectMeta `json:"metadata"` AggregationRule *AggregationRule `json:"aggregationRule,omitempty"` // Rules holds all the PolicyRules for this ClusterRole. Rules []PolicyRule `json:"rules,omitempty"` }
ClusterRole ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
func NewClusterRole ¶
func NewClusterRole(kind string, metadata ObjectMeta) *ClusterRole
NewClusterRole instantiates a new ClusterRole object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterRoleWithDefaults ¶
func NewClusterRoleWithDefaults() *ClusterRole
NewClusterRoleWithDefaults instantiates a new ClusterRole object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterRole) GetAggregationRule ¶
func (o *ClusterRole) GetAggregationRule() AggregationRule
GetAggregationRule returns the AggregationRule field value if set, zero value otherwise.
func (*ClusterRole) GetAggregationRuleOk ¶
func (o *ClusterRole) GetAggregationRuleOk() (*AggregationRule, bool)
GetAggregationRuleOk returns a tuple with the AggregationRule field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterRole) GetKind ¶
func (o *ClusterRole) GetKind() string
GetKind returns the Kind field value
func (*ClusterRole) GetKindOk ¶
func (o *ClusterRole) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*ClusterRole) GetMetadata ¶
func (o *ClusterRole) GetMetadata() ObjectMeta
GetMetadata returns the Metadata field value
func (*ClusterRole) GetMetadataOk ¶
func (o *ClusterRole) GetMetadataOk() (*ObjectMeta, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.
func (*ClusterRole) GetRules ¶
func (o *ClusterRole) GetRules() []PolicyRule
GetRules returns the Rules field value if set, zero value otherwise.
func (*ClusterRole) GetRulesOk ¶
func (o *ClusterRole) GetRulesOk() ([]PolicyRule, bool)
GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterRole) HasAggregationRule ¶
func (o *ClusterRole) HasAggregationRule() bool
HasAggregationRule returns a boolean if a field has been set.
func (*ClusterRole) HasRules ¶
func (o *ClusterRole) HasRules() bool
HasRules returns a boolean if a field has been set.
func (ClusterRole) MarshalJSON ¶
func (o ClusterRole) MarshalJSON() ([]byte, error)
func (*ClusterRole) SetAggregationRule ¶
func (o *ClusterRole) SetAggregationRule(v AggregationRule)
SetAggregationRule gets a reference to the given AggregationRule and assigns it to the AggregationRule field.
func (*ClusterRole) SetMetadata ¶
func (o *ClusterRole) SetMetadata(v ObjectMeta)
SetMetadata sets field value
func (*ClusterRole) SetRules ¶
func (o *ClusterRole) SetRules(v []PolicyRule)
SetRules gets a reference to the given []PolicyRule and assigns it to the Rules field.
type ClusterRoleBinding ¶
type ClusterRoleBinding struct { // Kind is a string value representing the REST resource this object represents. Kind string `json:"kind"` Metadata ObjectMeta `json:"metadata"` RoleRef RoleRef `json:"roleRef"` // Subjects holds references to the objects the role applies to. Subjects []Subject `json:"subjects,omitempty"` }
ClusterRoleBinding ClusterRoleBinding references a ClusterRole but does not contain it. It can reference a ClusterRole in the global namespace and adds subject information via the Subject field.
func NewClusterRoleBinding ¶
func NewClusterRoleBinding(kind string, metadata ObjectMeta, roleRef RoleRef) *ClusterRoleBinding
NewClusterRoleBinding instantiates a new ClusterRoleBinding object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterRoleBindingWithDefaults ¶
func NewClusterRoleBindingWithDefaults() *ClusterRoleBinding
NewClusterRoleBindingWithDefaults instantiates a new ClusterRoleBinding object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterRoleBinding) GetKind ¶
func (o *ClusterRoleBinding) GetKind() string
GetKind returns the Kind field value
func (*ClusterRoleBinding) GetKindOk ¶
func (o *ClusterRoleBinding) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*ClusterRoleBinding) GetMetadata ¶
func (o *ClusterRoleBinding) GetMetadata() ObjectMeta
GetMetadata returns the Metadata field value
func (*ClusterRoleBinding) GetMetadataOk ¶
func (o *ClusterRoleBinding) GetMetadataOk() (*ObjectMeta, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.
func (*ClusterRoleBinding) GetRoleRef ¶
func (o *ClusterRoleBinding) GetRoleRef() RoleRef
GetRoleRef returns the RoleRef field value
func (*ClusterRoleBinding) GetRoleRefOk ¶
func (o *ClusterRoleBinding) GetRoleRefOk() (*RoleRef, bool)
GetRoleRefOk returns a tuple with the RoleRef field value and a boolean to check if the value has been set.
func (*ClusterRoleBinding) GetSubjects ¶
func (o *ClusterRoleBinding) GetSubjects() []Subject
GetSubjects returns the Subjects field value if set, zero value otherwise.
func (*ClusterRoleBinding) GetSubjectsOk ¶
func (o *ClusterRoleBinding) GetSubjectsOk() ([]Subject, bool)
GetSubjectsOk returns a tuple with the Subjects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterRoleBinding) HasSubjects ¶
func (o *ClusterRoleBinding) HasSubjects() bool
HasSubjects returns a boolean if a field has been set.
func (ClusterRoleBinding) MarshalJSON ¶
func (o ClusterRoleBinding) MarshalJSON() ([]byte, error)
func (*ClusterRoleBinding) SetKind ¶
func (o *ClusterRoleBinding) SetKind(v string)
SetKind sets field value
func (*ClusterRoleBinding) SetMetadata ¶
func (o *ClusterRoleBinding) SetMetadata(v ObjectMeta)
SetMetadata sets field value
func (*ClusterRoleBinding) SetRoleRef ¶
func (o *ClusterRoleBinding) SetRoleRef(v RoleRef)
SetRoleRef sets field value
func (*ClusterRoleBinding) SetSubjects ¶
func (o *ClusterRoleBinding) SetSubjects(v []Subject)
SetSubjects gets a reference to the given []Subject and assigns it to the Subjects field.
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client OnPreCallAPI func(*http.Request) OnPostCallAPI func(*http.Request) }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateRbacData ¶
CreateRbacData Defines a RBAC resource that needs to be created
func NewCreateRbacData ¶
func NewCreateRbacData(type_ string, resource RbacData) *CreateRbacData
NewCreateRbacData instantiates a new CreateRbacData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateRbacDataWithDefaults ¶
func NewCreateRbacDataWithDefaults() *CreateRbacData
NewCreateRbacDataWithDefaults instantiates a new CreateRbacData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateRbacData) GetResource ¶
func (o *CreateRbacData) GetResource() RbacData
GetResource returns the Resource field value
func (*CreateRbacData) GetResourceOk ¶
func (o *CreateRbacData) GetResourceOk() (*RbacData, bool)
GetResourceOk returns a tuple with the Resource field value and a boolean to check if the value has been set.
func (*CreateRbacData) GetType ¶
func (o *CreateRbacData) GetType() string
GetType returns the Type field value
func (*CreateRbacData) GetTypeOk ¶
func (o *CreateRbacData) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (CreateRbacData) MarshalJSON ¶
func (o CreateRbacData) MarshalJSON() ([]byte, error)
func (*CreateRbacData) SetResource ¶
func (o *CreateRbacData) SetResource(v RbacData)
SetResource sets field value
func (*CreateRbacData) SetType ¶
func (o *CreateRbacData) SetType(v string)
SetType sets field value
type DeleteRbacData ¶
type DeleteRbacData struct { Type string `json:"_type"` // UID of the referent. Uid string `json:"uid"` }
DeleteRbacData Defines a RBAC resource that needs to be delete
func NewDeleteRbacData ¶
func NewDeleteRbacData(type_ string, uid string) *DeleteRbacData
NewDeleteRbacData instantiates a new DeleteRbacData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeleteRbacDataWithDefaults ¶
func NewDeleteRbacDataWithDefaults() *DeleteRbacData
NewDeleteRbacDataWithDefaults instantiates a new DeleteRbacData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeleteRbacData) GetType ¶
func (o *DeleteRbacData) GetType() string
GetType returns the Type field value
func (*DeleteRbacData) GetTypeOk ¶
func (o *DeleteRbacData) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*DeleteRbacData) GetUid ¶
func (o *DeleteRbacData) GetUid() string
GetUid returns the Uid field value
func (*DeleteRbacData) GetUidOk ¶
func (o *DeleteRbacData) GetUidOk() (*string, bool)
GetUidOk returns a tuple with the Uid field value and a boolean to check if the value has been set.
func (DeleteRbacData) MarshalJSON ¶
func (o DeleteRbacData) MarshalJSON() ([]byte, error)
func (*DeleteRbacData) SetType ¶
func (o *DeleteRbacData) SetType(v string)
SetType sets field value
type FeaturesAPI ¶
type FeaturesAPI interface { /* GetFeatures Get supported features from the receiver Get supported features from the receiver. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetFeaturesRequest */ GetFeatures(ctx context.Context) ApiGetFeaturesRequest // GetFeaturesExecute executes the request // @return map[string]interface{} GetFeaturesExecute(r ApiGetFeaturesRequest) (map[string]interface{}, *http.Response, error) }
type FeaturesAPIMock ¶
type FeaturesAPIMock struct { GetFeaturesCalls *[]GetFeaturesCall GetFeaturesResponse GetFeaturesMockResponse }
func NewFeaturesAPIMock ¶
func NewFeaturesAPIMock() FeaturesAPIMock
func (FeaturesAPIMock) GetFeatures ¶
func (mock FeaturesAPIMock) GetFeatures(ctx context.Context) ApiGetFeaturesRequest
func (FeaturesAPIMock) GetFeaturesExecute ¶
func (mock FeaturesAPIMock) GetFeaturesExecute(r ApiGetFeaturesRequest) (map[string]interface{}, *http.Response, error)
type FeaturesAPIService ¶
type FeaturesAPIService service
FeaturesAPIService FeaturesAPI service
func (*FeaturesAPIService) GetFeatures ¶
func (a *FeaturesAPIService) GetFeatures(ctx context.Context) ApiGetFeaturesRequest
GetFeatures Get supported features from the receiver
Get supported features from the receiver.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetFeaturesRequest
func (*FeaturesAPIService) GetFeaturesExecute ¶
func (a *FeaturesAPIService) GetFeaturesExecute(r ApiGetFeaturesRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetFeaturesCall ¶
type GetFeaturesCall struct { }
type GetFeaturesMockResponse ¶
type IngestInstanceRBACCall ¶
type IngestInstanceRBACCall struct {
PrBACRequest *RBACRequest
}
type IngestScopeRBACCall ¶
type IngestScopeRBACCall struct {
PrBACRequest *RBACRequest
}
type LabelSelector ¶
type LabelSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions []LabelSelectorRequirement `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The requirements are ANDed. MatchLabels *map[string]string `json:"matchLabels,omitempty"` }
LabelSelector A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
func NewLabelSelector ¶
func NewLabelSelector() *LabelSelector
NewLabelSelector instantiates a new LabelSelector object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLabelSelectorWithDefaults ¶
func NewLabelSelectorWithDefaults() *LabelSelector
NewLabelSelectorWithDefaults instantiates a new LabelSelector object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LabelSelector) GetMatchExpressions ¶
func (o *LabelSelector) GetMatchExpressions() []LabelSelectorRequirement
GetMatchExpressions returns the MatchExpressions field value if set, zero value otherwise.
func (*LabelSelector) GetMatchExpressionsOk ¶
func (o *LabelSelector) GetMatchExpressionsOk() ([]LabelSelectorRequirement, bool)
GetMatchExpressionsOk returns a tuple with the MatchExpressions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LabelSelector) GetMatchLabels ¶
func (o *LabelSelector) GetMatchLabels() map[string]string
GetMatchLabels returns the MatchLabels field value if set, zero value otherwise.
func (*LabelSelector) GetMatchLabelsOk ¶
func (o *LabelSelector) GetMatchLabelsOk() (*map[string]string, bool)
GetMatchLabelsOk returns a tuple with the MatchLabels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LabelSelector) HasMatchExpressions ¶
func (o *LabelSelector) HasMatchExpressions() bool
HasMatchExpressions returns a boolean if a field has been set.
func (*LabelSelector) HasMatchLabels ¶
func (o *LabelSelector) HasMatchLabels() bool
HasMatchLabels returns a boolean if a field has been set.
func (LabelSelector) MarshalJSON ¶
func (o LabelSelector) MarshalJSON() ([]byte, error)
func (*LabelSelector) SetMatchExpressions ¶
func (o *LabelSelector) SetMatchExpressions(v []LabelSelectorRequirement)
SetMatchExpressions gets a reference to the given []LabelSelectorRequirement and assigns it to the MatchExpressions field.
func (*LabelSelector) SetMatchLabels ¶
func (o *LabelSelector) SetMatchLabels(v map[string]string)
SetMatchLabels gets a reference to the given map[string]string and assigns it to the MatchLabels field.
type LabelSelectorRequirement ¶
type LabelSelectorRequirement struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values []string `json:"values,omitempty"` }
LabelSelectorRequirement A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
func NewLabelSelectorRequirement ¶
func NewLabelSelectorRequirement(key string, operator string) *LabelSelectorRequirement
NewLabelSelectorRequirement instantiates a new LabelSelectorRequirement object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLabelSelectorRequirementWithDefaults ¶
func NewLabelSelectorRequirementWithDefaults() *LabelSelectorRequirement
NewLabelSelectorRequirementWithDefaults instantiates a new LabelSelectorRequirement object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LabelSelectorRequirement) GetKey ¶
func (o *LabelSelectorRequirement) GetKey() string
GetKey returns the Key field value
func (*LabelSelectorRequirement) GetKeyOk ¶
func (o *LabelSelectorRequirement) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*LabelSelectorRequirement) GetOperator ¶
func (o *LabelSelectorRequirement) GetOperator() string
GetOperator returns the Operator field value
func (*LabelSelectorRequirement) GetOperatorOk ¶
func (o *LabelSelectorRequirement) GetOperatorOk() (*string, bool)
GetOperatorOk returns a tuple with the Operator field value and a boolean to check if the value has been set.
func (*LabelSelectorRequirement) GetValues ¶
func (o *LabelSelectorRequirement) GetValues() []string
GetValues returns the Values field value if set, zero value otherwise.
func (*LabelSelectorRequirement) GetValuesOk ¶
func (o *LabelSelectorRequirement) GetValuesOk() ([]string, bool)
GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LabelSelectorRequirement) HasValues ¶
func (o *LabelSelectorRequirement) HasValues() bool
HasValues returns a boolean if a field has been set.
func (LabelSelectorRequirement) MarshalJSON ¶
func (o LabelSelectorRequirement) MarshalJSON() ([]byte, error)
func (*LabelSelectorRequirement) SetKey ¶
func (o *LabelSelectorRequirement) SetKey(v string)
SetKey sets field value
func (*LabelSelectorRequirement) SetOperator ¶
func (o *LabelSelectorRequirement) SetOperator(v string)
SetOperator sets field value
func (*LabelSelectorRequirement) SetValues ¶
func (o *LabelSelectorRequirement) SetValues(v []string)
SetValues gets a reference to the given []string and assigns it to the Values field.
type ManagedFieldsEntry ¶
type ManagedFieldsEntry struct { // APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted. ApiVersion *string `json:"apiVersion,omitempty"` // FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\" FieldsType *string `json:"fieldsType,omitempty"` // Manager is an identifier of the workflow managing these fields. Manager *string `json:"manager,omitempty"` // Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'. Operation *string `json:"operation,omitempty"` // Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource. Subresource *string `json:"subresource,omitempty"` // Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Time *time.Time `json:"time,omitempty"` }
ManagedFieldsEntry ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.
func NewManagedFieldsEntry ¶
func NewManagedFieldsEntry() *ManagedFieldsEntry
NewManagedFieldsEntry instantiates a new ManagedFieldsEntry object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewManagedFieldsEntryWithDefaults ¶
func NewManagedFieldsEntryWithDefaults() *ManagedFieldsEntry
NewManagedFieldsEntryWithDefaults instantiates a new ManagedFieldsEntry object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ManagedFieldsEntry) GetApiVersion ¶
func (o *ManagedFieldsEntry) GetApiVersion() string
GetApiVersion returns the ApiVersion field value if set, zero value otherwise.
func (*ManagedFieldsEntry) GetApiVersionOk ¶
func (o *ManagedFieldsEntry) GetApiVersionOk() (*string, bool)
GetApiVersionOk returns a tuple with the ApiVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManagedFieldsEntry) GetFieldsType ¶
func (o *ManagedFieldsEntry) GetFieldsType() string
GetFieldsType returns the FieldsType field value if set, zero value otherwise.
func (*ManagedFieldsEntry) GetFieldsTypeOk ¶
func (o *ManagedFieldsEntry) GetFieldsTypeOk() (*string, bool)
GetFieldsTypeOk returns a tuple with the FieldsType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManagedFieldsEntry) GetManager ¶
func (o *ManagedFieldsEntry) GetManager() string
GetManager returns the Manager field value if set, zero value otherwise.
func (*ManagedFieldsEntry) GetManagerOk ¶
func (o *ManagedFieldsEntry) GetManagerOk() (*string, bool)
GetManagerOk returns a tuple with the Manager field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManagedFieldsEntry) GetOperation ¶
func (o *ManagedFieldsEntry) GetOperation() string
GetOperation returns the Operation field value if set, zero value otherwise.
func (*ManagedFieldsEntry) GetOperationOk ¶
func (o *ManagedFieldsEntry) GetOperationOk() (*string, bool)
GetOperationOk returns a tuple with the Operation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManagedFieldsEntry) GetSubresource ¶
func (o *ManagedFieldsEntry) GetSubresource() string
GetSubresource returns the Subresource field value if set, zero value otherwise.
func (*ManagedFieldsEntry) GetSubresourceOk ¶
func (o *ManagedFieldsEntry) GetSubresourceOk() (*string, bool)
GetSubresourceOk returns a tuple with the Subresource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManagedFieldsEntry) GetTime ¶
func (o *ManagedFieldsEntry) GetTime() time.Time
GetTime returns the Time field value if set, zero value otherwise.
func (*ManagedFieldsEntry) GetTimeOk ¶
func (o *ManagedFieldsEntry) GetTimeOk() (*time.Time, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManagedFieldsEntry) HasApiVersion ¶
func (o *ManagedFieldsEntry) HasApiVersion() bool
HasApiVersion returns a boolean if a field has been set.
func (*ManagedFieldsEntry) HasFieldsType ¶
func (o *ManagedFieldsEntry) HasFieldsType() bool
HasFieldsType returns a boolean if a field has been set.
func (*ManagedFieldsEntry) HasManager ¶
func (o *ManagedFieldsEntry) HasManager() bool
HasManager returns a boolean if a field has been set.
func (*ManagedFieldsEntry) HasOperation ¶
func (o *ManagedFieldsEntry) HasOperation() bool
HasOperation returns a boolean if a field has been set.
func (*ManagedFieldsEntry) HasSubresource ¶
func (o *ManagedFieldsEntry) HasSubresource() bool
HasSubresource returns a boolean if a field has been set.
func (*ManagedFieldsEntry) HasTime ¶
func (o *ManagedFieldsEntry) HasTime() bool
HasTime returns a boolean if a field has been set.
func (ManagedFieldsEntry) MarshalJSON ¶
func (o ManagedFieldsEntry) MarshalJSON() ([]byte, error)
func (*ManagedFieldsEntry) SetApiVersion ¶
func (o *ManagedFieldsEntry) SetApiVersion(v string)
SetApiVersion gets a reference to the given string and assigns it to the ApiVersion field.
func (*ManagedFieldsEntry) SetFieldsType ¶
func (o *ManagedFieldsEntry) SetFieldsType(v string)
SetFieldsType gets a reference to the given string and assigns it to the FieldsType field.
func (*ManagedFieldsEntry) SetManager ¶
func (o *ManagedFieldsEntry) SetManager(v string)
SetManager gets a reference to the given string and assigns it to the Manager field.
func (*ManagedFieldsEntry) SetOperation ¶
func (o *ManagedFieldsEntry) SetOperation(v string)
SetOperation gets a reference to the given string and assigns it to the Operation field.
func (*ManagedFieldsEntry) SetSubresource ¶
func (o *ManagedFieldsEntry) SetSubresource(v string)
SetSubresource gets a reference to the given string and assigns it to the Subresource field.
func (*ManagedFieldsEntry) SetTime ¶
func (o *ManagedFieldsEntry) SetTime(v time.Time)
SetTime gets a reference to the given time.Time and assigns it to the Time field.
type NullableAggregationRule ¶
type NullableAggregationRule struct {
// contains filtered or unexported fields
}
func NewNullableAggregationRule ¶
func NewNullableAggregationRule(val *AggregationRule) *NullableAggregationRule
func (NullableAggregationRule) Get ¶
func (v NullableAggregationRule) Get() *AggregationRule
func (NullableAggregationRule) IsSet ¶
func (v NullableAggregationRule) IsSet() bool
func (NullableAggregationRule) MarshalJSON ¶
func (v NullableAggregationRule) MarshalJSON() ([]byte, error)
func (*NullableAggregationRule) Set ¶
func (v *NullableAggregationRule) Set(val *AggregationRule)
func (*NullableAggregationRule) UnmarshalJSON ¶
func (v *NullableAggregationRule) UnmarshalJSON(src []byte) error
func (*NullableAggregationRule) Unset ¶
func (v *NullableAggregationRule) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableClusterRole ¶
type NullableClusterRole struct {
// contains filtered or unexported fields
}
func NewNullableClusterRole ¶
func NewNullableClusterRole(val *ClusterRole) *NullableClusterRole
func (NullableClusterRole) Get ¶
func (v NullableClusterRole) Get() *ClusterRole
func (NullableClusterRole) IsSet ¶
func (v NullableClusterRole) IsSet() bool
func (NullableClusterRole) MarshalJSON ¶
func (v NullableClusterRole) MarshalJSON() ([]byte, error)
func (*NullableClusterRole) Set ¶
func (v *NullableClusterRole) Set(val *ClusterRole)
func (*NullableClusterRole) UnmarshalJSON ¶
func (v *NullableClusterRole) UnmarshalJSON(src []byte) error
func (*NullableClusterRole) Unset ¶
func (v *NullableClusterRole) Unset()
type NullableClusterRoleBinding ¶
type NullableClusterRoleBinding struct {
// contains filtered or unexported fields
}
func NewNullableClusterRoleBinding ¶
func NewNullableClusterRoleBinding(val *ClusterRoleBinding) *NullableClusterRoleBinding
func (NullableClusterRoleBinding) Get ¶
func (v NullableClusterRoleBinding) Get() *ClusterRoleBinding
func (NullableClusterRoleBinding) IsSet ¶
func (v NullableClusterRoleBinding) IsSet() bool
func (NullableClusterRoleBinding) MarshalJSON ¶
func (v NullableClusterRoleBinding) MarshalJSON() ([]byte, error)
func (*NullableClusterRoleBinding) Set ¶
func (v *NullableClusterRoleBinding) Set(val *ClusterRoleBinding)
func (*NullableClusterRoleBinding) UnmarshalJSON ¶
func (v *NullableClusterRoleBinding) UnmarshalJSON(src []byte) error
func (*NullableClusterRoleBinding) Unset ¶
func (v *NullableClusterRoleBinding) Unset()
type NullableCreateRbacData ¶
type NullableCreateRbacData struct {
// contains filtered or unexported fields
}
func NewNullableCreateRbacData ¶
func NewNullableCreateRbacData(val *CreateRbacData) *NullableCreateRbacData
func (NullableCreateRbacData) Get ¶
func (v NullableCreateRbacData) Get() *CreateRbacData
func (NullableCreateRbacData) IsSet ¶
func (v NullableCreateRbacData) IsSet() bool
func (NullableCreateRbacData) MarshalJSON ¶
func (v NullableCreateRbacData) MarshalJSON() ([]byte, error)
func (*NullableCreateRbacData) Set ¶
func (v *NullableCreateRbacData) Set(val *CreateRbacData)
func (*NullableCreateRbacData) UnmarshalJSON ¶
func (v *NullableCreateRbacData) UnmarshalJSON(src []byte) error
func (*NullableCreateRbacData) Unset ¶
func (v *NullableCreateRbacData) Unset()
type NullableDeleteRbacData ¶
type NullableDeleteRbacData struct {
// contains filtered or unexported fields
}
func NewNullableDeleteRbacData ¶
func NewNullableDeleteRbacData(val *DeleteRbacData) *NullableDeleteRbacData
func (NullableDeleteRbacData) Get ¶
func (v NullableDeleteRbacData) Get() *DeleteRbacData
func (NullableDeleteRbacData) IsSet ¶
func (v NullableDeleteRbacData) IsSet() bool
func (NullableDeleteRbacData) MarshalJSON ¶
func (v NullableDeleteRbacData) MarshalJSON() ([]byte, error)
func (*NullableDeleteRbacData) Set ¶
func (v *NullableDeleteRbacData) Set(val *DeleteRbacData)
func (*NullableDeleteRbacData) UnmarshalJSON ¶
func (v *NullableDeleteRbacData) UnmarshalJSON(src []byte) error
func (*NullableDeleteRbacData) Unset ¶
func (v *NullableDeleteRbacData) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLabelSelector ¶
type NullableLabelSelector struct {
// contains filtered or unexported fields
}
func NewNullableLabelSelector ¶
func NewNullableLabelSelector(val *LabelSelector) *NullableLabelSelector
func (NullableLabelSelector) Get ¶
func (v NullableLabelSelector) Get() *LabelSelector
func (NullableLabelSelector) IsSet ¶
func (v NullableLabelSelector) IsSet() bool
func (NullableLabelSelector) MarshalJSON ¶
func (v NullableLabelSelector) MarshalJSON() ([]byte, error)
func (*NullableLabelSelector) Set ¶
func (v *NullableLabelSelector) Set(val *LabelSelector)
func (*NullableLabelSelector) UnmarshalJSON ¶
func (v *NullableLabelSelector) UnmarshalJSON(src []byte) error
func (*NullableLabelSelector) Unset ¶
func (v *NullableLabelSelector) Unset()
type NullableLabelSelectorRequirement ¶
type NullableLabelSelectorRequirement struct {
// contains filtered or unexported fields
}
func NewNullableLabelSelectorRequirement ¶
func NewNullableLabelSelectorRequirement(val *LabelSelectorRequirement) *NullableLabelSelectorRequirement
func (NullableLabelSelectorRequirement) Get ¶
func (v NullableLabelSelectorRequirement) Get() *LabelSelectorRequirement
func (NullableLabelSelectorRequirement) IsSet ¶
func (v NullableLabelSelectorRequirement) IsSet() bool
func (NullableLabelSelectorRequirement) MarshalJSON ¶
func (v NullableLabelSelectorRequirement) MarshalJSON() ([]byte, error)
func (*NullableLabelSelectorRequirement) Set ¶
func (v *NullableLabelSelectorRequirement) Set(val *LabelSelectorRequirement)
func (*NullableLabelSelectorRequirement) UnmarshalJSON ¶
func (v *NullableLabelSelectorRequirement) UnmarshalJSON(src []byte) error
func (*NullableLabelSelectorRequirement) Unset ¶
func (v *NullableLabelSelectorRequirement) Unset()
type NullableManagedFieldsEntry ¶
type NullableManagedFieldsEntry struct {
// contains filtered or unexported fields
}
func NewNullableManagedFieldsEntry ¶
func NewNullableManagedFieldsEntry(val *ManagedFieldsEntry) *NullableManagedFieldsEntry
func (NullableManagedFieldsEntry) Get ¶
func (v NullableManagedFieldsEntry) Get() *ManagedFieldsEntry
func (NullableManagedFieldsEntry) IsSet ¶
func (v NullableManagedFieldsEntry) IsSet() bool
func (NullableManagedFieldsEntry) MarshalJSON ¶
func (v NullableManagedFieldsEntry) MarshalJSON() ([]byte, error)
func (*NullableManagedFieldsEntry) Set ¶
func (v *NullableManagedFieldsEntry) Set(val *ManagedFieldsEntry)
func (*NullableManagedFieldsEntry) UnmarshalJSON ¶
func (v *NullableManagedFieldsEntry) UnmarshalJSON(src []byte) error
func (*NullableManagedFieldsEntry) Unset ¶
func (v *NullableManagedFieldsEntry) Unset()
type NullableObjectMeta ¶
type NullableObjectMeta struct {
// contains filtered or unexported fields
}
func NewNullableObjectMeta ¶
func NewNullableObjectMeta(val *ObjectMeta) *NullableObjectMeta
func (NullableObjectMeta) Get ¶
func (v NullableObjectMeta) Get() *ObjectMeta
func (NullableObjectMeta) IsSet ¶
func (v NullableObjectMeta) IsSet() bool
func (NullableObjectMeta) MarshalJSON ¶
func (v NullableObjectMeta) MarshalJSON() ([]byte, error)
func (*NullableObjectMeta) Set ¶
func (v *NullableObjectMeta) Set(val *ObjectMeta)
func (*NullableObjectMeta) UnmarshalJSON ¶
func (v *NullableObjectMeta) UnmarshalJSON(src []byte) error
func (*NullableObjectMeta) Unset ¶
func (v *NullableObjectMeta) Unset()
type NullableOwnerReference ¶
type NullableOwnerReference struct {
// contains filtered or unexported fields
}
func NewNullableOwnerReference ¶
func NewNullableOwnerReference(val *OwnerReference) *NullableOwnerReference
func (NullableOwnerReference) Get ¶
func (v NullableOwnerReference) Get() *OwnerReference
func (NullableOwnerReference) IsSet ¶
func (v NullableOwnerReference) IsSet() bool
func (NullableOwnerReference) MarshalJSON ¶
func (v NullableOwnerReference) MarshalJSON() ([]byte, error)
func (*NullableOwnerReference) Set ¶
func (v *NullableOwnerReference) Set(val *OwnerReference)
func (*NullableOwnerReference) UnmarshalJSON ¶
func (v *NullableOwnerReference) UnmarshalJSON(src []byte) error
func (*NullableOwnerReference) Unset ¶
func (v *NullableOwnerReference) Unset()
type NullablePolicyRule ¶
type NullablePolicyRule struct {
// contains filtered or unexported fields
}
func NewNullablePolicyRule ¶
func NewNullablePolicyRule(val *PolicyRule) *NullablePolicyRule
func (NullablePolicyRule) Get ¶
func (v NullablePolicyRule) Get() *PolicyRule
func (NullablePolicyRule) IsSet ¶
func (v NullablePolicyRule) IsSet() bool
func (NullablePolicyRule) MarshalJSON ¶
func (v NullablePolicyRule) MarshalJSON() ([]byte, error)
func (*NullablePolicyRule) Set ¶
func (v *NullablePolicyRule) Set(val *PolicyRule)
func (*NullablePolicyRule) UnmarshalJSON ¶
func (v *NullablePolicyRule) UnmarshalJSON(src []byte) error
func (*NullablePolicyRule) Unset ¶
func (v *NullablePolicyRule) Unset()
type NullableRBACIncrementRequest ¶
type NullableRBACIncrementRequest struct {
// contains filtered or unexported fields
}
func NewNullableRBACIncrementRequest ¶
func NewNullableRBACIncrementRequest(val *RBACIncrementRequest) *NullableRBACIncrementRequest
func (NullableRBACIncrementRequest) Get ¶
func (v NullableRBACIncrementRequest) Get() *RBACIncrementRequest
func (NullableRBACIncrementRequest) IsSet ¶
func (v NullableRBACIncrementRequest) IsSet() bool
func (NullableRBACIncrementRequest) MarshalJSON ¶
func (v NullableRBACIncrementRequest) MarshalJSON() ([]byte, error)
func (*NullableRBACIncrementRequest) Set ¶
func (v *NullableRBACIncrementRequest) Set(val *RBACIncrementRequest)
func (*NullableRBACIncrementRequest) UnmarshalJSON ¶
func (v *NullableRBACIncrementRequest) UnmarshalJSON(src []byte) error
func (*NullableRBACIncrementRequest) Unset ¶
func (v *NullableRBACIncrementRequest) Unset()
type NullableRBACRequest ¶
type NullableRBACRequest struct {
// contains filtered or unexported fields
}
func NewNullableRBACRequest ¶
func NewNullableRBACRequest(val *RBACRequest) *NullableRBACRequest
func (NullableRBACRequest) Get ¶
func (v NullableRBACRequest) Get() *RBACRequest
func (NullableRBACRequest) IsSet ¶
func (v NullableRBACRequest) IsSet() bool
func (NullableRBACRequest) MarshalJSON ¶
func (v NullableRBACRequest) MarshalJSON() ([]byte, error)
func (*NullableRBACRequest) Set ¶
func (v *NullableRBACRequest) Set(val *RBACRequest)
func (*NullableRBACRequest) UnmarshalJSON ¶
func (v *NullableRBACRequest) UnmarshalJSON(src []byte) error
func (*NullableRBACRequest) Unset ¶
func (v *NullableRBACRequest) Unset()
type NullableRBACResponseError ¶
type NullableRBACResponseError struct {
// contains filtered or unexported fields
}
func NewNullableRBACResponseError ¶
func NewNullableRBACResponseError(val *RBACResponseError) *NullableRBACResponseError
func (NullableRBACResponseError) Get ¶
func (v NullableRBACResponseError) Get() *RBACResponseError
func (NullableRBACResponseError) IsSet ¶
func (v NullableRBACResponseError) IsSet() bool
func (NullableRBACResponseError) MarshalJSON ¶
func (v NullableRBACResponseError) MarshalJSON() ([]byte, error)
func (*NullableRBACResponseError) Set ¶
func (v *NullableRBACResponseError) Set(val *RBACResponseError)
func (*NullableRBACResponseError) UnmarshalJSON ¶
func (v *NullableRBACResponseError) UnmarshalJSON(src []byte) error
func (*NullableRBACResponseError) Unset ¶
func (v *NullableRBACResponseError) Unset()
type NullableRBACSnapshotRequest ¶
type NullableRBACSnapshotRequest struct {
// contains filtered or unexported fields
}
func NewNullableRBACSnapshotRequest ¶
func NewNullableRBACSnapshotRequest(val *RBACSnapshotRequest) *NullableRBACSnapshotRequest
func (NullableRBACSnapshotRequest) Get ¶
func (v NullableRBACSnapshotRequest) Get() *RBACSnapshotRequest
func (NullableRBACSnapshotRequest) IsSet ¶
func (v NullableRBACSnapshotRequest) IsSet() bool
func (NullableRBACSnapshotRequest) MarshalJSON ¶
func (v NullableRBACSnapshotRequest) MarshalJSON() ([]byte, error)
func (*NullableRBACSnapshotRequest) Set ¶
func (v *NullableRBACSnapshotRequest) Set(val *RBACSnapshotRequest)
func (*NullableRBACSnapshotRequest) UnmarshalJSON ¶
func (v *NullableRBACSnapshotRequest) UnmarshalJSON(src []byte) error
func (*NullableRBACSnapshotRequest) Unset ¶
func (v *NullableRBACSnapshotRequest) Unset()
type NullableRbacData ¶
type NullableRbacData struct {
// contains filtered or unexported fields
}
func NewNullableRbacData ¶
func NewNullableRbacData(val *RbacData) *NullableRbacData
func (NullableRbacData) Get ¶
func (v NullableRbacData) Get() *RbacData
func (NullableRbacData) IsSet ¶
func (v NullableRbacData) IsSet() bool
func (NullableRbacData) MarshalJSON ¶
func (v NullableRbacData) MarshalJSON() ([]byte, error)
func (*NullableRbacData) Set ¶
func (v *NullableRbacData) Set(val *RbacData)
func (*NullableRbacData) UnmarshalJSON ¶
func (v *NullableRbacData) UnmarshalJSON(src []byte) error
func (*NullableRbacData) Unset ¶
func (v *NullableRbacData) Unset()
type NullableRbacDataChanges ¶
type NullableRbacDataChanges struct {
// contains filtered or unexported fields
}
func NewNullableRbacDataChanges ¶
func NewNullableRbacDataChanges(val *RbacDataChanges) *NullableRbacDataChanges
func (NullableRbacDataChanges) Get ¶
func (v NullableRbacDataChanges) Get() *RbacDataChanges
func (NullableRbacDataChanges) IsSet ¶
func (v NullableRbacDataChanges) IsSet() bool
func (NullableRbacDataChanges) MarshalJSON ¶
func (v NullableRbacDataChanges) MarshalJSON() ([]byte, error)
func (*NullableRbacDataChanges) Set ¶
func (v *NullableRbacDataChanges) Set(val *RbacDataChanges)
func (*NullableRbacDataChanges) UnmarshalJSON ¶
func (v *NullableRbacDataChanges) UnmarshalJSON(src []byte) error
func (*NullableRbacDataChanges) Unset ¶
func (v *NullableRbacDataChanges) Unset()
type NullableRole ¶
type NullableRole struct {
// contains filtered or unexported fields
}
func NewNullableRole ¶
func NewNullableRole(val *Role) *NullableRole
func (NullableRole) Get ¶
func (v NullableRole) Get() *Role
func (NullableRole) IsSet ¶
func (v NullableRole) IsSet() bool
func (NullableRole) MarshalJSON ¶
func (v NullableRole) MarshalJSON() ([]byte, error)
func (*NullableRole) Set ¶
func (v *NullableRole) Set(val *Role)
func (*NullableRole) UnmarshalJSON ¶
func (v *NullableRole) UnmarshalJSON(src []byte) error
func (*NullableRole) Unset ¶
func (v *NullableRole) Unset()
type NullableRoleBinding ¶
type NullableRoleBinding struct {
// contains filtered or unexported fields
}
func NewNullableRoleBinding ¶
func NewNullableRoleBinding(val *RoleBinding) *NullableRoleBinding
func (NullableRoleBinding) Get ¶
func (v NullableRoleBinding) Get() *RoleBinding
func (NullableRoleBinding) IsSet ¶
func (v NullableRoleBinding) IsSet() bool
func (NullableRoleBinding) MarshalJSON ¶
func (v NullableRoleBinding) MarshalJSON() ([]byte, error)
func (*NullableRoleBinding) Set ¶
func (v *NullableRoleBinding) Set(val *RoleBinding)
func (*NullableRoleBinding) UnmarshalJSON ¶
func (v *NullableRoleBinding) UnmarshalJSON(src []byte) error
func (*NullableRoleBinding) Unset ¶
func (v *NullableRoleBinding) Unset()
type NullableRoleRef ¶
type NullableRoleRef struct {
// contains filtered or unexported fields
}
func NewNullableRoleRef ¶
func NewNullableRoleRef(val *RoleRef) *NullableRoleRef
func (NullableRoleRef) Get ¶
func (v NullableRoleRef) Get() *RoleRef
func (NullableRoleRef) IsSet ¶
func (v NullableRoleRef) IsSet() bool
func (NullableRoleRef) MarshalJSON ¶
func (v NullableRoleRef) MarshalJSON() ([]byte, error)
func (*NullableRoleRef) Set ¶
func (v *NullableRoleRef) Set(val *RoleRef)
func (*NullableRoleRef) UnmarshalJSON ¶
func (v *NullableRoleRef) UnmarshalJSON(src []byte) error
func (*NullableRoleRef) Unset ¶
func (v *NullableRoleRef) Unset()
type NullableStartSnapshot ¶
type NullableStartSnapshot struct {
// contains filtered or unexported fields
}
func NewNullableStartSnapshot ¶
func NewNullableStartSnapshot(val *StartSnapshot) *NullableStartSnapshot
func (NullableStartSnapshot) Get ¶
func (v NullableStartSnapshot) Get() *StartSnapshot
func (NullableStartSnapshot) IsSet ¶
func (v NullableStartSnapshot) IsSet() bool
func (NullableStartSnapshot) MarshalJSON ¶
func (v NullableStartSnapshot) MarshalJSON() ([]byte, error)
func (*NullableStartSnapshot) Set ¶
func (v *NullableStartSnapshot) Set(val *StartSnapshot)
func (*NullableStartSnapshot) UnmarshalJSON ¶
func (v *NullableStartSnapshot) UnmarshalJSON(src []byte) error
func (*NullableStartSnapshot) Unset ¶
func (v *NullableStartSnapshot) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSubject ¶
type NullableSubject struct {
// contains filtered or unexported fields
}
func NewNullableSubject ¶
func NewNullableSubject(val *Subject) *NullableSubject
func (NullableSubject) Get ¶
func (v NullableSubject) Get() *Subject
func (NullableSubject) IsSet ¶
func (v NullableSubject) IsSet() bool
func (NullableSubject) MarshalJSON ¶
func (v NullableSubject) MarshalJSON() ([]byte, error)
func (*NullableSubject) Set ¶
func (v *NullableSubject) Set(val *Subject)
func (*NullableSubject) UnmarshalJSON ¶
func (v *NullableSubject) UnmarshalJSON(src []byte) error
func (*NullableSubject) Unset ¶
func (v *NullableSubject) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateRbacData ¶
type NullableUpdateRbacData struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRbacData ¶
func NewNullableUpdateRbacData(val *UpdateRbacData) *NullableUpdateRbacData
func (NullableUpdateRbacData) Get ¶
func (v NullableUpdateRbacData) Get() *UpdateRbacData
func (NullableUpdateRbacData) IsSet ¶
func (v NullableUpdateRbacData) IsSet() bool
func (NullableUpdateRbacData) MarshalJSON ¶
func (v NullableUpdateRbacData) MarshalJSON() ([]byte, error)
func (*NullableUpdateRbacData) Set ¶
func (v *NullableUpdateRbacData) Set(val *UpdateRbacData)
func (*NullableUpdateRbacData) UnmarshalJSON ¶
func (v *NullableUpdateRbacData) UnmarshalJSON(src []byte) error
func (*NullableUpdateRbacData) Unset ¶
func (v *NullableUpdateRbacData) Unset()
type ObjectMeta ¶
type ObjectMeta struct { // Unique identifier for this object. Populated by the system. Uid string `json:"uid"` // Unique name within a namespace. Required for resource creation. Name string `json:"name"` // Annotations is an unstructured key-value map stored with a resource that may be set by external tools. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations Annotations *map[string]string `json:"annotations,omitempty"` // Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. CreationTimestamp *time.Time `json:"creationTimestamp,omitempty"` // Number of seconds allowed for this object to gracefully terminate before removal. DeletionGracePeriodSeconds *int64 `json:"deletionGracePeriodSeconds,omitempty"` // Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. DeletionTimestamp *time.Time `json:"deletionTimestamp,omitempty"` // Must be empty before deletion. Finalizers []string `json:"finalizers,omitempty"` // Optional prefix for generating a unique name. GenerateName *string `json:"generateName,omitempty"` // A sequence number representing a specific generation of the desired state. Generation *int64 `json:"generation,omitempty"` // Map of string keys and values used to organize and categorize objects. Labels *map[string]string `json:"labels,omitempty"` // Maps workflow-id and version to the set of fields managed by that workflow. ManagedFields []ManagedFieldsEntry `json:"managedFields,omitempty"` // Defines the space within which each name must be unique. Namespace *string `json:"namespace,omitempty"` // List of objects depended by this object. OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"` // Opaque value representing the internal version of this object. ResourceVersion *string `json:"resourceVersion,omitempty"` }
ObjectMeta ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
func NewObjectMeta ¶
func NewObjectMeta(uid string, name string) *ObjectMeta
NewObjectMeta instantiates a new ObjectMeta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectMetaWithDefaults ¶
func NewObjectMetaWithDefaults() *ObjectMeta
NewObjectMetaWithDefaults instantiates a new ObjectMeta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObjectMeta) GetAnnotations ¶
func (o *ObjectMeta) GetAnnotations() map[string]string
GetAnnotations returns the Annotations field value if set, zero value otherwise.
func (*ObjectMeta) GetAnnotationsOk ¶
func (o *ObjectMeta) GetAnnotationsOk() (*map[string]string, bool)
GetAnnotationsOk returns a tuple with the Annotations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectMeta) GetCreationTimestamp ¶
func (o *ObjectMeta) GetCreationTimestamp() time.Time
GetCreationTimestamp returns the CreationTimestamp field value if set, zero value otherwise.
func (*ObjectMeta) GetCreationTimestampOk ¶
func (o *ObjectMeta) GetCreationTimestampOk() (*time.Time, bool)
GetCreationTimestampOk returns a tuple with the CreationTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectMeta) GetDeletionGracePeriodSeconds ¶
func (o *ObjectMeta) GetDeletionGracePeriodSeconds() int64
GetDeletionGracePeriodSeconds returns the DeletionGracePeriodSeconds field value if set, zero value otherwise.
func (*ObjectMeta) GetDeletionGracePeriodSecondsOk ¶
func (o *ObjectMeta) GetDeletionGracePeriodSecondsOk() (*int64, bool)
GetDeletionGracePeriodSecondsOk returns a tuple with the DeletionGracePeriodSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectMeta) GetDeletionTimestamp ¶
func (o *ObjectMeta) GetDeletionTimestamp() time.Time
GetDeletionTimestamp returns the DeletionTimestamp field value if set, zero value otherwise.
func (*ObjectMeta) GetDeletionTimestampOk ¶
func (o *ObjectMeta) GetDeletionTimestampOk() (*time.Time, bool)
GetDeletionTimestampOk returns a tuple with the DeletionTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectMeta) GetFinalizers ¶
func (o *ObjectMeta) GetFinalizers() []string
GetFinalizers returns the Finalizers field value if set, zero value otherwise.
func (*ObjectMeta) GetFinalizersOk ¶
func (o *ObjectMeta) GetFinalizersOk() ([]string, bool)
GetFinalizersOk returns a tuple with the Finalizers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectMeta) GetGenerateName ¶
func (o *ObjectMeta) GetGenerateName() string
GetGenerateName returns the GenerateName field value if set, zero value otherwise.
func (*ObjectMeta) GetGenerateNameOk ¶
func (o *ObjectMeta) GetGenerateNameOk() (*string, bool)
GetGenerateNameOk returns a tuple with the GenerateName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectMeta) GetGeneration ¶
func (o *ObjectMeta) GetGeneration() int64
GetGeneration returns the Generation field value if set, zero value otherwise.
func (*ObjectMeta) GetGenerationOk ¶
func (o *ObjectMeta) GetGenerationOk() (*int64, bool)
GetGenerationOk returns a tuple with the Generation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectMeta) GetLabels ¶
func (o *ObjectMeta) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*ObjectMeta) GetLabelsOk ¶
func (o *ObjectMeta) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectMeta) GetManagedFields ¶
func (o *ObjectMeta) GetManagedFields() []ManagedFieldsEntry
GetManagedFields returns the ManagedFields field value if set, zero value otherwise.
func (*ObjectMeta) GetManagedFieldsOk ¶
func (o *ObjectMeta) GetManagedFieldsOk() ([]ManagedFieldsEntry, bool)
GetManagedFieldsOk returns a tuple with the ManagedFields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectMeta) GetName ¶
func (o *ObjectMeta) GetName() string
GetName returns the Name field value
func (*ObjectMeta) GetNameOk ¶
func (o *ObjectMeta) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ObjectMeta) GetNamespace ¶
func (o *ObjectMeta) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*ObjectMeta) GetNamespaceOk ¶
func (o *ObjectMeta) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectMeta) GetOwnerReferences ¶
func (o *ObjectMeta) GetOwnerReferences() []OwnerReference
GetOwnerReferences returns the OwnerReferences field value if set, zero value otherwise.
func (*ObjectMeta) GetOwnerReferencesOk ¶
func (o *ObjectMeta) GetOwnerReferencesOk() ([]OwnerReference, bool)
GetOwnerReferencesOk returns a tuple with the OwnerReferences field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectMeta) GetResourceVersion ¶
func (o *ObjectMeta) GetResourceVersion() string
GetResourceVersion returns the ResourceVersion field value if set, zero value otherwise.
func (*ObjectMeta) GetResourceVersionOk ¶
func (o *ObjectMeta) GetResourceVersionOk() (*string, bool)
GetResourceVersionOk returns a tuple with the ResourceVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectMeta) GetUidOk ¶
func (o *ObjectMeta) GetUidOk() (*string, bool)
GetUidOk returns a tuple with the Uid field value and a boolean to check if the value has been set.
func (*ObjectMeta) HasAnnotations ¶
func (o *ObjectMeta) HasAnnotations() bool
HasAnnotations returns a boolean if a field has been set.
func (*ObjectMeta) HasCreationTimestamp ¶
func (o *ObjectMeta) HasCreationTimestamp() bool
HasCreationTimestamp returns a boolean if a field has been set.
func (*ObjectMeta) HasDeletionGracePeriodSeconds ¶
func (o *ObjectMeta) HasDeletionGracePeriodSeconds() bool
HasDeletionGracePeriodSeconds returns a boolean if a field has been set.
func (*ObjectMeta) HasDeletionTimestamp ¶
func (o *ObjectMeta) HasDeletionTimestamp() bool
HasDeletionTimestamp returns a boolean if a field has been set.
func (*ObjectMeta) HasFinalizers ¶
func (o *ObjectMeta) HasFinalizers() bool
HasFinalizers returns a boolean if a field has been set.
func (*ObjectMeta) HasGenerateName ¶
func (o *ObjectMeta) HasGenerateName() bool
HasGenerateName returns a boolean if a field has been set.
func (*ObjectMeta) HasGeneration ¶
func (o *ObjectMeta) HasGeneration() bool
HasGeneration returns a boolean if a field has been set.
func (*ObjectMeta) HasLabels ¶
func (o *ObjectMeta) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*ObjectMeta) HasManagedFields ¶
func (o *ObjectMeta) HasManagedFields() bool
HasManagedFields returns a boolean if a field has been set.
func (*ObjectMeta) HasNamespace ¶
func (o *ObjectMeta) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*ObjectMeta) HasOwnerReferences ¶
func (o *ObjectMeta) HasOwnerReferences() bool
HasOwnerReferences returns a boolean if a field has been set.
func (*ObjectMeta) HasResourceVersion ¶
func (o *ObjectMeta) HasResourceVersion() bool
HasResourceVersion returns a boolean if a field has been set.
func (ObjectMeta) MarshalJSON ¶
func (o ObjectMeta) MarshalJSON() ([]byte, error)
func (*ObjectMeta) SetAnnotations ¶
func (o *ObjectMeta) SetAnnotations(v map[string]string)
SetAnnotations gets a reference to the given map[string]string and assigns it to the Annotations field.
func (*ObjectMeta) SetCreationTimestamp ¶
func (o *ObjectMeta) SetCreationTimestamp(v time.Time)
SetCreationTimestamp gets a reference to the given time.Time and assigns it to the CreationTimestamp field.
func (*ObjectMeta) SetDeletionGracePeriodSeconds ¶
func (o *ObjectMeta) SetDeletionGracePeriodSeconds(v int64)
SetDeletionGracePeriodSeconds gets a reference to the given int64 and assigns it to the DeletionGracePeriodSeconds field.
func (*ObjectMeta) SetDeletionTimestamp ¶
func (o *ObjectMeta) SetDeletionTimestamp(v time.Time)
SetDeletionTimestamp gets a reference to the given time.Time and assigns it to the DeletionTimestamp field.
func (*ObjectMeta) SetFinalizers ¶
func (o *ObjectMeta) SetFinalizers(v []string)
SetFinalizers gets a reference to the given []string and assigns it to the Finalizers field.
func (*ObjectMeta) SetGenerateName ¶
func (o *ObjectMeta) SetGenerateName(v string)
SetGenerateName gets a reference to the given string and assigns it to the GenerateName field.
func (*ObjectMeta) SetGeneration ¶
func (o *ObjectMeta) SetGeneration(v int64)
SetGeneration gets a reference to the given int64 and assigns it to the Generation field.
func (*ObjectMeta) SetLabels ¶
func (o *ObjectMeta) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*ObjectMeta) SetManagedFields ¶
func (o *ObjectMeta) SetManagedFields(v []ManagedFieldsEntry)
SetManagedFields gets a reference to the given []ManagedFieldsEntry and assigns it to the ManagedFields field.
func (*ObjectMeta) SetNamespace ¶
func (o *ObjectMeta) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*ObjectMeta) SetOwnerReferences ¶
func (o *ObjectMeta) SetOwnerReferences(v []OwnerReference)
SetOwnerReferences gets a reference to the given []OwnerReference and assigns it to the OwnerReferences field.
func (*ObjectMeta) SetResourceVersion ¶
func (o *ObjectMeta) SetResourceVersion(v string)
SetResourceVersion gets a reference to the given string and assigns it to the ResourceVersion field.
type OwnerReference ¶
type OwnerReference struct { // UID of the referent. Uid string `json:"uid"` // Name of the referent. Name string `json:"name"` // Kind of the referent. Kind string `json:"kind"` // If true, AND if the owner has the 'foregroundDeletion' finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. BlockOwnerDeletion *bool `json:"blockOwnerDeletion,omitempty"` // If true, this reference points to the managing controller. Controller *bool `json:"controller,omitempty"` }
OwnerReference OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.
func NewOwnerReference ¶
func NewOwnerReference(uid string, name string, kind string) *OwnerReference
NewOwnerReference instantiates a new OwnerReference object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOwnerReferenceWithDefaults ¶
func NewOwnerReferenceWithDefaults() *OwnerReference
NewOwnerReferenceWithDefaults instantiates a new OwnerReference object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OwnerReference) GetBlockOwnerDeletion ¶
func (o *OwnerReference) GetBlockOwnerDeletion() bool
GetBlockOwnerDeletion returns the BlockOwnerDeletion field value if set, zero value otherwise.
func (*OwnerReference) GetBlockOwnerDeletionOk ¶
func (o *OwnerReference) GetBlockOwnerDeletionOk() (*bool, bool)
GetBlockOwnerDeletionOk returns a tuple with the BlockOwnerDeletion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OwnerReference) GetController ¶
func (o *OwnerReference) GetController() bool
GetController returns the Controller field value if set, zero value otherwise.
func (*OwnerReference) GetControllerOk ¶
func (o *OwnerReference) GetControllerOk() (*bool, bool)
GetControllerOk returns a tuple with the Controller field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OwnerReference) GetKind ¶
func (o *OwnerReference) GetKind() string
GetKind returns the Kind field value
func (*OwnerReference) GetKindOk ¶
func (o *OwnerReference) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*OwnerReference) GetName ¶
func (o *OwnerReference) GetName() string
GetName returns the Name field value
func (*OwnerReference) GetNameOk ¶
func (o *OwnerReference) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*OwnerReference) GetUid ¶
func (o *OwnerReference) GetUid() string
GetUid returns the Uid field value
func (*OwnerReference) GetUidOk ¶
func (o *OwnerReference) GetUidOk() (*string, bool)
GetUidOk returns a tuple with the Uid field value and a boolean to check if the value has been set.
func (*OwnerReference) HasBlockOwnerDeletion ¶
func (o *OwnerReference) HasBlockOwnerDeletion() bool
HasBlockOwnerDeletion returns a boolean if a field has been set.
func (*OwnerReference) HasController ¶
func (o *OwnerReference) HasController() bool
HasController returns a boolean if a field has been set.
func (OwnerReference) MarshalJSON ¶
func (o OwnerReference) MarshalJSON() ([]byte, error)
func (*OwnerReference) SetBlockOwnerDeletion ¶
func (o *OwnerReference) SetBlockOwnerDeletion(v bool)
SetBlockOwnerDeletion gets a reference to the given bool and assigns it to the BlockOwnerDeletion field.
func (*OwnerReference) SetController ¶
func (o *OwnerReference) SetController(v bool)
SetController gets a reference to the given bool and assigns it to the Controller field.
func (*OwnerReference) SetKind ¶
func (o *OwnerReference) SetKind(v string)
SetKind sets field value
func (*OwnerReference) SetName ¶
func (o *OwnerReference) SetName(v string)
SetName sets field value
type PolicyRule ¶
type PolicyRule struct { // APIGroups is the name of the APIGroup that contains the resources. ApiGroups []string `json:"apiGroups,omitempty"` // NonResourceURLs is a set of partial URLs that a user should have access to. NonResourceURLs []string `json:"nonResourceURLs,omitempty"` // ResourceNames is an optional white list of names that the rule applies to. ResourceNames []string `json:"resourceNames,omitempty"` // Resources is a list of resources this rule applies to. Resources []string `json:"resources,omitempty"` // Verbs is a list of Verbs that apply to all ResourceKinds contained in this rule. Verbs []string `json:"verbs"` }
PolicyRule PolicyRule holds information that describes a policy rule.
func NewPolicyRule ¶
func NewPolicyRule(verbs []string) *PolicyRule
NewPolicyRule instantiates a new PolicyRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPolicyRuleWithDefaults ¶
func NewPolicyRuleWithDefaults() *PolicyRule
NewPolicyRuleWithDefaults instantiates a new PolicyRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PolicyRule) GetApiGroups ¶
func (o *PolicyRule) GetApiGroups() []string
GetApiGroups returns the ApiGroups field value if set, zero value otherwise.
func (*PolicyRule) GetApiGroupsOk ¶
func (o *PolicyRule) GetApiGroupsOk() ([]string, bool)
GetApiGroupsOk returns a tuple with the ApiGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicyRule) GetNonResourceURLs ¶
func (o *PolicyRule) GetNonResourceURLs() []string
GetNonResourceURLs returns the NonResourceURLs field value if set, zero value otherwise.
func (*PolicyRule) GetNonResourceURLsOk ¶
func (o *PolicyRule) GetNonResourceURLsOk() ([]string, bool)
GetNonResourceURLsOk returns a tuple with the NonResourceURLs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicyRule) GetResourceNames ¶
func (o *PolicyRule) GetResourceNames() []string
GetResourceNames returns the ResourceNames field value if set, zero value otherwise.
func (*PolicyRule) GetResourceNamesOk ¶
func (o *PolicyRule) GetResourceNamesOk() ([]string, bool)
GetResourceNamesOk returns a tuple with the ResourceNames field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicyRule) GetResources ¶
func (o *PolicyRule) GetResources() []string
GetResources returns the Resources field value if set, zero value otherwise.
func (*PolicyRule) GetResourcesOk ¶
func (o *PolicyRule) GetResourcesOk() ([]string, bool)
GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicyRule) GetVerbs ¶
func (o *PolicyRule) GetVerbs() []string
GetVerbs returns the Verbs field value
func (*PolicyRule) GetVerbsOk ¶
func (o *PolicyRule) GetVerbsOk() ([]string, bool)
GetVerbsOk returns a tuple with the Verbs field value and a boolean to check if the value has been set.
func (*PolicyRule) HasApiGroups ¶
func (o *PolicyRule) HasApiGroups() bool
HasApiGroups returns a boolean if a field has been set.
func (*PolicyRule) HasNonResourceURLs ¶
func (o *PolicyRule) HasNonResourceURLs() bool
HasNonResourceURLs returns a boolean if a field has been set.
func (*PolicyRule) HasResourceNames ¶
func (o *PolicyRule) HasResourceNames() bool
HasResourceNames returns a boolean if a field has been set.
func (*PolicyRule) HasResources ¶
func (o *PolicyRule) HasResources() bool
HasResources returns a boolean if a field has been set.
func (PolicyRule) MarshalJSON ¶
func (o PolicyRule) MarshalJSON() ([]byte, error)
func (*PolicyRule) SetApiGroups ¶
func (o *PolicyRule) SetApiGroups(v []string)
SetApiGroups gets a reference to the given []string and assigns it to the ApiGroups field.
func (*PolicyRule) SetNonResourceURLs ¶
func (o *PolicyRule) SetNonResourceURLs(v []string)
SetNonResourceURLs gets a reference to the given []string and assigns it to the NonResourceURLs field.
func (*PolicyRule) SetResourceNames ¶
func (o *PolicyRule) SetResourceNames(v []string)
SetResourceNames gets a reference to the given []string and assigns it to the ResourceNames field.
func (*PolicyRule) SetResources ¶
func (o *PolicyRule) SetResources(v []string)
SetResources gets a reference to the given []string and assigns it to the Resources field.
type RBACIncrementRequest ¶
type RBACIncrementRequest struct { Type string `json:"_type"` // Timestamp where the data was collected by the RBAC Agent CollectionTimestamp int64 `json:"collection_timestamp"` // Cluster name which identifies the scope of the RBAC data Cluster string `json:"cluster"` Changes []RbacDataChanges `json:"changes"` }
RBACIncrementRequest CreateInstanceRBACRequest holds the a snapshot of data or individual updates or RBAC data
func NewRBACIncrementRequest ¶
func NewRBACIncrementRequest(type_ string, collectionTimestamp int64, cluster string, changes []RbacDataChanges) *RBACIncrementRequest
NewRBACIncrementRequest instantiates a new RBACIncrementRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRBACIncrementRequestWithDefaults ¶
func NewRBACIncrementRequestWithDefaults() *RBACIncrementRequest
NewRBACIncrementRequestWithDefaults instantiates a new RBACIncrementRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RBACIncrementRequest) GetChanges ¶
func (o *RBACIncrementRequest) GetChanges() []RbacDataChanges
GetChanges returns the Changes field value
func (*RBACIncrementRequest) GetChangesOk ¶
func (o *RBACIncrementRequest) GetChangesOk() ([]RbacDataChanges, bool)
GetChangesOk returns a tuple with the Changes field value and a boolean to check if the value has been set.
func (*RBACIncrementRequest) GetCluster ¶
func (o *RBACIncrementRequest) GetCluster() string
GetCluster returns the Cluster field value
func (*RBACIncrementRequest) GetClusterOk ¶
func (o *RBACIncrementRequest) GetClusterOk() (*string, bool)
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.
func (*RBACIncrementRequest) GetCollectionTimestamp ¶
func (o *RBACIncrementRequest) GetCollectionTimestamp() int64
GetCollectionTimestamp returns the CollectionTimestamp field value
func (*RBACIncrementRequest) GetCollectionTimestampOk ¶
func (o *RBACIncrementRequest) GetCollectionTimestampOk() (*int64, bool)
GetCollectionTimestampOk returns a tuple with the CollectionTimestamp field value and a boolean to check if the value has been set.
func (*RBACIncrementRequest) GetType ¶
func (o *RBACIncrementRequest) GetType() string
GetType returns the Type field value
func (*RBACIncrementRequest) GetTypeOk ¶
func (o *RBACIncrementRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (RBACIncrementRequest) MarshalJSON ¶
func (o RBACIncrementRequest) MarshalJSON() ([]byte, error)
func (*RBACIncrementRequest) SetChanges ¶
func (o *RBACIncrementRequest) SetChanges(v []RbacDataChanges)
SetChanges sets field value
func (*RBACIncrementRequest) SetCluster ¶
func (o *RBACIncrementRequest) SetCluster(v string)
SetCluster sets field value
func (*RBACIncrementRequest) SetCollectionTimestamp ¶
func (o *RBACIncrementRequest) SetCollectionTimestamp(v int64)
SetCollectionTimestamp sets field value
func (*RBACIncrementRequest) SetType ¶
func (o *RBACIncrementRequest) SetType(v string)
SetType sets field value
type RBACRequest ¶
type RBACRequest struct { RBACIncrementRequest *RBACIncrementRequest RBACSnapshotRequest *RBACSnapshotRequest }
RBACRequest - RBACRequest holds the data needed to create or update RBAC objects
func RBACIncrementRequestAsRBACRequest ¶
func RBACIncrementRequestAsRBACRequest(v *RBACIncrementRequest) RBACRequest
RBACIncrementRequestAsRBACRequest is a convenience function that returns RBACIncrementRequest wrapped in RBACRequest
func RBACSnapshotRequestAsRBACRequest ¶
func RBACSnapshotRequestAsRBACRequest(v *RBACSnapshotRequest) RBACRequest
RBACSnapshotRequestAsRBACRequest is a convenience function that returns RBACSnapshotRequest wrapped in RBACRequest
func (*RBACRequest) GetActualInstance ¶
func (obj *RBACRequest) GetActualInstance() interface{}
Get the actual instance
func (RBACRequest) MarshalJSON ¶
func (src RBACRequest) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*RBACRequest) UnmarshalJSON ¶
func (dst *RBACRequest) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type RBACResponseError ¶
RBACResponseError struct for RBACResponseError
func NewRBACResponseError ¶
func NewRBACResponseError(message string, type_ string) *RBACResponseError
NewRBACResponseError instantiates a new RBACResponseError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRBACResponseErrorWithDefaults ¶
func NewRBACResponseErrorWithDefaults() *RBACResponseError
NewRBACResponseErrorWithDefaults instantiates a new RBACResponseError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RBACResponseError) GetMessage ¶
func (o *RBACResponseError) GetMessage() string
GetMessage returns the Message field value
func (*RBACResponseError) GetMessageOk ¶
func (o *RBACResponseError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*RBACResponseError) GetType ¶
func (o *RBACResponseError) GetType() string
GetType returns the Type field value
func (*RBACResponseError) GetTypeOk ¶
func (o *RBACResponseError) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (RBACResponseError) MarshalJSON ¶
func (o RBACResponseError) MarshalJSON() ([]byte, error)
func (*RBACResponseError) SetMessage ¶
func (o *RBACResponseError) SetMessage(v string)
SetMessage sets field value
func (*RBACResponseError) SetType ¶
func (o *RBACResponseError) SetType(v string)
SetType sets field value
type RBACSnapshotRequest ¶
type RBACSnapshotRequest struct { Type string `json:"_type"` // Timestamp where the data was collected by the RBAC Agent CollectionTimestamp int64 `json:"collection_timestamp"` // Incremental number for snapshot batches. Helpful to detect incomplete snapshots that could lead to incorrect conclusions. Sequence int32 `json:"sequence"` // Cluster name which identifies the scope of the RBAC data Cluster string `json:"cluster"` StartSnapshot *StartSnapshot `json:"start_snapshot,omitempty"` // Object that signals that an open Snapshot needs to be closed after ingesting the RBAC data StopSnapshot map[string]interface{} `json:"stop_snapshot,omitempty"` RbacData []RbacData `json:"rbac_data"` }
RBACSnapshotRequest RBACSnapshotRequest holds a complete or partial snapshot of RBAC data
func NewRBACSnapshotRequest ¶
func NewRBACSnapshotRequest(type_ string, collectionTimestamp int64, sequence int32, cluster string, rbacData []RbacData) *RBACSnapshotRequest
NewRBACSnapshotRequest instantiates a new RBACSnapshotRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRBACSnapshotRequestWithDefaults ¶
func NewRBACSnapshotRequestWithDefaults() *RBACSnapshotRequest
NewRBACSnapshotRequestWithDefaults instantiates a new RBACSnapshotRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RBACSnapshotRequest) GetCluster ¶
func (o *RBACSnapshotRequest) GetCluster() string
GetCluster returns the Cluster field value
func (*RBACSnapshotRequest) GetClusterOk ¶
func (o *RBACSnapshotRequest) GetClusterOk() (*string, bool)
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.
func (*RBACSnapshotRequest) GetCollectionTimestamp ¶
func (o *RBACSnapshotRequest) GetCollectionTimestamp() int64
GetCollectionTimestamp returns the CollectionTimestamp field value
func (*RBACSnapshotRequest) GetCollectionTimestampOk ¶
func (o *RBACSnapshotRequest) GetCollectionTimestampOk() (*int64, bool)
GetCollectionTimestampOk returns a tuple with the CollectionTimestamp field value and a boolean to check if the value has been set.
func (*RBACSnapshotRequest) GetRbacData ¶
func (o *RBACSnapshotRequest) GetRbacData() []RbacData
GetRbacData returns the RbacData field value
func (*RBACSnapshotRequest) GetRbacDataOk ¶
func (o *RBACSnapshotRequest) GetRbacDataOk() ([]RbacData, bool)
GetRbacDataOk returns a tuple with the RbacData field value and a boolean to check if the value has been set.
func (*RBACSnapshotRequest) GetSequence ¶
func (o *RBACSnapshotRequest) GetSequence() int32
GetSequence returns the Sequence field value
func (*RBACSnapshotRequest) GetSequenceOk ¶
func (o *RBACSnapshotRequest) GetSequenceOk() (*int32, bool)
GetSequenceOk returns a tuple with the Sequence field value and a boolean to check if the value has been set.
func (*RBACSnapshotRequest) GetStartSnapshot ¶
func (o *RBACSnapshotRequest) GetStartSnapshot() StartSnapshot
GetStartSnapshot returns the StartSnapshot field value if set, zero value otherwise.
func (*RBACSnapshotRequest) GetStartSnapshotOk ¶
func (o *RBACSnapshotRequest) GetStartSnapshotOk() (*StartSnapshot, bool)
GetStartSnapshotOk returns a tuple with the StartSnapshot field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RBACSnapshotRequest) GetStopSnapshot ¶
func (o *RBACSnapshotRequest) GetStopSnapshot() map[string]interface{}
GetStopSnapshot returns the StopSnapshot field value if set, zero value otherwise.
func (*RBACSnapshotRequest) GetStopSnapshotOk ¶
func (o *RBACSnapshotRequest) GetStopSnapshotOk() (map[string]interface{}, bool)
GetStopSnapshotOk returns a tuple with the StopSnapshot field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RBACSnapshotRequest) GetType ¶
func (o *RBACSnapshotRequest) GetType() string
GetType returns the Type field value
func (*RBACSnapshotRequest) GetTypeOk ¶
func (o *RBACSnapshotRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RBACSnapshotRequest) HasStartSnapshot ¶
func (o *RBACSnapshotRequest) HasStartSnapshot() bool
HasStartSnapshot returns a boolean if a field has been set.
func (*RBACSnapshotRequest) HasStopSnapshot ¶
func (o *RBACSnapshotRequest) HasStopSnapshot() bool
HasStopSnapshot returns a boolean if a field has been set.
func (RBACSnapshotRequest) MarshalJSON ¶
func (o RBACSnapshotRequest) MarshalJSON() ([]byte, error)
func (*RBACSnapshotRequest) SetCluster ¶
func (o *RBACSnapshotRequest) SetCluster(v string)
SetCluster sets field value
func (*RBACSnapshotRequest) SetCollectionTimestamp ¶
func (o *RBACSnapshotRequest) SetCollectionTimestamp(v int64)
SetCollectionTimestamp sets field value
func (*RBACSnapshotRequest) SetRbacData ¶
func (o *RBACSnapshotRequest) SetRbacData(v []RbacData)
SetRbacData sets field value
func (*RBACSnapshotRequest) SetSequence ¶
func (o *RBACSnapshotRequest) SetSequence(v int32)
SetSequence sets field value
func (*RBACSnapshotRequest) SetStartSnapshot ¶
func (o *RBACSnapshotRequest) SetStartSnapshot(v StartSnapshot)
SetStartSnapshot gets a reference to the given StartSnapshot and assigns it to the StartSnapshot field.
func (*RBACSnapshotRequest) SetStopSnapshot ¶
func (o *RBACSnapshotRequest) SetStopSnapshot(v map[string]interface{})
SetStopSnapshot gets a reference to the given map[string]interface{} and assigns it to the StopSnapshot field.
func (*RBACSnapshotRequest) SetType ¶
func (o *RBACSnapshotRequest) SetType(v string)
SetType sets field value
type RbacData ¶
type RbacData struct { ClusterRole *ClusterRole ClusterRoleBinding *ClusterRoleBinding Role *Role RoleBinding *RoleBinding }
RbacData - struct for RbacData
func ClusterRoleAsRbacData ¶
func ClusterRoleAsRbacData(v *ClusterRole) RbacData
ClusterRoleAsRbacData is a convenience function that returns ClusterRole wrapped in RbacData
func ClusterRoleBindingAsRbacData ¶
func ClusterRoleBindingAsRbacData(v *ClusterRoleBinding) RbacData
ClusterRoleBindingAsRbacData is a convenience function that returns ClusterRoleBinding wrapped in RbacData
func RoleAsRbacData ¶
RoleAsRbacData is a convenience function that returns Role wrapped in RbacData
func RoleBindingAsRbacData ¶
func RoleBindingAsRbacData(v *RoleBinding) RbacData
RoleBindingAsRbacData is a convenience function that returns RoleBinding wrapped in RbacData
func (*RbacData) GetActualInstance ¶
func (obj *RbacData) GetActualInstance() interface{}
Get the actual instance
func (RbacData) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*RbacData) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type RbacDataChanges ¶
type RbacDataChanges struct { CreateRbacData *CreateRbacData DeleteRbacData *DeleteRbacData UpdateRbacData *UpdateRbacData }
RbacDataChanges - struct for RbacDataChanges
func CreateRbacDataAsRbacDataChanges ¶
func CreateRbacDataAsRbacDataChanges(v *CreateRbacData) RbacDataChanges
CreateRbacDataAsRbacDataChanges is a convenience function that returns CreateRbacData wrapped in RbacDataChanges
func DeleteRbacDataAsRbacDataChanges ¶
func DeleteRbacDataAsRbacDataChanges(v *DeleteRbacData) RbacDataChanges
DeleteRbacDataAsRbacDataChanges is a convenience function that returns DeleteRbacData wrapped in RbacDataChanges
func UpdateRbacDataAsRbacDataChanges ¶
func UpdateRbacDataAsRbacDataChanges(v *UpdateRbacData) RbacDataChanges
UpdateRbacDataAsRbacDataChanges is a convenience function that returns UpdateRbacData wrapped in RbacDataChanges
func (*RbacDataChanges) GetActualInstance ¶
func (obj *RbacDataChanges) GetActualInstance() interface{}
Get the actual instance
func (RbacDataChanges) MarshalJSON ¶
func (src RbacDataChanges) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*RbacDataChanges) UnmarshalJSON ¶
func (dst *RbacDataChanges) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type ReceiverRbacInstanceAPI ¶
type ReceiverRbacInstanceAPI interface { /* IngestInstanceRBAC Create instance RBAC objects Ingest RBAC data snapshots to build a scoped authorization model for data access for the server API @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiIngestInstanceRBACRequest */ IngestInstanceRBAC(ctx context.Context) ApiIngestInstanceRBACRequest // IngestInstanceRBACExecute executes the request IngestInstanceRBACExecute(r ApiIngestInstanceRBACRequest) (*http.Response, error) }
type ReceiverRbacInstanceAPIMock ¶
type ReceiverRbacInstanceAPIMock struct { IngestInstanceRBACCalls *[]IngestInstanceRBACCall IngestInstanceRBACResponse IngestInstanceRBACMockResponse }
func NewReceiverRbacInstanceAPIMock ¶
func NewReceiverRbacInstanceAPIMock() ReceiverRbacInstanceAPIMock
func (ReceiverRbacInstanceAPIMock) IngestInstanceRBAC ¶
func (mock ReceiverRbacInstanceAPIMock) IngestInstanceRBAC(ctx context.Context) ApiIngestInstanceRBACRequest
func (ReceiverRbacInstanceAPIMock) IngestInstanceRBACExecute ¶
func (mock ReceiverRbacInstanceAPIMock) IngestInstanceRBACExecute(r ApiIngestInstanceRBACRequest) (*http.Response, error)
type ReceiverRbacInstanceAPIService ¶
type ReceiverRbacInstanceAPIService service
ReceiverRbacInstanceAPIService ReceiverRbacInstanceAPI service
func (*ReceiverRbacInstanceAPIService) IngestInstanceRBAC ¶
func (a *ReceiverRbacInstanceAPIService) IngestInstanceRBAC(ctx context.Context) ApiIngestInstanceRBACRequest
IngestInstanceRBAC Create instance RBAC objects
Ingest RBAC data snapshots to build a scoped authorization model for data access for the server API
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiIngestInstanceRBACRequest
func (*ReceiverRbacInstanceAPIService) IngestInstanceRBACExecute ¶
func (a *ReceiverRbacInstanceAPIService) IngestInstanceRBACExecute(r ApiIngestInstanceRBACRequest) (*http.Response, error)
Execute executes the request
type ReceiverRbacScopeAPI ¶
type ReceiverRbacScopeAPI interface { /* IngestScopeRBAC Create scope RBAC objects Ingest RBAC data snapshots to build a scoped authorization model for data access for the server API @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiIngestScopeRBACRequest */ IngestScopeRBAC(ctx context.Context) ApiIngestScopeRBACRequest // IngestScopeRBACExecute executes the request IngestScopeRBACExecute(r ApiIngestScopeRBACRequest) (*http.Response, error) }
type ReceiverRbacScopeAPIMock ¶
type ReceiverRbacScopeAPIMock struct { IngestScopeRBACCalls *[]IngestScopeRBACCall IngestScopeRBACResponse IngestScopeRBACMockResponse }
func NewReceiverRbacScopeAPIMock ¶
func NewReceiverRbacScopeAPIMock() ReceiverRbacScopeAPIMock
func (ReceiverRbacScopeAPIMock) IngestScopeRBAC ¶
func (mock ReceiverRbacScopeAPIMock) IngestScopeRBAC(ctx context.Context) ApiIngestScopeRBACRequest
func (ReceiverRbacScopeAPIMock) IngestScopeRBACExecute ¶
func (mock ReceiverRbacScopeAPIMock) IngestScopeRBACExecute(r ApiIngestScopeRBACRequest) (*http.Response, error)
type ReceiverRbacScopeAPIService ¶
type ReceiverRbacScopeAPIService service
ReceiverRbacScopeAPIService ReceiverRbacScopeAPI service
func (*ReceiverRbacScopeAPIService) IngestScopeRBAC ¶
func (a *ReceiverRbacScopeAPIService) IngestScopeRBAC(ctx context.Context) ApiIngestScopeRBACRequest
IngestScopeRBAC Create scope RBAC objects
Ingest RBAC data snapshots to build a scoped authorization model for data access for the server API
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiIngestScopeRBACRequest
func (*ReceiverRbacScopeAPIService) IngestScopeRBACExecute ¶
func (a *ReceiverRbacScopeAPIService) IngestScopeRBACExecute(r ApiIngestScopeRBACRequest) (*http.Response, error)
Execute executes the request
type Role ¶
type Role struct { // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. Kind string `json:"kind"` Metadata ObjectMeta `json:"metadata"` // Rules holds all the PolicyRules for this Role. Rules []PolicyRule `json:"rules,omitempty"` }
Role Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
func NewRole ¶
func NewRole(kind string, metadata ObjectMeta) *Role
NewRole instantiates a new Role object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRoleWithDefaults ¶
func NewRoleWithDefaults() *Role
NewRoleWithDefaults instantiates a new Role object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Role) GetKindOk ¶
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*Role) GetMetadata ¶
func (o *Role) GetMetadata() ObjectMeta
GetMetadata returns the Metadata field value
func (*Role) GetMetadataOk ¶
func (o *Role) GetMetadataOk() (*ObjectMeta, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.
func (*Role) GetRules ¶
func (o *Role) GetRules() []PolicyRule
GetRules returns the Rules field value if set, zero value otherwise.
func (*Role) GetRulesOk ¶
func (o *Role) GetRulesOk() ([]PolicyRule, bool)
GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.
func (Role) MarshalJSON ¶
func (*Role) SetRules ¶
func (o *Role) SetRules(v []PolicyRule)
SetRules gets a reference to the given []PolicyRule and assigns it to the Rules field.
type RoleBinding ¶
type RoleBinding struct { // Kind is a string value representing the REST resource this object represents. Kind string `json:"kind"` Metadata ObjectMeta `json:"metadata"` RoleRef RoleRef `json:"roleRef"` // Subjects holds references to the objects the role applies to. Subjects []Subject `json:"subjects,omitempty"` }
RoleBinding RoleBinding references a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in.
func NewRoleBinding ¶
func NewRoleBinding(kind string, metadata ObjectMeta, roleRef RoleRef) *RoleBinding
NewRoleBinding instantiates a new RoleBinding object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRoleBindingWithDefaults ¶
func NewRoleBindingWithDefaults() *RoleBinding
NewRoleBindingWithDefaults instantiates a new RoleBinding object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RoleBinding) GetKind ¶
func (o *RoleBinding) GetKind() string
GetKind returns the Kind field value
func (*RoleBinding) GetKindOk ¶
func (o *RoleBinding) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*RoleBinding) GetMetadata ¶
func (o *RoleBinding) GetMetadata() ObjectMeta
GetMetadata returns the Metadata field value
func (*RoleBinding) GetMetadataOk ¶
func (o *RoleBinding) GetMetadataOk() (*ObjectMeta, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.
func (*RoleBinding) GetRoleRef ¶
func (o *RoleBinding) GetRoleRef() RoleRef
GetRoleRef returns the RoleRef field value
func (*RoleBinding) GetRoleRefOk ¶
func (o *RoleBinding) GetRoleRefOk() (*RoleRef, bool)
GetRoleRefOk returns a tuple with the RoleRef field value and a boolean to check if the value has been set.
func (*RoleBinding) GetSubjects ¶
func (o *RoleBinding) GetSubjects() []Subject
GetSubjects returns the Subjects field value if set, zero value otherwise.
func (*RoleBinding) GetSubjectsOk ¶
func (o *RoleBinding) GetSubjectsOk() ([]Subject, bool)
GetSubjectsOk returns a tuple with the Subjects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleBinding) HasSubjects ¶
func (o *RoleBinding) HasSubjects() bool
HasSubjects returns a boolean if a field has been set.
func (RoleBinding) MarshalJSON ¶
func (o RoleBinding) MarshalJSON() ([]byte, error)
func (*RoleBinding) SetMetadata ¶
func (o *RoleBinding) SetMetadata(v ObjectMeta)
SetMetadata sets field value
func (*RoleBinding) SetRoleRef ¶
func (o *RoleBinding) SetRoleRef(v RoleRef)
SetRoleRef sets field value
func (*RoleBinding) SetSubjects ¶
func (o *RoleBinding) SetSubjects(v []Subject)
SetSubjects gets a reference to the given []Subject and assigns it to the Subjects field.
type RoleRef ¶
type RoleRef struct { // APIGroup is the group for the resource being referenced ApiGroup string `json:"apiGroup"` // Kind is the type of resource being referenced Kind string `json:"kind"` // Name is the name of resource being referenced Name string `json:"name"` }
RoleRef RoleRef contains information that points to the role being used
func NewRoleRef ¶
NewRoleRef instantiates a new RoleRef object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRoleRefWithDefaults ¶
func NewRoleRefWithDefaults() *RoleRef
NewRoleRefWithDefaults instantiates a new RoleRef object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RoleRef) GetApiGroup ¶
GetApiGroup returns the ApiGroup field value
func (*RoleRef) GetApiGroupOk ¶
GetApiGroupOk returns a tuple with the ApiGroup field value and a boolean to check if the value has been set.
func (*RoleRef) GetKindOk ¶
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*RoleRef) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (RoleRef) MarshalJSON ¶
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type StartSnapshot ¶
type StartSnapshot struct { // Number of seconds when the RBAC Agent will send the following snapshot. Heartbeat of the Agent RepeatIntervalS *int64 `json:"repeat_interval_s,omitempty"` }
StartSnapshot Object that signals that the RBAC data belongs to a new Snapshot
func NewStartSnapshot ¶
func NewStartSnapshot() *StartSnapshot
NewStartSnapshot instantiates a new StartSnapshot object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStartSnapshotWithDefaults ¶
func NewStartSnapshotWithDefaults() *StartSnapshot
NewStartSnapshotWithDefaults instantiates a new StartSnapshot object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StartSnapshot) GetRepeatIntervalS ¶
func (o *StartSnapshot) GetRepeatIntervalS() int64
GetRepeatIntervalS returns the RepeatIntervalS field value if set, zero value otherwise.
func (*StartSnapshot) GetRepeatIntervalSOk ¶
func (o *StartSnapshot) GetRepeatIntervalSOk() (*int64, bool)
GetRepeatIntervalSOk returns a tuple with the RepeatIntervalS field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StartSnapshot) HasRepeatIntervalS ¶
func (o *StartSnapshot) HasRepeatIntervalS() bool
HasRepeatIntervalS returns a boolean if a field has been set.
func (StartSnapshot) MarshalJSON ¶
func (o StartSnapshot) MarshalJSON() ([]byte, error)
func (*StartSnapshot) SetRepeatIntervalS ¶
func (o *StartSnapshot) SetRepeatIntervalS(v int64)
SetRepeatIntervalS gets a reference to the given int64 and assigns it to the RepeatIntervalS field.
type Subject ¶
type Subject struct { // APIGroup holds the API group of the referenced subject. ApiGroup *string `json:"apiGroup,omitempty"` // Kind of object being referenced. Kind string `json:"kind"` // Name of the object being referenced. Name string `json:"name"` // Namespace of the referenced object. Namespace *string `json:"namespace,omitempty"` }
Subject Subject contains a reference to the object or user identities a role binding applies to.
func NewSubject ¶
NewSubject instantiates a new Subject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubjectWithDefaults ¶
func NewSubjectWithDefaults() *Subject
NewSubjectWithDefaults instantiates a new Subject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Subject) GetApiGroup ¶
GetApiGroup returns the ApiGroup field value if set, zero value otherwise.
func (*Subject) GetApiGroupOk ¶
GetApiGroupOk returns a tuple with the ApiGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subject) GetKindOk ¶
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*Subject) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Subject) GetNamespace ¶
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*Subject) GetNamespaceOk ¶
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subject) HasApiGroup ¶
HasApiGroup returns a boolean if a field has been set.
func (*Subject) HasNamespace ¶
HasNamespace returns a boolean if a field has been set.
func (Subject) MarshalJSON ¶
func (*Subject) SetApiGroup ¶
SetApiGroup gets a reference to the given string and assigns it to the ApiGroup field.
func (*Subject) SetNamespace ¶
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
type UpdateRbacData ¶
UpdateRbacData Defines a RBAC resource that needs to be updated
func NewUpdateRbacData ¶
func NewUpdateRbacData(type_ string, resource RbacData) *UpdateRbacData
NewUpdateRbacData instantiates a new UpdateRbacData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateRbacDataWithDefaults ¶
func NewUpdateRbacDataWithDefaults() *UpdateRbacData
NewUpdateRbacDataWithDefaults instantiates a new UpdateRbacData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateRbacData) GetResource ¶
func (o *UpdateRbacData) GetResource() RbacData
GetResource returns the Resource field value
func (*UpdateRbacData) GetResourceOk ¶
func (o *UpdateRbacData) GetResourceOk() (*RbacData, bool)
GetResourceOk returns a tuple with the Resource field value and a boolean to check if the value has been set.
func (*UpdateRbacData) GetType ¶
func (o *UpdateRbacData) GetType() string
GetType returns the Type field value
func (*UpdateRbacData) GetTypeOk ¶
func (o *UpdateRbacData) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (UpdateRbacData) MarshalJSON ¶
func (o UpdateRbacData) MarshalJSON() ([]byte, error)
func (*UpdateRbacData) SetResource ¶
func (o *UpdateRbacData) SetResource(v RbacData)
SetResource sets field value
func (*UpdateRbacData) SetType ¶
func (o *UpdateRbacData) SetType(v string)
SetType sets field value
Source Files
¶
- api_features.go
- api_receiver_rbac_instance.go
- api_receiver_rbac_scope.go
- client.go
- configuration.go
- model_aggregation_rule.go
- model_cluster_role.go
- model_cluster_role_binding.go
- model_create_rbac_data.go
- model_delete_rbac_data.go
- model_label_selector.go
- model_label_selector_requirement.go
- model_managed_fields_entry.go
- model_object_meta.go
- model_owner_reference.go
- model_policy_rule.go
- model_rbac_data.go
- model_rbac_data_changes.go
- model_rbac_increment_request.go
- model_rbac_request.go
- model_rbac_response_error.go
- model_rbac_snapshot_request.go
- model_role.go
- model_role_binding.go
- model_role_ref.go
- model_start_snapshot.go
- model_subject.go
- model_update_rbac_data.go
- response.go
- utils.go