v1beta1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1beta1 is a generated protocol buffer package.

It is generated from these files:

k8s.io/kubernetes/pkg/apis/certificates/v1beta1/generated.proto

It has these top-level messages:

CertificateSigningRequest
CertificateSigningRequestCondition
CertificateSigningRequestList
CertificateSigningRequestSpec
CertificateSigningRequestStatus
ExtraValue

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type CertificateSigningRequest

type CertificateSigningRequest struct {
	// +optional
	Metadata *k8s_io_kubernetes_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// The certificate request itself and any additional information.
	// +optional
	Spec *CertificateSigningRequestSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Derived information about the request.
	// +optional
	Status           *CertificateSigningRequestStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	XXX_unrecognized []byte                           `json:"-"`
}

Describes a certificate signing request

func (*CertificateSigningRequest) Descriptor

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

func (*CertificateSigningRequest) GetMetadata

func (*CertificateSigningRequest) GetSpec

func (*CertificateSigningRequest) GetStatus

func (*CertificateSigningRequest) Marshal

func (m *CertificateSigningRequest) Marshal() (dAtA []byte, err error)

func (*CertificateSigningRequest) MarshalTo

func (m *CertificateSigningRequest) MarshalTo(dAtA []byte) (int, error)

func (*CertificateSigningRequest) ProtoMessage

func (*CertificateSigningRequest) ProtoMessage()

func (*CertificateSigningRequest) Reset

func (m *CertificateSigningRequest) Reset()

func (*CertificateSigningRequest) Size

func (m *CertificateSigningRequest) Size() (n int)

func (*CertificateSigningRequest) String

func (m *CertificateSigningRequest) String() string

func (*CertificateSigningRequest) Unmarshal

func (m *CertificateSigningRequest) Unmarshal(dAtA []byte) error

type CertificateSigningRequestCondition

type CertificateSigningRequestCondition struct {
	// request approval state, currently Approved or Denied.
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// brief reason for the request state
	// +optional
	Reason *string `protobuf:"bytes,2,opt,name=reason" json:"reason,omitempty"`
	// human readable message with details about the request state
	// +optional
	Message *string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
	// timestamp for the last update to this condition
	// +optional
	LastUpdateTime   *k8s_io_kubernetes_pkg_apis_meta_v1.Time `protobuf:"bytes,4,opt,name=lastUpdateTime" json:"lastUpdateTime,omitempty"`
	XXX_unrecognized []byte                                   `json:"-"`
}

func (*CertificateSigningRequestCondition) Descriptor

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

func (*CertificateSigningRequestCondition) GetLastUpdateTime

func (*CertificateSigningRequestCondition) GetMessage

func (*CertificateSigningRequestCondition) GetReason

func (*CertificateSigningRequestCondition) GetType

func (*CertificateSigningRequestCondition) Marshal

func (m *CertificateSigningRequestCondition) Marshal() (dAtA []byte, err error)

func (*CertificateSigningRequestCondition) MarshalTo

func (m *CertificateSigningRequestCondition) MarshalTo(dAtA []byte) (int, error)

func (*CertificateSigningRequestCondition) ProtoMessage

func (*CertificateSigningRequestCondition) ProtoMessage()

func (*CertificateSigningRequestCondition) Reset

func (*CertificateSigningRequestCondition) Size

func (*CertificateSigningRequestCondition) String

func (*CertificateSigningRequestCondition) Unmarshal

func (m *CertificateSigningRequestCondition) Unmarshal(dAtA []byte) error

type CertificateSigningRequestList

type CertificateSigningRequestList struct {
	// +optional
	Metadata         *k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	Items            []*CertificateSigningRequest                 `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	XXX_unrecognized []byte                                       `json:"-"`
}

func (*CertificateSigningRequestList) Descriptor

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

func (*CertificateSigningRequestList) GetItems

func (*CertificateSigningRequestList) GetMetadata

func (*CertificateSigningRequestList) Marshal

func (m *CertificateSigningRequestList) Marshal() (dAtA []byte, err error)

func (*CertificateSigningRequestList) MarshalTo

func (m *CertificateSigningRequestList) MarshalTo(dAtA []byte) (int, error)

func (*CertificateSigningRequestList) ProtoMessage

func (*CertificateSigningRequestList) ProtoMessage()

func (*CertificateSigningRequestList) Reset

func (m *CertificateSigningRequestList) Reset()

func (*CertificateSigningRequestList) Size

func (m *CertificateSigningRequestList) Size() (n int)

func (*CertificateSigningRequestList) String

func (*CertificateSigningRequestList) Unmarshal

func (m *CertificateSigningRequestList) Unmarshal(dAtA []byte) error

type CertificateSigningRequestSpec

type CertificateSigningRequestSpec struct {
	// Base64-encoded PKCS#10 CSR data
	Request []byte `protobuf:"bytes,1,opt,name=request" json:"request,omitempty"`
	// allowedUsages specifies a set of usage contexts the key will be
	// valid for.
	// See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3
	//      https://tools.ietf.org/html/rfc5280#section-4.2.1.12
	KeyUsage []string `protobuf:"bytes,5,rep,name=keyUsage" json:"keyUsage,omitempty"`
	// Information about the requesting user.
	// See user.Info interface for details.
	// +optional
	Username *string `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"`
	// UID information about the requesting user.
	// See user.Info interface for details.
	// +optional
	Uid *string `protobuf:"bytes,3,opt,name=uid" json:"uid,omitempty"`
	// Group information about the requesting user.
	// See user.Info interface for details.
	// +optional
	Groups []string `protobuf:"bytes,4,rep,name=groups" json:"groups,omitempty"`
	// Extra information about the requesting user.
	// See user.Info interface for details.
	// +optional
	Extra            map[string]*ExtraValue `` /* 130-byte string literal not displayed */
	XXX_unrecognized []byte                 `json:"-"`
}

