Documentation ¶
Overview ¶
Package v1 is the v1 version of the API
Index ¶
Constants ¶
const AccessGrantDenied = "denied"
const AccessGrantGranted = "granted"
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: accessrequests.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AccessGrant ¶
type AccessGrant struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AccessGrantSpec `json:"spec"` Status string `json:"status"` }
AccessGrant is a request to a particular API.
func (*AccessGrant) DeepCopy ¶
func (in *AccessGrant) DeepCopy() *AccessGrant
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessGrant.
func (*AccessGrant) DeepCopyInto ¶
func (in *AccessGrant) DeepCopyInto(out *AccessGrant)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessGrant) DeepCopyObject ¶
func (in *AccessGrant) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccessGrantList ¶
type AccessGrantList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []AccessGrant `json:"items"` }
AccessGrantList is a list of AccessGrant resources
func (*AccessGrantList) DeepCopy ¶
func (in *AccessGrantList) DeepCopy() *AccessGrantList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessGrantList.
func (*AccessGrantList) DeepCopyInto ¶
func (in *AccessGrantList) DeepCopyInto(out *AccessGrantList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessGrantList) DeepCopyObject ¶
func (in *AccessGrantList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccessGrantSpec ¶
type AccessGrantSpec struct { GrantedBy *authenticationv1.UserInfo `json:"grantedBy"` GrantFor string `json:"grantFor"` }
AccessGrantSpec specifies what is being requested access to.
func (*AccessGrantSpec) DeepCopy ¶
func (in *AccessGrantSpec) DeepCopy() *AccessGrantSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessGrantSpec.
func (*AccessGrantSpec) DeepCopyInto ¶
func (in *AccessGrantSpec) DeepCopyInto(out *AccessGrantSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessRequest ¶
type AccessRequest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AccessRequestSpec `json:"spec"` }
AccessRequest is a request to a particular API.
func (*AccessRequest) DeepCopy ¶
func (in *AccessRequest) DeepCopy() *AccessRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessRequest.
func (*AccessRequest) DeepCopyInto ¶
func (in *AccessRequest) DeepCopyInto(out *AccessRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessRequest) DeepCopyObject ¶
func (in *AccessRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccessRequestForObject ¶
type AccessRequestForObject struct { Resource metav1.GroupVersionResource `json:"resource"` SubResource string `json:"subResource"` Name string `json:"name"` Namespace string `json:"namespace"` }
func (*AccessRequestForObject) DeepCopy ¶
func (in *AccessRequestForObject) DeepCopy() *AccessRequestForObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessRequestForObject.
func (*AccessRequestForObject) DeepCopyInto ¶
func (in *AccessRequestForObject) DeepCopyInto(out *AccessRequestForObject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessRequestList ¶
type AccessRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []AccessRequest `json:"items"` }
AccessRequestList is a list of AccessRequest resources
func (*AccessRequestList) DeepCopy ¶
func (in *AccessRequestList) DeepCopy() *AccessRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessRequestList.
func (*AccessRequestList) DeepCopyInto ¶
func (in *AccessRequestList) DeepCopyInto(out *AccessRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessRequestList) DeepCopyObject ¶
func (in *AccessRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccessRequestSpec ¶
type AccessRequestSpec struct { UserInfo *authenticationv1.UserInfo `json:"userInfo"` ForObject AccessRequestForObject `json:"forObject"` ValidFor string `json:"validFor,omitempty"` ExecOptions *corev1.PodExecOptions `json:"execOptions"` CustomKeys map[string]string `json:"customKeys"` }
AccessRequestSpec specifies what is being requested access to.
func (*AccessRequestSpec) DeepCopy ¶
func (in *AccessRequestSpec) DeepCopy() *AccessRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessRequestSpec.
func (*AccessRequestSpec) DeepCopyInto ¶
func (in *AccessRequestSpec) DeepCopyInto(out *AccessRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.