Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=audit.config.tkestack.io
Index ¶
- Constants
- Variables
- func Convert_config_AuditConfiguration_To_v1_AuditConfiguration(in *config.AuditConfiguration, out *AuditConfiguration, s conversion.Scope) error
- func Convert_config_ElasticSearchStorage_To_v1_ElasticSearchStorage(in *config.ElasticSearchStorage, out *ElasticSearchStorage, s conversion.Scope) error
- func Convert_config_Storage_To_v1_Storage(in *config.Storage, out *Storage, s conversion.Scope) error
- func Convert_v1_AuditConfiguration_To_config_AuditConfiguration(in *AuditConfiguration, out *config.AuditConfiguration, s conversion.Scope) error
- func Convert_v1_ElasticSearchStorage_To_config_ElasticSearchStorage(in *ElasticSearchStorage, out *config.ElasticSearchStorage, s conversion.Scope) error
- func Convert_v1_Storage_To_config_Storage(in *Storage, out *config.Storage, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_AuditConfiguration(obj *AuditConfiguration)
- func SetObjectDefaults_AuditConfiguration(in *AuditConfiguration)
- type AuditConfiguration
- type ElasticSearchStorage
- type Storage
Constants ¶
const GroupName = "audit.config.tkestack.io"
GroupName is the group name use in this package.
const Version = "v1"
Variables ¶
var ( // SchemeBuilder collects functions that add things to a scheme. SchemeBuilder runtime.SchemeBuilder // AddToScheme applies all the stored functions to the scheme. AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_config_AuditConfiguration_To_v1_AuditConfiguration ¶
func Convert_config_AuditConfiguration_To_v1_AuditConfiguration(in *config.AuditConfiguration, out *AuditConfiguration, s conversion.Scope) error
Convert_config_AuditConfiguration_To_v1_AuditConfiguration is an autogenerated conversion function.
func Convert_config_ElasticSearchStorage_To_v1_ElasticSearchStorage ¶
func Convert_config_ElasticSearchStorage_To_v1_ElasticSearchStorage(in *config.ElasticSearchStorage, out *ElasticSearchStorage, s conversion.Scope) error
Convert_config_ElasticSearchStorage_To_v1_ElasticSearchStorage is an autogenerated conversion function.
func Convert_config_Storage_To_v1_Storage ¶
func Convert_config_Storage_To_v1_Storage(in *config.Storage, out *Storage, s conversion.Scope) error
Convert_config_Storage_To_v1_Storage is an autogenerated conversion function.
func Convert_v1_AuditConfiguration_To_config_AuditConfiguration ¶
func Convert_v1_AuditConfiguration_To_config_AuditConfiguration(in *AuditConfiguration, out *config.AuditConfiguration, s conversion.Scope) error
Convert_v1_AuditConfiguration_To_config_AuditConfiguration is an autogenerated conversion function.
func Convert_v1_ElasticSearchStorage_To_config_ElasticSearchStorage ¶
func Convert_v1_ElasticSearchStorage_To_config_ElasticSearchStorage(in *ElasticSearchStorage, out *config.ElasticSearchStorage, s conversion.Scope) error
Convert_v1_ElasticSearchStorage_To_config_ElasticSearchStorage is an autogenerated conversion function.
func Convert_v1_Storage_To_config_Storage ¶
func Convert_v1_Storage_To_config_Storage(in *Storage, out *config.Storage, s conversion.Scope) error
Convert_v1_Storage_To_config_Storage is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a LocalGroup qualified GroupResource
func SetDefaults_AuditConfiguration ¶
func SetDefaults_AuditConfiguration(obj *AuditConfiguration)
func SetObjectDefaults_AuditConfiguration ¶
func SetObjectDefaults_AuditConfiguration(in *AuditConfiguration)
Types ¶
type AuditConfiguration ¶
AuditConfiguration contains the configuration for the Audit
func (*AuditConfiguration) DeepCopy ¶
func (in *AuditConfiguration) DeepCopy() *AuditConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditConfiguration.
func (*AuditConfiguration) DeepCopyInto ¶
func (in *AuditConfiguration) DeepCopyInto(out *AuditConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuditConfiguration) DeepCopyObject ¶
func (in *AuditConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElasticSearchStorage ¶
type ElasticSearchStorage struct { Address string `json:"address"` // +optional Indices string `json:"indices"` // +optional ReserveDays int `json:"reserveDays"` // +optional Username string `json:"username"` // +optional Password string `json:"password"` }
func (*ElasticSearchStorage) DeepCopy ¶
func (in *ElasticSearchStorage) DeepCopy() *ElasticSearchStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticSearchStorage.
func (*ElasticSearchStorage) DeepCopyInto ¶
func (in *ElasticSearchStorage) DeepCopyInto(out *ElasticSearchStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Storage ¶
type Storage struct {
ElasticSearch *ElasticSearchStorage `json:"elasticSearch"`
}
func (*Storage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.
func (*Storage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.