This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.

func (*CertificateSigningRequestSpec) Descriptor

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

func (*CertificateSigningRequestSpec) GetExtra

func (m *CertificateSigningRequestSpec) GetExtra() map[string]*ExtraValue

func (*CertificateSigningRequestSpec) GetGroups

func (m *CertificateSigningRequestSpec) GetGroups() []string

func (*CertificateSigningRequestSpec) GetKeyUsage

func (m *CertificateSigningRequestSpec) GetKeyUsage() []string

func (*CertificateSigningRequestSpec) GetRequest

func (m *CertificateSigningRequestSpec) GetRequest() []byte

func (*CertificateSigningRequestSpec) GetUid

func (*CertificateSigningRequestSpec) GetUsername

func (m *CertificateSigningRequestSpec) GetUsername() string

func (*CertificateSigningRequestSpec) Marshal

func (m *CertificateSigningRequestSpec) Marshal() (dAtA []byte, err error)

func (*CertificateSigningRequestSpec) MarshalTo

func (m *CertificateSigningRequestSpec) MarshalTo(dAtA []byte) (int, error)

func (*CertificateSigningRequestSpec) ProtoMessage

func (*CertificateSigningRequestSpec) ProtoMessage()

func (*CertificateSigningRequestSpec) Reset

func (m *CertificateSigningRequestSpec) Reset()

func (*CertificateSigningRequestSpec) Size

func (m *CertificateSigningRequestSpec) Size() (n int)

func (*CertificateSigningRequestSpec) String

func (*CertificateSigningRequestSpec) Unmarshal

func (m *CertificateSigningRequestSpec) Unmarshal(dAtA []byte) error

type CertificateSigningRequestStatus

type CertificateSigningRequestStatus struct {
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []*CertificateSigningRequestCondition `protobuf:"bytes,1,rep,name=conditions" json:"conditions,omitempty"`
	// If request was approved, the controller will place the issued certificate here.
	// +optional
	Certificate      []byte `protobuf:"bytes,2,opt,name=certificate" json:"certificate,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*CertificateSigningRequestStatus) Descriptor

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

func (*CertificateSigningRequestStatus) GetCertificate

func (m *CertificateSigningRequestStatus) GetCertificate() []byte

func (*CertificateSigningRequestStatus) GetConditions

func (*CertificateSigningRequestStatus) Marshal

func (m *CertificateSigningRequestStatus) Marshal() (dAtA []byte, err error)

func (*CertificateSigningRequestStatus) MarshalTo

func (m *CertificateSigningRequestStatus) MarshalTo(dAtA []byte) (int, error)

func (*CertificateSigningRequestStatus) ProtoMessage

func (*CertificateSigningRequestStatus) ProtoMessage()

func (*CertificateSigningRequestStatus) Reset

func (*CertificateSigningRequestStatus) Size

func (m *CertificateSigningRequestStatus) Size() (n int)

func (*CertificateSigningRequestStatus) String

func (*CertificateSigningRequestStatus) Unmarshal

func (m *CertificateSigningRequestStatus) Unmarshal(dAtA []byte) error

type ExtraValue

type ExtraValue struct {
	Items            []string `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

ExtraValue masks the value so protobuf can generate +protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false

func (*ExtraValue) Descriptor

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

func (*ExtraValue) GetItems

func (m *ExtraValue) GetItems() []string

func (*ExtraValue) Marshal

func (m *ExtraValue) Marshal() (dAtA []byte, err error)

func (*ExtraValue) MarshalTo

func (m *ExtraValue) MarshalTo(dAtA []byte) (int, error)

func (*ExtraValue) ProtoMessage

func (*ExtraValue) ProtoMessage()

func (*ExtraValue) Reset

func (m *ExtraValue) Reset()

func (*ExtraValue) Size

func (m *ExtraValue) Size() (n int)

func (*ExtraValue) String

func (m *ExtraValue) String() string

func (*ExtraValue) Unmarshal

func (m *ExtraValue) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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