kubeaccess

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_resource_definitions_kubeaccess_kubeaccess_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConfigSpec

type ConfigSpec struct {
	Enabled                     bool     `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	AllowedApiRoles             []string `protobuf:"bytes,2,rep,name=allowed_api_roles,json=allowedApiRoles,proto3" json:"allowed_api_roles,omitempty"`
	AllowedKubernetesNamespaces []string `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

ConfigSpec describes KubeSpan configuration..

func (*ConfigSpec) Descriptor deprecated

func (*ConfigSpec) Descriptor() ([]byte, []int)

Deprecated: Use ConfigSpec.ProtoReflect.Descriptor instead.

func (*ConfigSpec) GetAllowedApiRoles

func (x *ConfigSpec) GetAllowedApiRoles() []string

func (*ConfigSpec) GetAllowedKubernetesNamespaces

func (x *ConfigSpec) GetAllowedKubernetesNamespaces() []string

func (*ConfigSpec) GetEnabled

func (x *ConfigSpec) GetEnabled() bool

func (*ConfigSpec) MarshalToSizedBufferVT

func (m *ConfigSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ConfigSpec) MarshalToVT

func (m *ConfigSpec) MarshalToVT(dAtA []byte) (int, error)

func (*ConfigSpec) MarshalVT

func (m *ConfigSpec) MarshalVT() (dAtA []byte, err error)

func (*ConfigSpec) ProtoMessage

func (*ConfigSpec) ProtoMessage()

func (*ConfigSpec) ProtoReflect

func (x *ConfigSpec) ProtoReflect() protoreflect.Message

func (*ConfigSpec) Reset

func (x *ConfigSpec) Reset()

func (*ConfigSpec) SizeVT

func (m *ConfigSpec) SizeVT() (n int)

func (*ConfigSpec) String

func (x *ConfigSpec) String() string

func (*ConfigSpec) UnmarshalVT

func (m *ConfigSpec) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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