config

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 3 Imported by: 0

Documentation

Overview

Package config is the internal version of the API.

Index

Constants

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

GroupName is the group name used in this package

Variables

View Source
var (
	// SchemeBuilder is the scheme builder with scheme init functions to run for this API package
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

This section is empty.

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.

Directories

Path Synopsis
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.

Jump to

Keyboard shortcuts

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