Class ProjectOperationsImpl
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.internal.OperationSupport
-
- io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation<T,T>
-
- io.fabric8.kubernetes.client.dsl.internal.BaseOperation<T,L,R>
-
- io.fabric8.kubernetes.client.dsl.internal.HasMetadataOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,io.fabric8.kubernetes.client.dsl.Resource<io.fabric8.openshift.api.model.Project>>
-
- io.fabric8.openshift.client.dsl.internal.project.ProjectOperationsImpl
-
- All Implemented Interfaces:
io.fabric8.kubernetes.client.dsl.AnyNamespaceable<io.fabric8.kubernetes.client.dsl.AnyNamespaceOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,io.fabric8.kubernetes.client.dsl.Resource<io.fabric8.openshift.api.model.Project>>>,io.fabric8.kubernetes.client.dsl.AnyNamespaceOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,io.fabric8.kubernetes.client.dsl.Resource<io.fabric8.openshift.api.model.Project>>,io.fabric8.kubernetes.client.dsl.CreateOrReplaceable<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.Deletable,io.fabric8.kubernetes.client.dsl.DeletableWithOptions,io.fabric8.kubernetes.client.dsl.DryRunable<io.fabric8.kubernetes.client.dsl.WritableOperation<io.fabric8.openshift.api.model.Project>>,io.fabric8.kubernetes.client.dsl.EditReplacePatchable<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.FieldValidateable<io.fabric8.kubernetes.client.dsl.NonDeletingOperation<io.fabric8.openshift.api.model.Project>>,io.fabric8.kubernetes.client.dsl.Filterable<io.fabric8.kubernetes.client.dsl.FilterWatchListDeletable<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,io.fabric8.kubernetes.client.dsl.Resource<io.fabric8.openshift.api.model.Project>>>,io.fabric8.kubernetes.client.dsl.FilterWatchListDeletable<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,io.fabric8.kubernetes.client.dsl.Resource<io.fabric8.openshift.api.model.Project>>,io.fabric8.kubernetes.client.dsl.Gettable<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.Informable<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.InOutCreateable<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.ItemReplacable<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.ItemWritableOperation<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.Listable<io.fabric8.openshift.api.model.ProjectList>,io.fabric8.kubernetes.client.dsl.MixedOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,io.fabric8.kubernetes.client.dsl.Resource<io.fabric8.openshift.api.model.Project>>,io.fabric8.kubernetes.client.dsl.Nameable<io.fabric8.kubernetes.client.dsl.Resource<io.fabric8.openshift.api.model.Project>>,io.fabric8.kubernetes.client.dsl.Namespaceable<io.fabric8.kubernetes.client.dsl.NonNamespaceOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,io.fabric8.kubernetes.client.dsl.Resource<io.fabric8.openshift.api.model.Project>>>,io.fabric8.kubernetes.client.dsl.NonDeletingOperation<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.NonNamespaceOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,io.fabric8.kubernetes.client.dsl.Resource<io.fabric8.openshift.api.model.Project>>,io.fabric8.kubernetes.client.dsl.Replaceable<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.ReplaceDeletable<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.Resource<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.Scalable<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.ServerSideApplicable<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.Timeoutable,io.fabric8.kubernetes.client.dsl.TimeoutableScalable<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.Updatable<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.Waitable<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.Watchable<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.WatchAndWaitable<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.dsl.WritableOperation<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.extension.ExtensibleResource<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.FromServerGettable<io.fabric8.openshift.api.model.Project>,io.fabric8.kubernetes.client.GracePeriodConfigurable<io.fabric8.kubernetes.client.PropagationPolicyConfigurable<? extends io.fabric8.kubernetes.client.dsl.Deletable>>,ListerWatcher<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList>,io.fabric8.kubernetes.client.OperationInfo,io.fabric8.kubernetes.client.PropagationPolicyConfigurable<io.fabric8.kubernetes.client.GracePeriodConfigurable<? extends io.fabric8.kubernetes.client.dsl.Deletable>>,ProjectOperation
public class ProjectOperationsImpl extends HasMetadataOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,io.fabric8.kubernetes.client.dsl.Resource<io.fabric8.openshift.api.model.Project>> implements ProjectOperation
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLUSTER_ROLEstatic StringOPENSHIFT_IO_DESCRIPTION_ANNOTATIONstatic StringOPENSHIFT_IO_DISPLAY_NAME_ANNOTATIONstatic StringOPENSHIFT_IO_REQUESTER_ANNOTATIONstatic StringRBAC_AUTHORIZATION_APIGROUP-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.HasMetadataOperation
DEFAULT_GRACE_PERIOD_IN_SECONDS, DEFAULT_PROPAGATION_POLICY
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.BaseOperation
apiVersion, listType
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation
type
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.OperationSupport
apiGroupName, apiGroupVersion, config, context, dryRun, httpClient, JSON, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, subresource
-
-
Constructor Summary
Constructors Constructor Description ProjectOperationsImpl(io.fabric8.kubernetes.client.Client client)ProjectOperationsImpl(OperationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<io.fabric8.kubernetes.api.model.HasMetadata>createProjectAndRoleBindings(String name, String description, String displayName, String adminUser, String requestingUser)booleanisResourceNamespaced()ProjectOperationsImplnewInstance(OperationContext context)-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.HasMetadataOperation
accept, edit, edit, editStatus, handleReplace, modifyItemForReplaceOrPatch, patch, patch, patch, patch, patch, patchStatus, patchStatus, replace, replaceStatus, scale, scale, scale, update, update, updateStatus, waitUntilScaled
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.BaseOperation
appendListOptionParams, create, createOr, createOrReplace, createOrReplace, delete, delete, delete, deleteAll, dryRun, dryRun, edit, fetchListUrl, fieldManager, fieldValidation, forceConflicts, forOperationType, fromServer, get, getApiEndpointPath, getConfigType, getFieldQueryParam, getGracePeriodSeconds, getGroup, getItem, getItemOrRequireFromServer, getKind, getLimit, getListType, getNonNullItem, getOperationType, getPlural, getPropagationPolicy, getReadiness, getResourceVersion, getVersion, getWatchReconnectInterval, handleCreate, handleDeploymentRollback, handleGet, handlePatch, handleResponse, handleScale, handleUpdate, inAnyNamespace, inform, informOnCondition, inNamespace, inWriteContext, isReady, item, list, list, list, load, load, load, load, lockResourceVersion, lockResourceVersion, newResource, replace, replaceStatus, require, requireFromServer, resource, resources, runnableInformer, serverSideApply, setListType, setType, submitList, submitWatch, subresource, unlock, updateApiVersion, updateListItems, updateStatus, waitUntilCondition, waitUntilReady, watch, watch, watch, withField, withFields, withGracePeriod, withIndexers, withInvolvedObject, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withLabelSelector, withLimit, withName, withNewFilter, withoutField, withoutFields, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersion, withTimeout
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation
create, getType
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.OperationSupport
addNamespacedUrlPathParts, assertResponseCode, checkName, checkNamespace, correctNamespace, createStatus, createStatus, getAPIGroupName, getAPIGroupVersion, getConfig, getKubernetesSerialization, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getOperationContext, getRequestConfig, getResourceT, getResourceUrl, getResourceUrl, getResourceUrl, getResourceURLForPatchOperation, getResourceURLForWriteOperation, getRootUrlParts, handleCreate, handleDelete, handleDeploymentRollback, handleGet, handleMetric, handlePatch, handlePatch, handleRaw, handleRawGet, handleResponse, handleResponse, handleScale, handleUpdate, requestException, requestException, requestFailure, requestFailure, restCall, waitForResult
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.AnyNamespaceOperation
delete, delete, dryRun, dryRun, load, load, load, load, resource
-
Methods inherited from interface io.fabric8.kubernetes.client.extension.ExtensibleResource
withTimeoutInMillis
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Filterable
withField, withFields, withInvolvedObject, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withLabelSelector, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.FilterWatchListDeletable
resources, withNewFilter
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Informable
inform, inform, inform, informOnCondition, runnableInformer
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.ItemReplacable
replace, replaceStatus
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.ItemWritableOperation
create, createOrReplace, delete, patchStatus, updateStatus
-
Methods inherited from interface io.fabric8.kubernetes.client.OperationInfo
getFullResourceName, getName, getNamespace
-
-
-
-
Field Detail
-
OPENSHIFT_IO_DESCRIPTION_ANNOTATION
public static final String OPENSHIFT_IO_DESCRIPTION_ANNOTATION
- See Also:
- Constant Field Values
-
OPENSHIFT_IO_DISPLAY_NAME_ANNOTATION
public static final String OPENSHIFT_IO_DISPLAY_NAME_ANNOTATION
- See Also:
- Constant Field Values
-
OPENSHIFT_IO_REQUESTER_ANNOTATION
public static final String OPENSHIFT_IO_REQUESTER_ANNOTATION
- See Also:
- Constant Field Values
-
RBAC_AUTHORIZATION_APIGROUP
public static final String RBAC_AUTHORIZATION_APIGROUP
- See Also:
- Constant Field Values
-
CLUSTER_ROLE
public static final String CLUSTER_ROLE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProjectOperationsImpl
public ProjectOperationsImpl(io.fabric8.kubernetes.client.Client client)
-
ProjectOperationsImpl
public ProjectOperationsImpl(OperationContext context)
-
-
Method Detail
-
newInstance
public ProjectOperationsImpl newInstance(OperationContext context)
- Overrides:
newInstancein classHasMetadataOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,io.fabric8.kubernetes.client.dsl.Resource<io.fabric8.openshift.api.model.Project>>
-
isResourceNamespaced
public boolean isResourceNamespaced()
- Overrides:
isResourceNamespacedin classBaseOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,io.fabric8.kubernetes.client.dsl.Resource<io.fabric8.openshift.api.model.Project>>
-
createProjectAndRoleBindings
public List<io.fabric8.kubernetes.api.model.HasMetadata> createProjectAndRoleBindings(String name, String description, String displayName, String adminUser, String requestingUser)
- Specified by:
createProjectAndRoleBindingsin interfaceProjectOperation
-
-