v1

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 6 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=audit.config.tkestack.io

Index

Constants

View Source
const GroupName = "audit.config.tkestack.io"

GroupName is the group name use in this package.

View Source
const Version = "v1"

Variables

View Source
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
)
View Source
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

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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

type AuditConfiguration struct {
	metav1.TypeMeta

	Storage Storage `json:"storage"`
}

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

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

func (in *Storage) DeepCopy() *Storage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.

func (*Storage) DeepCopyInto

func (in *Storage) DeepCopyInto(out *Storage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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